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

Provides operations for creating, updating and retrieving CustomTargetingKey and CustomTargetingValue objects. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202402.CustomTargetingService:
Google.Api.Ads.AdManager.v202402.ICustomTargetingService Google.Api.Ads.AdManager.v202402.CustomTargetingServiceInterface

Public Member Functions

 CustomTargetingService ()
 Creates a new instance of the CustomTargetingService class. More...
 
 CustomTargetingService (string endpointConfigurationName)
 Creates a new instance of the CustomTargetingService class. More...
 
 CustomTargetingService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the CustomTargetingService class. More...
 
 CustomTargetingService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the CustomTargetingService class. More...
 
 CustomTargetingService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the CustomTargetingService class. More...
 
virtual
Google.Api.Ads.AdManager.v202402.CustomTargetingKey[] 
createCustomTargetingKeys (Google.Api.Ads.AdManager.v202402.CustomTargetingKey[] keys)
 Creates new CustomTargetingKey objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202402.CustomTargetingKey[]> 
createCustomTargetingKeysAsync (Google.Api.Ads.AdManager.v202402.CustomTargetingKey[] keys)
 
virtual
Google.Api.Ads.AdManager.v202402.CustomTargetingValue[] 
createCustomTargetingValues (Google.Api.Ads.AdManager.v202402.CustomTargetingValue[] values)
 Creates new CustomTargetingValue objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202402.CustomTargetingValue[]> 
createCustomTargetingValuesAsync (Google.Api.Ads.AdManager.v202402.CustomTargetingValue[] values)
 
virtual
Google.Api.Ads.AdManager.v202402.CustomTargetingKeyPage 
getCustomTargetingKeysByStatement (Google.Api.Ads.AdManager.v202402.Statement filterStatement)
 Gets a CustomTargetingKeyPage of CustomTargetingKey objects that satisfy the given Statement::query. The following fields are supported for filtering: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202402.CustomTargetingKeyPage
getCustomTargetingKeysByStatementAsync (Google.Api.Ads.AdManager.v202402.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202402.CustomTargetingValuePage 
getCustomTargetingValuesByStatement (Google.Api.Ads.AdManager.v202402.Statement filterStatement)
 Gets a CustomTargetingValuePage of CustomTargetingValue objects that satisfy the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202402.CustomTargetingValuePage
getCustomTargetingValuesByStatementAsync (Google.Api.Ads.AdManager.v202402.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202402.UpdateResult 
performCustomTargetingKeyAction (Google.Api.Ads.AdManager.v202402.CustomTargetingKeyAction customTargetingKeyAction, Google.Api.Ads.AdManager.v202402.Statement filterStatement)
 Performs actions on CustomTargetingKey objects that match the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202402.UpdateResult
performCustomTargetingKeyActionAsync (Google.Api.Ads.AdManager.v202402.CustomTargetingKeyAction customTargetingKeyAction, Google.Api.Ads.AdManager.v202402.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202402.UpdateResult 
performCustomTargetingValueAction (Google.Api.Ads.AdManager.v202402.CustomTargetingValueAction customTargetingValueAction, Google.Api.Ads.AdManager.v202402.Statement filterStatement)
 Performs actions on CustomTargetingValue objects that match the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202402.UpdateResult
performCustomTargetingValueActionAsync (Google.Api.Ads.AdManager.v202402.CustomTargetingValueAction customTargetingValueAction, Google.Api.Ads.AdManager.v202402.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202402.CustomTargetingKey[] 
updateCustomTargetingKeys (Google.Api.Ads.AdManager.v202402.CustomTargetingKey[] keys)
 Updates the specified CustomTargetingKey objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202402.CustomTargetingKey[]> 
updateCustomTargetingKeysAsync (Google.Api.Ads.AdManager.v202402.CustomTargetingKey[] keys)
 
virtual
Google.Api.Ads.AdManager.v202402.CustomTargetingValue[] 
updateCustomTargetingValues (Google.Api.Ads.AdManager.v202402.CustomTargetingValue[] values)
 Updates the specified CustomTargetingValue objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202402.CustomTargetingValue[]> 
updateCustomTargetingValuesAsync (Google.Api.Ads.AdManager.v202402.CustomTargetingValue[] values)
 

Detailed Description

Provides operations for creating, updating and retrieving CustomTargetingKey and CustomTargetingValue objects.

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.v202402.CustomTargetingService.CustomTargetingService ( )
inline

Creates a new instance of the CustomTargetingService class.

Google.Api.Ads.AdManager.v202402.CustomTargetingService.CustomTargetingService ( string  endpointConfigurationName)
inline

Creates a new instance of the CustomTargetingService class.

Google.Api.Ads.AdManager.v202402.CustomTargetingService.CustomTargetingService ( string  endpointConfigurationName,
string  remoteAddress 
)
inline

Creates a new instance of the CustomTargetingService class.

Google.Api.Ads.AdManager.v202402.CustomTargetingService.CustomTargetingService ( string  endpointConfigurationName,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the CustomTargetingService class.

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

Creates a new instance of the CustomTargetingService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202402.CustomTargetingKey [] Google.Api.Ads.AdManager.v202402.CustomTargetingService.createCustomTargetingKeys ( Google.Api.Ads.AdManager.v202402.CustomTargetingKey[]  keys)
inlinevirtual
virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202402.CustomTargetingKey[]> Google.Api.Ads.AdManager.v202402.CustomTargetingService.createCustomTargetingKeysAsync ( Google.Api.Ads.AdManager.v202402.CustomTargetingKey[]  keys)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202402.CustomTargetingValue [] Google.Api.Ads.AdManager.v202402.CustomTargetingService.createCustomTargetingValues ( Google.Api.Ads.AdManager.v202402.CustomTargetingValue[]  values)
inlinevirtual
virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202402.CustomTargetingValue[]> Google.Api.Ads.AdManager.v202402.CustomTargetingService.createCustomTargetingValuesAsync ( Google.Api.Ads.AdManager.v202402.CustomTargetingValue[]  values)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202402.CustomTargetingKeyPage Google.Api.Ads.AdManager.v202402.CustomTargetingService.getCustomTargetingKeysByStatement ( Google.Api.Ads.AdManager.v202402.Statement  filterStatement)
inlinevirtual

Gets a CustomTargetingKeyPage of CustomTargetingKey objects that satisfy the given Statement::query. The following fields are supported for filtering:

PQL Property Object Property
id CustomTargetingKey::id
name CustomTargetingKey::name
displayName CustomTargetingKey::displayName
type CustomTargetingKey::type

Implements Google.Api.Ads.AdManager.v202402.CustomTargetingServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202402.CustomTargetingKeyPage> Google.Api.Ads.AdManager.v202402.CustomTargetingService.getCustomTargetingKeysByStatementAsync ( Google.Api.Ads.AdManager.v202402.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202402.CustomTargetingValuePage Google.Api.Ads.AdManager.v202402.CustomTargetingService.getCustomTargetingValuesByStatement ( Google.Api.Ads.AdManager.v202402.Statement  filterStatement)
inlinevirtual

Gets a CustomTargetingValuePage of CustomTargetingValue objects that satisfy the given Statement::query.

The WHERE clause in the Statement::query must always contain CustomTargetingValue::customTargetingKeyId as one of its columns in a way that it is AND'ed with the rest of the query. So, if you want to retrieve values for a known set of key ids, valid Statement::query would look like:

  1. "WHERE customTargetingKeyId IN ('17','18','19')" retrieves all values that are associated with keys having ids 17, 18, 19.
  2. "WHERE customTargetingKeyId = '17' AND name = 'red'" retrieves values that are associated with keys having id 17 and value name is 'red'.

The following fields are supported for filtering:

PQL Property Object Property
id CustomTargetingValue::id
customTargetingKeyId CustomTargetingValue::customTargetingKeyId
name CustomTargetingValue::name
displayName CustomTargetingValue::displayName
matchType CustomTargetingValue::matchType

Implements Google.Api.Ads.AdManager.v202402.CustomTargetingServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202402.CustomTargetingValuePage> Google.Api.Ads.AdManager.v202402.CustomTargetingService.getCustomTargetingValuesByStatementAsync ( Google.Api.Ads.AdManager.v202402.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202402.UpdateResult Google.Api.Ads.AdManager.v202402.CustomTargetingService.performCustomTargetingKeyAction ( Google.Api.Ads.AdManager.v202402.CustomTargetingKeyAction  customTargetingKeyAction,
Google.Api.Ads.AdManager.v202402.Statement  filterStatement 
)
inlinevirtual

Performs actions on CustomTargetingKey objects that match the given Statement::query.

Implements Google.Api.Ads.AdManager.v202402.CustomTargetingServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202402.UpdateResult> Google.Api.Ads.AdManager.v202402.CustomTargetingService.performCustomTargetingKeyActionAsync ( Google.Api.Ads.AdManager.v202402.CustomTargetingKeyAction  customTargetingKeyAction,
Google.Api.Ads.AdManager.v202402.Statement  filterStatement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202402.UpdateResult Google.Api.Ads.AdManager.v202402.CustomTargetingService.performCustomTargetingValueAction ( Google.Api.Ads.AdManager.v202402.CustomTargetingValueAction  customTargetingValueAction,
Google.Api.Ads.AdManager.v202402.Statement  filterStatement 
)
inlinevirtual
virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202402.UpdateResult> Google.Api.Ads.AdManager.v202402.CustomTargetingService.performCustomTargetingValueActionAsync ( Google.Api.Ads.AdManager.v202402.CustomTargetingValueAction  customTargetingValueAction,
Google.Api.Ads.AdManager.v202402.Statement  filterStatement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202402.CustomTargetingKey [] Google.Api.Ads.AdManager.v202402.CustomTargetingService.updateCustomTargetingKeys ( Google.Api.Ads.AdManager.v202402.CustomTargetingKey[]  keys)
inlinevirtual
virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202402.CustomTargetingKey[]> Google.Api.Ads.AdManager.v202402.CustomTargetingService.updateCustomTargetingKeysAsync ( Google.Api.Ads.AdManager.v202402.CustomTargetingKey[]  keys)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202402.CustomTargetingValue [] Google.Api.Ads.AdManager.v202402.CustomTargetingService.updateCustomTargetingValues ( Google.Api.Ads.AdManager.v202402.CustomTargetingValue[]  values)
inlinevirtual
virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202402.CustomTargetingValue[]> Google.Api.Ads.AdManager.v202402.CustomTargetingService.updateCustomTargetingValuesAsync ( Google.Api.Ads.AdManager.v202402.CustomTargetingValue[]  values)
inlinevirtual

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