You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

技术问询:如何获取Twitter Ads企业账户设置的货币代码

How to Retrieve Currency Code for Twitter Ads Business Accounts via API

Hey there! I totally get the frustration of digging through API docs and coming up empty for that one specific field you need. Let me break down exactly where you can pull the currency code for your Twitter Ads business account:

  • Use the Single Account Endpoint: The GET accounts/:account_id endpoint is where you'll find the currency setting. When you make a request to this endpoint, the response payload includes a currency field that holds the 3-letter ISO currency code (like USD, EUR, etc.) configured for the account.

    Here's a quick example of what the relevant part of the response might look like:

    {
      "account": {
        "id": "123456",
        "name": "My Business Account",
        "currency": "USD",
        // other account details...
      }
    }
    
  • Bulk Account Lookup: If you need to fetch currency codes for multiple linked accounts at once, use the GET accounts endpoint. This returns a list of account objects, each with their own currency field.

A quick note: Make sure your API credentials have the ads-read permission enabled—without that, you won't be able to access account-level details like currency settings.

内容的提问来源于stack exchange,提问作者adil hussain

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.25 07:23:02