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

Service to access basic details about any customer. More...

Inheritance diagram for Google.Api.Ads.AdWords.v201809.CustomerService:
Google.Api.Ads.AdWords.v201809.ICustomerService Google.Api.Ads.AdWords.v201809.CustomerServiceInterface

Public Member Functions

 CustomerService ()
 Creates a new instance of the CustomerService class. More...
 
 CustomerService (string endpointConfigurationName)
 Creates a new instance of the CustomerService class. More...
 
 CustomerService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the CustomerService class. More...
 
 CustomerService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the CustomerService class. More...
 
 CustomerService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the CustomerService class. More...
 
virtual
Google.Api.Ads.AdWords.v201809.Customer[] 
getCustomers ()
 Returns details of all the customers directly accessible by the user authenticating the call. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.Customer[]> 
getCustomersAsync ()
 
virtual
Google.Api.Ads.AdWords.v201809.ServiceLink[] 
getServiceLinks (Google.Api.Ads.AdWords.v201809.Selector selector)
 Retrieves the list of service links for the authorized customer. See ServiceType for information on the various linking types supported. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.ServiceLink[]> 
getServiceLinksAsync (Google.Api.Ads.AdWords.v201809.Selector selector)
 
virtual
Google.Api.Ads.AdWords.v201809.Customer 
mutate (Google.Api.Ads.AdWords.v201809.Customer customer)
 Update the authorized customer. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.Customer
mutateAsync (Google.Api.Ads.AdWords.v201809.Customer customer)
 
virtual
Google.Api.Ads.AdWords.v201809.ServiceLink[] 
mutateServiceLinks (Google.Api.Ads.AdWords.v201809.ServiceLinkOperation[] operations)
 Modifies links to other services for the authorized customer. See ServiceType for information on the various linking types supported. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdWords.v201809.ServiceLink[]> 
mutateServiceLinksAsync (Google.Api.Ads.AdWords.v201809.ServiceLinkOperation[] operations)
 

Detailed Description

Service to access basic details about any customer.

Constructor & Destructor Documentation

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

Creates a new instance of the CustomerService class.

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

Creates a new instance of the CustomerService class.

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

Creates a new instance of the CustomerService class.

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

Creates a new instance of the CustomerService class.

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

Creates a new instance of the CustomerService class.

Member Function Documentation

virtual Google.Api.Ads.AdWords.v201809.Customer [] Google.Api.Ads.AdWords.v201809.CustomerService.getCustomers ( )
inlinevirtual

Returns details of all the customers directly accessible by the user authenticating the call.

Note: This method will return only test accounts if the developer token used has not been approved.

Starting with v201607, if clientCustomerId is specified in the request header, only details of that customer will be returned. To do this for prior versions, use the get() method instead.

Implements Google.Api.Ads.AdWords.v201809.ICustomerService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.Customer[]> Google.Api.Ads.AdWords.v201809.CustomerService.getCustomersAsync ( )
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.ServiceLink [] Google.Api.Ads.AdWords.v201809.CustomerService.getServiceLinks ( Google.Api.Ads.AdWords.v201809.Selector  selector)
inlinevirtual

Retrieves the list of service links for the authorized customer. See ServiceType for information on the various linking types supported.

Parameters
selectordescribing which links to retrieve

AdWordsApiException

Implements Google.Api.Ads.AdWords.v201809.ICustomerService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.ServiceLink[]> Google.Api.Ads.AdWords.v201809.CustomerService.getServiceLinksAsync ( Google.Api.Ads.AdWords.v201809.Selector  selector)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.Customer Google.Api.Ads.AdWords.v201809.CustomerService.mutate ( Google.Api.Ads.AdWords.v201809.Customer  customer)
inlinevirtual

Update the authorized customer.

While there are a limited set of properties available to update, please read this help center article on auto-tagging before updating .

Parameters
customerthe requested updated value for the customer.

AdWordsApiException

Implements Google.Api.Ads.AdWords.v201809.CustomerServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.Customer> Google.Api.Ads.AdWords.v201809.CustomerService.mutateAsync ( Google.Api.Ads.AdWords.v201809.Customer  customer)
inlinevirtual
virtual Google.Api.Ads.AdWords.v201809.ServiceLink [] Google.Api.Ads.AdWords.v201809.CustomerService.mutateServiceLinks ( Google.Api.Ads.AdWords.v201809.ServiceLinkOperation[]  operations)
inlinevirtual

Modifies links to other services for the authorized customer. See ServiceType for information on the various linking types supported.

Parameters
operationsto perform

AdWordsApiException

Implements Google.Api.Ads.AdWords.v201809.ICustomerService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdWords.v201809.ServiceLink[]> Google.Api.Ads.AdWords.v201809.CustomerService.mutateServiceLinksAsync ( Google.Api.Ads.AdWords.v201809.ServiceLinkOperation[]  operations)
inlinevirtual

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