Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202108.AdExclusionRuleService Class Reference

Provides methods for creating, updating and retrieving AdExclusionRule objects. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202108.AdExclusionRuleService:
Google.Api.Ads.AdManager.v202108.IAdExclusionRuleService Google.Api.Ads.AdManager.v202108.AdExclusionRuleServiceInterface

Public Member Functions

 AdExclusionRuleService ()
 Creates a new instance of the AdExclusionRuleService class. More...
 
 AdExclusionRuleService (string endpointConfigurationName)
 Creates a new instance of the AdExclusionRuleService class. More...
 
 AdExclusionRuleService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the AdExclusionRuleService class. More...
 
 AdExclusionRuleService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the AdExclusionRuleService class. More...
 
 AdExclusionRuleService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the AdExclusionRuleService class. More...
 
virtual
Google.Api.Ads.AdManager.v202108.AdExclusionRule[] 
createAdExclusionRules (Google.Api.Ads.AdManager.v202108.AdExclusionRule[] adExclusionRules)
 Creates new AdExclusionRule objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202108.AdExclusionRule[]> 
createAdExclusionRulesAsync (Google.Api.Ads.AdManager.v202108.AdExclusionRule[] adExclusionRules)
 
virtual
Google.Api.Ads.AdManager.v202108.AdExclusionRulePage 
getAdExclusionRulesByStatement (Google.Api.Ads.AdManager.v202108.Statement filterStatement)
 Gets a AdExclusionRulePage of AdExclusionRule objects that satisfy the given Statement::query. The following fields are supported for filtering: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202108.AdExclusionRulePage
getAdExclusionRulesByStatementAsync (Google.Api.Ads.AdManager.v202108.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202108.UpdateResult 
performAdExclusionRuleAction (Google.Api.Ads.AdManager.v202108.AdExclusionRuleAction adExclusionRuleAction, Google.Api.Ads.AdManager.v202108.Statement filterStatement)
 Performs action on AdExclusionRule objects that satisfy the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202108.UpdateResult
performAdExclusionRuleActionAsync (Google.Api.Ads.AdManager.v202108.AdExclusionRuleAction adExclusionRuleAction, Google.Api.Ads.AdManager.v202108.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202108.AdExclusionRule[] 
updateAdExclusionRules (Google.Api.Ads.AdManager.v202108.AdExclusionRule[] adExclusionRules)
 Updates the specified AdExclusionRule objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202108.AdExclusionRule[]> 
updateAdExclusionRulesAsync (Google.Api.Ads.AdManager.v202108.AdExclusionRule[] adExclusionRules)
 

Detailed Description

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.

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.AdExclusionRuleService ( )
inline

Creates a new instance of the AdExclusionRuleService class.

Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.AdExclusionRuleService ( string  endpointConfigurationName)
inline

Creates a new instance of the AdExclusionRuleService class.

Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.AdExclusionRuleService ( string  endpointConfigurationName,
string  remoteAddress 
)
inline

Creates a new instance of the AdExclusionRuleService class.

Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.AdExclusionRuleService ( string  endpointConfigurationName,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the AdExclusionRuleService class.

Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.AdExclusionRuleService ( System.ServiceModel.Channels.Binding  binding,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the AdExclusionRuleService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202108.AdExclusionRule [] Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.createAdExclusionRules ( Google.Api.Ads.AdManager.v202108.AdExclusionRule[]  adExclusionRules)
inlinevirtual

Creates new AdExclusionRule objects.

Parameters
adExclusionRulesthe ad exclusion rules to create
Returns
the created rules with their IDs filled in

Implements Google.Api.Ads.AdManager.v202108.IAdExclusionRuleService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202108.AdExclusionRule[]> Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.createAdExclusionRulesAsync ( Google.Api.Ads.AdManager.v202108.AdExclusionRule[]  adExclusionRules)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202108.AdExclusionRulePage Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.getAdExclusionRulesByStatement ( Google.Api.Ads.AdManager.v202108.Statement  filterStatement)
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
Parameters
filterStatementa Publisher Query Language statement used to filter a set of rules
Returns
the rules that match the given filter

Implements Google.Api.Ads.AdManager.v202108.AdExclusionRuleServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202108.AdExclusionRulePage> Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.getAdExclusionRulesByStatementAsync ( Google.Api.Ads.AdManager.v202108.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202108.UpdateResult Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.performAdExclusionRuleAction ( Google.Api.Ads.AdManager.v202108.AdExclusionRuleAction  adExclusionRuleAction,
Google.Api.Ads.AdManager.v202108.Statement  filterStatement 
)
inlinevirtual

Performs action on AdExclusionRule objects that satisfy the given Statement::query.

Parameters
adExclusionRuleActionthe action to perform
filterStatementa Publisher Query Language statement used to filter a set of ad exclusion rules
Returns
the result of the action performed

Implements Google.Api.Ads.AdManager.v202108.AdExclusionRuleServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202108.UpdateResult> Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.performAdExclusionRuleActionAsync ( Google.Api.Ads.AdManager.v202108.AdExclusionRuleAction  adExclusionRuleAction,
Google.Api.Ads.AdManager.v202108.Statement  filterStatement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202108.AdExclusionRule [] Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.updateAdExclusionRules ( Google.Api.Ads.AdManager.v202108.AdExclusionRule[]  adExclusionRules)
inlinevirtual

Updates the specified AdExclusionRule objects.

Parameters
adExclusionRulesthe ad exclusion rules to update
Returns
the updated rules

Implements Google.Api.Ads.AdManager.v202108.IAdExclusionRuleService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202108.AdExclusionRule[]> Google.Api.Ads.AdManager.v202108.AdExclusionRuleService.updateAdExclusionRulesAsync ( Google.Api.Ads.AdManager.v202108.AdExclusionRule[]  adExclusionRules)
inlinevirtual

The documentation for this class was generated from the following file: