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

Service for creating, editing, and deleting labels that can be applied to managed customers. More...

Inheritance diagram for Google.Api.Ads.AdWords.v201809.AccountLabelService:
Google.Api.Ads.AdWords.v201809.IAccountLabelService Google.Api.Ads.AdWords.v201809.AccountLabelServiceInterface

Public Member Functions

 AccountLabelService ()
 Creates a new instance of the AccountLabelService class. More...
 
 AccountLabelService (string endpointConfigurationName)
 Creates a new instance of the AccountLabelService class. More...
 
 AccountLabelService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the AccountLabelService class. More...
 
 AccountLabelService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the AccountLabelService class. More...
 
 AccountLabelService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the AccountLabelService class. More...
 
virtual
Google.Api.Ads.AdWords.v201809.AccountLabelPage 
get (Google.Api.Ads.AdWords.v201809.Selector selector)
 Returns a list of labels specified by the selector for the authenticated user. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.AccountLabelPage
getAsync (Google.Api.Ads.AdWords.v201809.Selector selector)
 
virtual
Google.Api.Ads.AdWords.v201809.AccountLabel[] 
mutate (Google.Api.Ads.AdWords.v201809.AccountLabelOperation[] operations)
 Possible actions: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.AccountLabel[]> 
mutateAsync (Google.Api.Ads.AdWords.v201809.AccountLabelOperation[] operations)
 

Detailed Description

Service for creating, editing, and deleting labels that can be applied to managed customers.

Labels created by a manager are not accessible to any customers managed by this manager. Only manager customers may create these labels.

Note that label access works a little differently in the API than it does in the AdWords UI. In the UI, a manager will never see a submanager's labels, and will always be using his own labels regardless of which managed account he is viewing. In this API, like other API services, if you specify a submanager as the effective account for the API request, then the request will operate on the submanager's labels.

To apply a label to a managed customer, see ManagedCustomerService::mutateLabel.

Constructor & Destructor Documentation

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

Creates a new instance of the AccountLabelService class.

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

Creates a new instance of the AccountLabelService class.

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

Creates a new instance of the AccountLabelService class.

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

Creates a new instance of the AccountLabelService class.

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

Creates a new instance of the AccountLabelService class.

Member Function Documentation

virtual Google.Api.Ads.AdWords.v201809.AccountLabelPage Google.Api.Ads.AdWords.v201809.AccountLabelService.get ( Google.Api.Ads.AdWords.v201809.Selector  selector)
inlinevirtual

Returns a list of labels specified by the selector for the authenticated user.

Parameters
selectorfilters the list of labels to return
Returns
response containing lists of labels that meet all the criteria of the selector
Exceptions
AdWordsApiExceptionif a problem occurs fetching the information requested

Implements Google.Api.Ads.AdWords.v201809.AccountLabelServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.AccountLabelPage> Google.Api.Ads.AdWords.v201809.AccountLabelService.getAsync ( Google.Api.Ads.AdWords.v201809.Selector  selector)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.AccountLabel [] Google.Api.Ads.AdWords.v201809.AccountLabelService.mutate ( Google.Api.Ads.AdWords.v201809.AccountLabelOperation[]  operations)
inlinevirtual

Possible actions:

  • Create a new label - create a new Label and call mutate with ADD operator
  • Edit the label name - set the appropriate fields in your Label and call mutate with the SET operator. Null fields will be interpreted to mean "no change"
  • Delete the label - call mutate with REMOVE operator
Parameters
operationslist of unique operations to be executed in a single transaction, in the order specified.
Returns
the mutated labels, in the same order that they were in as the parameter
Exceptions
AdWordsApiExceptionif problems occurs while modifying label information

Implements Google.Api.Ads.AdWords.v201809.IAccountLabelService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.AccountLabel[]> Google.Api.Ads.AdWords.v201809.AccountLabelService.mutateAsync ( Google.Api.Ads.AdWords.v201809.AccountLabelOperation[]  operations)
inlinevirtual

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