Set domain list

Set the domains a campaign serves on (include) or never serves on (exclude). The list replaces the campaign's previous one.

Needs the campaigns:write scope, like every campaign write.

On a draft the list is kept and applied at launch. On a launched campaign it is applied at DelivrDSP first and stored only once DelivrDSP accepts it.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Campaign ID (UUID).

Body Params
domains
array of strings
required

Domains, deduplicated and lowercased on save.

domains*
string
enum
required
Allowed:
Responses

400

mode is not include or exclude, or domains is empty.

401

Missing or invalid authentication.

404

Campaign not found, or not in the key's organization.

409

The campaign is archived, so it cannot be changed.

502

DelivrDSP did not accept the list. Nothing changed; try again.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json