Name | Modifier & Defaults | Type | Description |
|---|---|---|---|
publisher_targeting | Default: | Targeting Object (EXCLUDE only) | A list of publishers (account_ids) to blacklist from publishing this campaign. |
The publisher_targeting field is updated directly via the campaigns endpoint - and the targeted collection is stored directly in the value property.
Campaign Object:
{
// other Campaign fields...
"publisher_targeting": {
"type": "ALL",
"value": [],
"href": null
}
}{
// other Campaign fields...
"publisher_targeting": {
"type": "EXCLUDE",
"value": [
"taboola-demo-publisher"
],
"href": null
}
}
Thehrefproperty is alwaysnull.
Use the campaigns endpoint to update publisher targeting. (This method overwrites any existing values.) See: Publisher Targeting Flow.
Alternatively, you can patch the existing targeting (without re-submitting the entire collection).
