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.
Response fields by status. 201: campaign_id, list_id, name, mode, domain_count, applied_to_dsp. 403: error, required_scopes, endpoint.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400mode is not include or exclude, or domains is empty.
401Missing or invalid authentication.
404Campaign not found, or not in the key's organization.
409The campaign is archived, so it cannot be changed. Also returned, as plain text, for a campaign another ad platform runs (runs_on is not delivr). Make the change on that platform.
502DelivrDSP did not accept the list. Nothing changed; try again.
