Saltar para o conteúdo principal
POST
Create an ad watch

Autorizações

Authorization
string
header
obrigatório

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

Corpo

application/json
name
string
obrigatório
platform
enum<string>
obrigatório

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

Opções disponíveis:
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.

Exemplo:
maxAds
integer
padrão:200

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

Intervalo necessário: 1 <= x <= 1000
intervalHours
integer
padrão:24
stopAfterRuns
integer
padrão:2
Intervalo necessário: 1 <= x <= 10
archiveMedia
boolean
padrão: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.

Resposta

Ad watch created and scheduled.

success
boolean
obrigatório
data
object
obrigatório