Skip to main content
PATCH
Update an ad watch

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Watch id from GET /v1/ad-watches.

Body

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
Required range: 1 <= x <= 1000
stopAfterRuns
integer
Required range: 1 <= x <= 10
archiveMedia
boolean
webhookUrl
string<uri> | null

null turns events off.

Response

The updated watch.

success
boolean
required
data
object
required