Audiences
API reference contents
目标受众
GET accounts/:account_id/custom_audiences/:custom_audience_id/targeted¶
检索针对给定 custom_audience_id
的活动或所有行项目和广告活动的列表
名称 | 说明 |
---|---|
account_id 必需 |
所使用账号的标识符。出现在资源路径中,通常是所有广告商 API 请求的必要参数,不包含 GET accounts。指定账号必须与已验证的用户关联。 类型:string 示例: |
custom_audience_id 必需 |
请求中对正在操作的自定义受众的引用。 类型:string 示例: |
with_active 可选 |
如果为 类型:boolean 默认值: true 可能值: true 、false |
cursor 可选 |
指定光标以获取下一页结果。参阅分页了解更多信息。 类型:string 示例: 8x7v00oow |
请求示例¶
GET https://ads-api.twitter.com/10/accounts/18ce54d4x5t/custom_audiences/2906h/targeted
响应示例¶
{
"request": {
"params": {
"account_id": "18ce54d4x5t",
"custom_audience_id": "2906h",
}
},
"next_cursor": null,
"data": [
{
"campaign_id": "59hod",
"campaign_name": "test-campaign",
"line_items": [
{
"id": "5gzog",
"name": "test-line-item",
"servable": true
}
]
},
{
"campaign_id": "arja7",
"campaign_name": "Untitled campaign",
"line_items": [
{
"id": "bjw1q",
"name": null,
"servable": true
}
]
}
]
}