Browse the help center

Switch advertisers on or off

Sets the active status of up to 500 advertisers in one call.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/advertisers/status.do

Sets the active status of up to 500 advertisers in one call. Advertisers already in the requested state are skipped as 'unchanged', deleted or unknown ids as 'deleted' / 'not-found'; the response lists changed ids and skipped {id, reason} pairs. The batch is all-or-nothing on permissions: without MANAGE_ADVERTISERS_ACTIVE_STATUS, or if any advertiser is outside the caller's UPDATE share, nothing changes. Each switched advertiser sends the same activated / deactivated notification as a single update.

Form Params

ids array<integer> required

Advertiser IDs to switch, 1 to 500

1001

active boolean required

true to switch the advertisers on, false to switch them off

true

Responses

200

Batch applied

400

No ids, or more than 500

401

Authentication error

403

Not enough permissions for the whole batch

404

None of the ids names an existing advertiser

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.