Name | Modifier & Defaults | Type | Description |
---|---|---|---|
publisher_targeting | Default: Targeting Object with type = ALL and value = [] (empty collection) | Targeting Object (EXCLUDE only) Target values: account_id 's of relevant accounts. | A list of publishers (account_ids) to blacklist from publishing this campaign. See: Publisher Targeting |
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
}
}
The
href
property 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).