← 返回目录
📁 API Reference › BC Reporting

获取广告账户的币种和注册地区

您可以使用本接口获取商务中心内广告账户的币种和注册地区。

您可将返回的币种和注册地区传给商务中心报表中的筛选字段registered_area和currency_of_account。

请求

地址 https://business-api.tiktok.com/open_api/v1.3/bc/advertiser/attribute/

方法 GET

Header

|字段{30%}|类型{15%}|描述{55%}|
|---|---|---|
|Access-Token {必填}|string|授权访问令牌。可以通过[获取访问令牌](https://ads.tiktok.com/marketing_api/docs?id=1738373164380162)接口获取。|

参数

|字段{30%}|类型{15%}|描述{55%}|
|---|---|---|
| bc_id {必填} | string | 商务中心 ID。 <br><br>若想获取您有权访问的商务中心列表,请使用[/bc/get/](1737115687501826.html)。 |

示例

(code curl http)
curl --location --request GET 'https://business-api.tiktok.com/open_api/v1.3/bc/advertiser/attribute/?bc_id={{bc_id}}' \
--header 'Access-Token: {{Access-Token}}' \
(/code)

返回

|字段{30%}|类型{15%}|描述{55%}|
|---|---|---|
|code |number| 返回码。完整返回码列表及描述,参见 [附录 - 返回码](https://ads.tiktok.com/marketing_api/docs?id=1737172488964097)。|
|message |string| 返回信息。更多信息参见 [附录 - 返回码](https://ads.tiktok.com/marketing_api/docs?id=1737172488964097)。 |
|request_id |string| 请求的日志ID,唯一标识一个请求。 |
|data |object| 返回数据。 |
#| currencies | string[] | 该商务中心内广告账户的注册地对应的地区代码。<br><br>示例: `["USD"]` |
#| region_codes | string[] | 该商务中心内广告账户对应的币种代码。 <br><br>示例: `["US", "BR"]` |

示例

(code Success-Response http)
HTTPS/1.1 200 OK
{
    "code": 0,
    "message": "OK",
    "request_id": "{{request_id}}",
    "data": {
        "region_codes": [
            "AU",
            "AE",
            "AF",
            "JP",
            "BR",
            "US",
            "AD",
            "FR"
        ],
        "currencies": [
            "USD"
        ]
    }
}
(/code)

内容来源:TikTok API for Business 官方文档 · 本地归档

在接这个接口时卡住了?
Stuck wiring this API into production? We build ad-delivery tooling on these platforms — campaign automation, reporting pipelines, error-handling and migration between API versions.
联系我们 · Talk to us 每日平台更新简报 →