TikTok-Ads-API

获取支持的国家地区列表/Get supported location list

Changed on

[中文]

用途:

  • 获取TikTok Creative Center 支持的国家/地区列表
  • 可用于其他接口 country_code 参数的取值参考

参数:

  • cookie: 自定义Cookie字符串,可选参数,可以使用自己的Cookie来获取更多数据

返回内容说明:

  • country: 国家/地区列表,每项包含:
    • id: 国家/地区代码 (如 US、JP)
    • value: 国家/地区名称 (如 United States)
    • label: 显示标签

[English]

Purpose:

  • Get the list of countries/regions supported by TikTok Creative Center
  • Useful as a reference for the country_code parameter of other endpoints

Parameters:

  • cookie: Custom Cookie string, optional parameter, you can use your own Cookie to get more data

Return Description:

  • country: Country/region list, each item contains:
    • id: Country/region code (e.g. US, JP)
    • value: Country/region name (e.g. United States)
    • label: Display label
post/api/v1/tiktok/ads/get_location_list

Request

  • Base URL
    https://api.tikhub.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

string required

自定义Cookie字符串(可选)/Custom Cookie string (optional)

Response

Successful Response

codeinteger

HTTP status code | HTTP状态码

request_idstring nullable

Unique request identifier | 唯一请求标识符

messagestring

Response message (EN-US) | 响应消息 (English)

message_zhstring

Response message (ZH-CN) | 响应消息 (中文)

supportstring

Support message | 支持消息

timestring

The time the response was generated | 生成响应的时间

time_stampinteger

The timestamp the response was generated | 生成响应的时间戳

time_zonestring

The timezone of the response time | 响应时间的时区

docsstring nullable

Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接

cache_messagestring nullable

Cache message (EN-US) | 缓存消息 (English)

cache_message_zhstring nullable

Cache message (ZH-CN) | 缓存消息 (中文)

cache_urlstring nullable

The URL to access the cached result | 访问缓存结果的 URL

routerstring

The endpoint that generated this response | 生成此响应的端点

paramsunknown
dataunknown

Changes