Passer au contenu principal
POST
Create an ad watch

Autorisations

Authorization
string
header
requis

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

Corps

application/json
name
string
requis
platform
enum<string>
requis

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

Options disponibles:
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.

Exemple:
maxAds
integer
défaut:200

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

Plage requise: 1 <= x <= 1000
intervalHours
integer
défaut:24
stopAfterRuns
integer
défaut:2
Plage requise: 1 <= x <= 10
archiveMedia
boolean
défaut: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.

Réponse

Ad watch created and scheduled.

success
boolean
requis
data
object
requis