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

Use this service to manage criteria (such as keywords or placements). A criterion describes the conditions that determine if an ad should display. Two classes of criteria are available: More...

Inheritance diagram for Google.Api.Ads.AdWords.v201809.AdGroupCriterionService:
Google.Api.Ads.AdWords.v201809.IAdGroupCriterionService Google.Api.Ads.AdWords.v201809.AdGroupCriterionServiceInterface

Public Member Functions

 AdGroupCriterionService ()
 Creates a new instance of the AdGroupCriterionService class. More...
 
 AdGroupCriterionService (string endpointConfigurationName)
 Creates a new instance of the AdGroupCriterionService class. More...
 
 AdGroupCriterionService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the AdGroupCriterionService class. More...
 
 AdGroupCriterionService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the AdGroupCriterionService class. More...
 
 AdGroupCriterionService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the AdGroupCriterionService class. More...
 
virtual
Google.Api.Ads.AdWords.v201809.AdGroupCriterionPage 
get (Google.Api.Ads.AdWords.v201809.Selector serviceSelector)
 Gets adgroup criteria. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.AdGroupCriterionPage
getAsync (Google.Api.Ads.AdWords.v201809.Selector serviceSelector)
 
virtual
Google.Api.Ads.AdWords.v201809.AdGroupCriterionReturnValue 
mutate (Google.Api.Ads.AdWords.v201809.AdGroupCriterionOperation[] operations)
 Adds, removes or updates adgroup criteria. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.AdGroupCriterionReturnValue
mutateAsync (Google.Api.Ads.AdWords.v201809.AdGroupCriterionOperation[] operations)
 
virtual
Google.Api.Ads.AdWords.v201809.AdGroupCriterionLabelReturnValue 
mutateLabel (Google.Api.Ads.AdWords.v201809.AdGroupCriterionLabelOperation[] operations)
 Adds labels to the AdGroupCriterion or removes labels from the AdGroupCriterion More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.AdGroupCriterionLabelReturnValue
mutateLabelAsync (Google.Api.Ads.AdWords.v201809.AdGroupCriterionLabelOperation[] operations)
 
virtual
Google.Api.Ads.AdWords.v201809.AdGroupCriterionPage 
query (string query1)
 Returns the list of AdGroupCriterion that match the query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.AdGroupCriterionPage
queryAsync (string query)
 

Detailed Description

Use this service to manage criteria (such as keywords or placements). A criterion describes the conditions that determine if an ad should display. Two classes of criteria are available:

  • A biddable criterion defines conditions that will cause the parent ad group's ads to display. A biddable criterion can also specify a bid amount that overrides the parent ad group's default bid.
  • A negative criterion defines conditions that will prevent the parent ad group's ads from displaying.

Constructor & Destructor Documentation

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

Creates a new instance of the AdGroupCriterionService class.

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

Creates a new instance of the AdGroupCriterionService class.

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

Creates a new instance of the AdGroupCriterionService class.

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

Creates a new instance of the AdGroupCriterionService class.

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

Creates a new instance of the AdGroupCriterionService class.

Member Function Documentation

virtual Google.Api.Ads.AdWords.v201809.AdGroupCriterionPage Google.Api.Ads.AdWords.v201809.AdGroupCriterionService.get ( Google.Api.Ads.AdWords.v201809.Selector  serviceSelector)
inlinevirtual

Gets adgroup criteria.

Parameters
serviceSelectorfilters the adgroup criteria to be returned.
Returns
a page (subset) view of the criteria selected
Exceptions
AdWordsApiExceptionwhen there is at least one error with the request

Implements Google.Api.Ads.AdWords.v201809.AdGroupCriterionServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.AdGroupCriterionPage> Google.Api.Ads.AdWords.v201809.AdGroupCriterionService.getAsync ( Google.Api.Ads.AdWords.v201809.Selector  serviceSelector)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.AdGroupCriterionReturnValue Google.Api.Ads.AdWords.v201809.AdGroupCriterionService.mutate ( Google.Api.Ads.AdWords.v201809.AdGroupCriterionOperation[]  operations)
inlinevirtual

Adds, removes or updates adgroup criteria.

Parameters
operationsoperations to do during checks on keywords to be added.
Returns
added and updated adgroup criteria (without optional parts)
Exceptions
AdWordsApiExceptionwhen there is at least one error with the request

Implements Google.Api.Ads.AdWords.v201809.IAdGroupCriterionService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.AdGroupCriterionReturnValue> Google.Api.Ads.AdWords.v201809.AdGroupCriterionService.mutateAsync ( Google.Api.Ads.AdWords.v201809.AdGroupCriterionOperation[]  operations)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.AdGroupCriterionLabelReturnValue Google.Api.Ads.AdWords.v201809.AdGroupCriterionService.mutateLabel ( Google.Api.Ads.AdWords.v201809.AdGroupCriterionLabelOperation[]  operations)
inlinevirtual

Adds labels to the AdGroupCriterion or removes labels from the AdGroupCriterion

Add - Apply an existing label to an existing ad group criterion. The adGroupId and criterionId must reference an existing ad group criterion. The labelId must reference an existing label.

Remove - Removes the link between the specified ad group criterion and label.

Parameters
operationsthe operations to apply
Returns
a list of AdGroupCriterionLabel where each entry in the list is the result of applying the operation in the input list with the same index. For an add operation, the returned AdGroupCriterionLabel contains the AdGroupId, CriterionId and the LabelId. In the case of a remove operation, the returned AdGroupCriterionLabel will only have AdGroupId and CriterionId.
Exceptions
AdWordsApiExceptionwhen there are one or more errors with the request

Implements Google.Api.Ads.AdWords.v201809.IAdGroupCriterionService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.AdGroupCriterionLabelReturnValue> Google.Api.Ads.AdWords.v201809.AdGroupCriterionService.mutateLabelAsync ( Google.Api.Ads.AdWords.v201809.AdGroupCriterionLabelOperation[]  operations)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.AdGroupCriterionPage Google.Api.Ads.AdWords.v201809.AdGroupCriterionService.query ( string  query1)
inlinevirtual

Returns the list of AdGroupCriterion that match the query.

Parameters
query1The SQL-like AWQL query string
Returns
s A list of AdGroupCriterion
Exceptions
AdWordsApiExceptionwhen the query is invalid or there are errors processing the request.

Implements Google.Api.Ads.AdWords.v201809.AdGroupCriterionServiceInterface.

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

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