Saltar para o conteúdo principal
PATCH
Update an ad watch

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

id
string
obrigatório

Watch id from GET /v1/ad-watches.

Corpo

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
Intervalo necessário: 1 <= x <= 1000
stopAfterRuns
integer
Intervalo necessário: 1 <= x <= 10
archiveMedia
boolean
webhookUrl
string<uri> | null

null turns events off.

Resposta

The updated watch.

success
boolean
obrigatório
data
object
obrigatório