Represents an inventory blocking rule, which prevents certain ads from being served to specified ad units.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202102
Field |
|
---|---|
|
The unique ID of the |
|
The name of the |
|
Whether or not the |
|
The targeting information about which AdUnitTargeting objects this rule is in effect for. Any AdUnitTargeting objects included here will have their children included implicitly. Children of a targeted ad unit can be excluded. This attribute is required. |
|
Whether or not this rule blocks all ads from serving other than the labels or advertisers specified. This attribute is optional and defaults to false. |
|
The labels that will be blocked from serving. Any advertiser, order or line item with one of these labels will not serve on the relevant ad units and their children. |
|
The allowed list of labels that will not be blocked by this rule. This trumps the values of isBlockAllLabels and blockedLabelIds. For example, if a rule specifies a blocked label "Cars", and an allowed label "Sports", any ad that is labeled both "Sports" and "Cars" will not be blocked by this rule. |
|
The derived type of this rule: whether it is associated with labels, unified entities, or competitive groups. Because it is derived, it is also read-only, so changes made to this field will not be persisted. Enumerations
|