Passer au contenu principal
PATCH
Update an ad watch

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

id
string
requis

Watch id from GET /v1/ad-watches.

Corps

application/json

Any subset of these fields. platform and search are fixed; create a new watch to change them.

name
string
enabled
boolean
maxAds
integer
Plage requise: 1 <= x <= 1000
stopAfterRuns
integer
Plage requise: 1 <= x <= 10
archiveMedia
boolean
webhookUrl
string<uri> | null

null turns events off.

Réponse

The updated watch.

success
boolean
requis
data
object
requis