Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdWords.v201809.CampaignCriterionService Class Reference

Use this service to manage campaign-level criteria. More...

Inheritance diagram for Google.Api.Ads.AdWords.v201809.CampaignCriterionService:
Google.Api.Ads.AdWords.v201809.ICampaignCriterionService Google.Api.Ads.AdWords.v201809.CampaignCriterionServiceInterface

Public Member Functions

 CampaignCriterionService ()
 Creates a new instance of the CampaignCriterionService class. More...
 
 CampaignCriterionService (string endpointConfigurationName)
 Creates a new instance of the CampaignCriterionService class. More...
 
 CampaignCriterionService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the CampaignCriterionService class. More...
 
 CampaignCriterionService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the CampaignCriterionService class. More...
 
 CampaignCriterionService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the CampaignCriterionService class. More...
 
virtual
Google.Api.Ads.AdWords.v201809.CampaignCriterionPage 
get (Google.Api.Ads.AdWords.v201809.Selector serviceSelector)
 Gets campaign criteria. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.CampaignCriterionPage
getAsync (Google.Api.Ads.AdWords.v201809.Selector serviceSelector)
 
virtual
Google.Api.Ads.AdWords.v201809.CampaignCriterionReturnValue 
mutate (Google.Api.Ads.AdWords.v201809.CampaignCriterionOperation[] operations)
 Adds, removes or updates campaign criteria. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.CampaignCriterionReturnValue
mutateAsync (Google.Api.Ads.AdWords.v201809.CampaignCriterionOperation[] operations)
 
virtual
Google.Api.Ads.AdWords.v201809.CampaignCriterionPage 
query (string query1)
 Returns the list of campaign criteria that match the query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.CampaignCriterionPage
queryAsync (string query)
 

Detailed Description

Use this service to manage campaign-level criteria.

A campaign-level negative criterion prevents the campaign's ads from showing on specific placements, specific keywords, demographics, and so on.

Additionally, the service can be used to target criteria such as location, language, carrier, platform, and so on. The targeting criteria can be added using the Criterion Id listed in the documentation.

Constructor & Destructor Documentation

Google.Api.Ads.AdWords.v201809.CampaignCriterionService.CampaignCriterionService ( )
inline

Creates a new instance of the CampaignCriterionService class.

Google.Api.Ads.AdWords.v201809.CampaignCriterionService.CampaignCriterionService ( string  endpointConfigurationName)
inline

Creates a new instance of the CampaignCriterionService class.

Google.Api.Ads.AdWords.v201809.CampaignCriterionService.CampaignCriterionService ( string  endpointConfigurationName,
string  remoteAddress 
)
inline

Creates a new instance of the CampaignCriterionService class.

Google.Api.Ads.AdWords.v201809.CampaignCriterionService.CampaignCriterionService ( string  endpointConfigurationName,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the CampaignCriterionService class.

Google.Api.Ads.AdWords.v201809.CampaignCriterionService.CampaignCriterionService ( System.ServiceModel.Channels.Binding  binding,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the CampaignCriterionService class.

Member Function Documentation

virtual Google.Api.Ads.AdWords.v201809.CampaignCriterionPage Google.Api.Ads.AdWords.v201809.CampaignCriterionService.get ( Google.Api.Ads.AdWords.v201809.Selector  serviceSelector)
inlinevirtual

Gets campaign criteria.

Parameters
serviceSelectorThe selector specifying the CampaignCriterions to return.
Returns
A list of campaign criteria.
Exceptions
AdWordsApiExceptionwhen there is at least one error with the request.

Implements Google.Api.Ads.AdWords.v201809.CampaignCriterionServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.CampaignCriterionPage> Google.Api.Ads.AdWords.v201809.CampaignCriterionService.getAsync ( Google.Api.Ads.AdWords.v201809.Selector  serviceSelector)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.CampaignCriterionReturnValue Google.Api.Ads.AdWords.v201809.CampaignCriterionService.mutate ( Google.Api.Ads.AdWords.v201809.CampaignCriterionOperation[]  operations)
inlinevirtual

Adds, removes or updates campaign criteria.

Parameters
operationsThe operations to apply.
Returns
The added campaign criteria (without any optional parts).
Exceptions
AdWordsApiExceptionwhen there is at least one error with the request.

Implements Google.Api.Ads.AdWords.v201809.ICampaignCriterionService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.CampaignCriterionReturnValue> Google.Api.Ads.AdWords.v201809.CampaignCriterionService.mutateAsync ( Google.Api.Ads.AdWords.v201809.CampaignCriterionOperation[]  operations)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.CampaignCriterionPage Google.Api.Ads.AdWords.v201809.CampaignCriterionService.query ( string  query1)
inlinevirtual

Returns the list of campaign criteria that match the query.

Parameters
query1The SQL-like AWQL query string.
Returns
A list of campaign criteria.
Exceptions
AdWordsApiExceptionif problems occur while parsing the query or fetching campaign criteria.

Implements Google.Api.Ads.AdWords.v201809.CampaignCriterionServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.CampaignCriterionPage> Google.Api.Ads.AdWords.v201809.CampaignCriterionService.queryAsync ( string  query)
inlinevirtual

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