document
API test
GET
/ads/list?targeting_id=xxxxxx&is_you=0&platform=google

Request Header

parameter
type
description
required
token
required

Request Parameters

parameter
type
description
required
targeting_id
string
按targeting_id过滤,为空表示全部
optional
is_you
int
1表示you
optional

Response Parameters

parameter
type
description
required
code
int
200
required
message
string
required
data
object
required
id
string
ads id
required
name
string
ads name
required
img
string
缩略图
required
personas
array
required
pool
enum
waiting/runing/tesing/draft/deleted/ready
required
status
int
required
targeting_id
string
required
platform
string
草稿装填的,取platforms数组字段
required
platforms
array
非草稿状态,只有一个值,草稿状态可能多值
required

Description or Example

``` { "code": 200, "data": [ { "cost": 0.0, "id": "9GXVKJr3ggtQEVJGRRWmAn", "img": "https://dashboard.cactivate.com/upload/1_QNHqK7vsjoSVQdbsjt2ssB.png", "name": "222222", "platform": "facebook", "platforms": [ "facebook" ], "type": "carousel", #video/image/imported "pool": "waiting", "status": 0, "targeting": { "id": "2WEh2t3QLqL5QShQwUfdaW", "gender": 1, "location": [ {"key": "US", "name": "American"} ] }, "persona": {"id": "xxxx", "name": "persona_name"}, "content": { "headline": "headline", "primary_text": "primary_text", "action": "Action" }, "is_single": 0, "is_you": 0, "objective": [] #只有is_you=1才有 }, { "cost": 0.0, "id": "hEJ8GNbgEfibZxZ2j9qAAH", "img": "https://cactivate-web.s3.amazonaws.com/upload/1_iFrXmzSxYnhYeNrcXLrb8D.png", "name": "abcc", "platform": "facebook", "platforms": [ "facebook" ], "pool": "waiting", "status": 0, "type": "image", "targeting": { "id": "2WEh2t3QLqL5QShQwUfdaW", "gender": 1, "location": [ {"key": "US", "name": "American"} ] }, "persona": {"id": "xxxx", "name": "persona_name"}, "content": { "headline": "headline", "primary_text": "primary_text", "action": "Action" }, "is_you": 0, "objective": [] }, { "cost": 0.0, "id": "LNtwLBgAcvzmdJA5wLpfdy", "img": "https://dashboard.cactivate.com/upload/1_QNHqK7vsjoSVQdbsjt2ssB.png", "name": "2222221111", "platform": "facebook", "platforms": [ "facebook" ], "pool": "waiting", "status": 0, "type": "carousel", "targeting": { "id": "2WEh2t3QLqL5QShQwUfdaW", "gender": 1, "location": [ {"key": "US", "name": "American"} ] }, "persona": {"id": "xxxx", "name": "persona_name"}, "content": { "headline": "headline", "primary_text": "primary_text", "action": "Action" }, "is_you": 0, "objective": [] }, { "cost": 0, "id": "QpjTvYQEhhYAtc59evw5YR", "img": "https://dashboard.cactivate.com/upload/1011_S7vw6HBRoVrGrLit6siLSU.jpg", "name": "card1 (12_01_22)", "platforms": [ "facebook" ], "pool": "draft", "status": 0, "type": "carousel", "targeting": null, "persona": null, "content": null, }, { "cost": 0, "id": "23DENYYAwPksGJdJCYNyyg", "img": "https://dashboard.cactivate.com/upload/1011_S7vw6HBRoVrGrLit6siLSU.jpg", "name": "card2 (12_01_22)", "platforms": [ "facebook" ], "pool": "draft", "status": 0, "type": "image", "targeting": { "id": "2WEh2t3QLqL5QShQwUfdaW", "gender": 1, "location": [ {"key": "US", "name": "American"} ] }, "persona": {"id": "xxxx", "name": "persona_name"}, "content": { "headline": "headline", "primary_text": "primary_text", "action": "Action" }, "is_you": 0 } ], "error": false, "message": "", "prod": false, "redirect": "", "version": "v1" } ```