Represents an inventory blocking rule, which prevents certain ads from being served to specified ad units.
More...
|
long | id [get, set] |
| The unique ID of the More...
|
|
bool | idSpecified [get, set] |
|
string | name [get, set] |
| The name of the More...
|
|
bool | isActive [get, set] |
| Whether or not the More...
|
|
bool | isActiveSpecified [get, set] |
|
InventoryTargeting | inventoryTargeting [get, set] |
| 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. More...
|
|
bool | isBlockAll [get, set] |
| 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. More...
|
|
bool | isBlockAllSpecified [get, set] |
|
long[] | blockedLabelIds [get, set] |
| 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. More...
|
|
long[] | allowedLabelIds [get, set] |
| 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. More...
|
|
AdExclusionRuleType | type [get, set] |
| 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. More...
|
|
bool | typeSpecified [get, set] |
|
Represents an inventory blocking rule, which prevents certain ads from being served to specified ad units.
long [] Google.Api.Ads.AdManager.v202111.AdExclusionRule.allowedLabelIds |
|
getset |
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.
long [] Google.Api.Ads.AdManager.v202111.AdExclusionRule.blockedLabelIds |
|
getset |
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.
long Google.Api.Ads.AdManager.v202111.AdExclusionRule.id |
|
getset |
bool Google.Api.Ads.AdManager.v202111.AdExclusionRule.idSpecified |
|
getset |
true
, if a value is specified for id, false
otherwise.
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.
bool Google.Api.Ads.AdManager.v202111.AdExclusionRule.isActive |
|
getset |
Whether or not the
AdExclusionRule
is active. An inactive rule will have no effect on adserving. This attribute is readonly.
bool Google.Api.Ads.AdManager.v202111.AdExclusionRule.isActiveSpecified |
|
getset |
true
, if a value is specified for isActive, false
otherwise.
bool Google.Api.Ads.AdManager.v202111.AdExclusionRule.isBlockAll |
|
getset |
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.
bool Google.Api.Ads.AdManager.v202111.AdExclusionRule.isBlockAllSpecified |
|
getset |
true
, if a value is specified for isBlockAll, false
otherwise.
string Google.Api.Ads.AdManager.v202111.AdExclusionRule.name |
|
getset |
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.
bool Google.Api.Ads.AdManager.v202111.AdExclusionRule.typeSpecified |
|
getset |
true
, if a value is specified for type, false
otherwise.
The documentation for this class was generated from the following file: