Ads API .NET library
|
Provides methods for creating, updating and retrieving AdExclusionRule objects. More...
Provides methods for creating, updating and retrieving AdExclusionRule objects.
An AdExclusionRule provides a way to block specified ads from showing on portions of your site. Each rule specifies the inventory on which the rule is in effect, and the labels to block on that inventory.
|
inline |
Creates a new instance of the AdExclusionRuleService class.
|
inline |
Creates a new instance of the AdExclusionRuleService class.
|
inline |
Creates a new instance of the AdExclusionRuleService class.
|
inline |
Creates a new instance of the AdExclusionRuleService class.
|
inline |
Creates a new instance of the AdExclusionRuleService class.
|
inlinevirtual |
Creates new AdExclusionRule objects.
adExclusionRules | the ad exclusion rules to create |
Implements Google.Api.Ads.AdManager.v202108.IAdExclusionRuleService.
|
inlinevirtual |
|
inlinevirtual |
Gets a AdExclusionRulePage of AdExclusionRule objects that satisfy the given Statement::query. The following fields are supported for filtering:
PQL Property | Object Property |
---|---|
id | AdExclusionRule::id |
name | AdExclusionRule::name |
status | AdExclusionRule::status |
filterStatement | a Publisher Query Language statement used to filter a set of rules |
Implements Google.Api.Ads.AdManager.v202108.AdExclusionRuleServiceInterface.
|
inlinevirtual |
|
inlinevirtual |
Performs action on AdExclusionRule objects that satisfy the given Statement::query.
adExclusionRuleAction | the action to perform |
filterStatement | a Publisher Query Language statement used to filter a set of ad exclusion rules |
Implements Google.Api.Ads.AdManager.v202108.AdExclusionRuleServiceInterface.
|
inlinevirtual |
|
inlinevirtual |
Updates the specified AdExclusionRule objects.
adExclusionRules | the ad exclusion rules to update |
Implements Google.Api.Ads.AdManager.v202108.IAdExclusionRuleService.
|
inlinevirtual |