Blocklist JSON Fields
Property | Description | Type | Optional on Creation? | Ignored on Update? |
---|---|---|---|---|
publisher-id | The id of the publisher to which the blocking rule applies. This can be set only when asite is created. | Integer | Yes But at least one publisher-id, site-id, or zone-id needs to be provided. | Yes |
site-id | The id of the site to which the blocking rule applies. This can be set only when a site is created. | Integer | Yes But at least one publisher-id, site-id, or zone-id needs to be provided. | Yes |
zone-id | The id of the zone to which the blocking rule applies. This can be set only when a site is created. | Integer | Yes But at least one publisher-id, site-id, or zone-id needs to be provided. | Yes |
target-type | The blocking rule target type. Possible values are:
In case the type is campaign, the blocking rule will be associated with an expiry date automatically defined to 10 days in the future. | String | No | Yes |
target-id | The id of the object of the type target-type to which the blocking rule applies. | Integer | No | Yes |
target-action | The blocking rule action. Possible values are:
| String | No | No |
priority | The blocking rule priority within a scope (publisher-id, site-id, zone-id combination). The highest values are applied first. | Integer | No | No |