跳转到主要内容
POST
Create an ad watch

授权

Authorization
string
header
必填

Your API key, sent as Authorization: Bearer <key>.

请求体

application/json
name
string
必填
platform
enum<string>
必填

The ad library a watch reads. tiktok_creative_center is a ranked sample of top ads and is rejected with 400 VALIDATION_ERROR.

可用选项:
meta_ad_library,
google_ads_transparency,
linkedin_ad_library,
tiktok_ad_library

The ADS search fields of the watch platform, such as pageId, pageIds, advertiserId, advertiserIds, domain, query, advertiserName, payer, country, mediaType, publisherPlatforms and startDate, and details: true to read each ad's detail. The watch sets action, limit and cursor itself, and sets activeStatus to active on Meta and TikTok. Fixed for the life of the watch.

示例:
maxAds
integer
默认值:200

The most ads one run reads. A library that lists fewer ends the run earlier.

必填范围: 1 <= x <= 1000
intervalHours
integer
默认值:24
stopAfterRuns
integer
默认值:2
必填范围: 1 <= x <= 10
archiveMedia
boolean
默认值:true
webhookUrl
string<uri>

An HTTPS URL on a public host that receives events. Set it with an API key: deliveries are signed with the key that sets it.

响应

Ad watch created and scheduled.

success
boolean
必填
data
object
必填