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

A service which is used to manage custom affinity audience. More...

Inheritance diagram for Google.Api.Ads.AdWords.v201809.CustomAffinityService:
Google.Api.Ads.AdWords.v201809.ICustomAffinityService Google.Api.Ads.AdWords.v201809.CustomAffinityServiceInterface

Public Member Functions

 CustomAffinityService ()
 Creates a new instance of the CustomAffinityService class. More...
 
 CustomAffinityService (string endpointConfigurationName)
 Creates a new instance of the CustomAffinityService class. More...
 
 CustomAffinityService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the CustomAffinityService class. More...
 
 CustomAffinityService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the CustomAffinityService class. More...
 
 CustomAffinityService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the CustomAffinityService class. More...
 
virtual
Google.Api.Ads.AdWords.v201809.CustomAffinityPage 
get (Google.Api.Ads.AdWords.v201809.Selector serviceSelector)
 Provides the ability to get one or more custom affinity audience with the ability to filter based various criteria. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.CustomAffinityPage
getAsync (Google.Api.Ads.AdWords.v201809.Selector serviceSelector)
 
virtual
Google.Api.Ads.AdWords.v201809.CustomAffinity[] 
mutate (Google.Api.Ads.AdWords.v201809.CustomAffinityOperation[] operations)
 Applies a list of mutate operations (i.e. add, set) to custom affinity audience: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.CustomAffinity[]> 
mutateAsync (Google.Api.Ads.AdWords.v201809.CustomAffinityOperation[] operations)
 
virtual
Google.Api.Ads.AdWords.v201809.CustomAffinityToken[] 
mutateToken (Google.Api.Ads.AdWords.v201809.CustomAffinityTokenOperation[] operations)
 Applies a list of mutate operations (i.e. add, remove) to custom affinity tokens: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.CustomAffinityToken[]> 
mutateTokenAsync (Google.Api.Ads.AdWords.v201809.CustomAffinityTokenOperation[] operations)
 
virtual
Google.Api.Ads.AdWords.v201809.CustomAffinityPage 
query (string query1)
 Returns the list of CustomAffinity that match the query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.CustomAffinityPage
queryAsync (string query)
 

Detailed Description

A service which is used to manage custom affinity audience.

Constructor & Destructor Documentation

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

Creates a new instance of the CustomAffinityService class.

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

Creates a new instance of the CustomAffinityService class.

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

Creates a new instance of the CustomAffinityService class.

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

Creates a new instance of the CustomAffinityService class.

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

Creates a new instance of the CustomAffinityService class.

Member Function Documentation

virtual Google.Api.Ads.AdWords.v201809.CustomAffinityPage Google.Api.Ads.AdWords.v201809.CustomAffinityService.get ( Google.Api.Ads.AdWords.v201809.Selector  serviceSelector)
inlinevirtual

Provides the ability to get one or more custom affinity audience with the ability to filter based various criteria.

Parameters
serviceSelectora selector describing the subset of custom affinity audience for this customer.
Returns
A page of custom affinity audience as described by the selector.

Implements Google.Api.Ads.AdWords.v201809.CustomAffinityServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.CustomAffinityPage> Google.Api.Ads.AdWords.v201809.CustomAffinityService.getAsync ( Google.Api.Ads.AdWords.v201809.Selector  serviceSelector)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.CustomAffinity [] Google.Api.Ads.AdWords.v201809.CustomAffinityService.mutate ( Google.Api.Ads.AdWords.v201809.CustomAffinityOperation[]  operations)
inlinevirtual

Applies a list of mutate operations (i.e. add, set) to custom affinity audience:

Add - creates a custom affinity audience Set - updates a custom affinity audience

Notice that custom affinity tokens are not managed by this method. They are created/deleted by mutateToken method. But when a new custom affinity audience is added, its tokens are also added.

Parameters
operationsthe operations to apply
Returns
a list of CustomAffinity objects

Implements Google.Api.Ads.AdWords.v201809.ICustomAffinityService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.CustomAffinity[]> Google.Api.Ads.AdWords.v201809.CustomAffinityService.mutateAsync ( Google.Api.Ads.AdWords.v201809.CustomAffinityOperation[]  operations)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.CustomAffinityToken [] Google.Api.Ads.AdWords.v201809.CustomAffinityService.mutateToken ( Google.Api.Ads.AdWords.v201809.CustomAffinityTokenOperation[]  operations)
inlinevirtual

Applies a list of mutate operations (i.e. add, remove) to custom affinity tokens:

Add - creates a custom affinity token Set - set operation for custom affinity token is not supported Remove - deletes a custom affinity token

Parameters
operationsthe operations to apply
Returns
a list of CustomAffinityToken objects

Implements Google.Api.Ads.AdWords.v201809.ICustomAffinityService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.CustomAffinityToken[]> Google.Api.Ads.AdWords.v201809.CustomAffinityService.mutateTokenAsync ( Google.Api.Ads.AdWords.v201809.CustomAffinityTokenOperation[]  operations)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.CustomAffinityPage Google.Api.Ads.AdWords.v201809.CustomAffinityService.query ( string  query1)
inlinevirtual

Returns the list of CustomAffinity that match the query.

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

Implements Google.Api.Ads.AdWords.v201809.CustomAffinityServiceInterface.

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

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