Blocklist

Blocklist JSON Fields

PropertyDescriptionTypeOptional on Creation?Ignored on Update?
publisher-idThe id of the publisher to which the blocking rule applies. This can be set only when asite is created.IntegerYes

But at least one publisher-id, site-id, or zone-id needs to be provided.
Yes
site-idThe id of the site to which the blocking rule applies. This can be set only when a site is created.IntegerYes

But at least one publisher-id, site-id, or zone-id needs to be provided.
Yes
zone-idThe id of the zone to which the blocking rule applies. This can be set only when a site is created.IntegerYes

But at least one publisher-id, site-id, or zone-id needs to be provided.
Yes
target-typeThe blocking rule target type.

Possible values are:

  • campaign

  • brand

  • advertiser

  • product-category



In case the type is campaign, the blocking rule will be associated with an expiry date automatically defined to 10 days in the future.
StringNoYes
target-idThe id of the object of the type target-type to which the blocking rule applies.IntegerNoYes
target-actionThe blocking rule action.

Possible values are:

  • accept

  • reject

StringNoNo
priorityThe blocking rule priority within a scope (publisher-id, site-id, zone-id combination). The highest values are applied first.IntegerNoNo