public interface CustomerServiceInterface
| Modifier and Type | Method and Description |
|---|---|
List<Customer> |
getCustomers()
Returns details of all the customers directly accessible by the user authenticating the call.
|
List<ServiceLink> |
getServiceLinks(Selector selector)
Retrieves the list of service links for the authorized customer.
|
Customer |
mutate(Customer customer)
Update the authorized customer.
|
List<ServiceLink> |
mutateServiceLinks(List<ServiceLinkOperation> operations)
Modifies links to other services for the authorized customer.
|
@RequestWrapper(localName="getCustomers", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.CustomerServiceInterfacegetCustomers") @ResponseWrapper(localName="getCustomersResponse", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.CustomerServiceInterfacegetCustomersResponse") List<Customer> getCustomers() throws ApiException
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.
ApiException@RequestWrapper(localName="getServiceLinks", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.CustomerServiceInterfacegetServiceLinks") @ResponseWrapper(localName="getServiceLinksResponse", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.CustomerServiceInterfacegetServiceLinksResponse") List<ServiceLink> getServiceLinks(Selector selector) throws ApiException
ServiceType for information on the various linking types supported.selector - describing which links to retrieveselector - ApiExceptionApiException@RequestWrapper(localName="mutate", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.CustomerServiceInterfacemutate") @ResponseWrapper(localName="mutateResponse", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.CustomerServiceInterfacemutateResponse") Customer mutate(Customer customer) throws ApiException
While there are a limited set of properties available to update, please read this
help center article
on auto-tagging before updating customer.autoTaggingEnabled.
customer - the requested updated value for the customer.customer - ApiExceptionApiException@RequestWrapper(localName="mutateServiceLinks", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.CustomerServiceInterfacemutateServiceLinks") @ResponseWrapper(localName="mutateServiceLinksResponse", targetNamespace="https://adwords.google.com/api/adwords/mcm/v201809", className="com.google.api.ads.adwords.jaxws.v201809.mcm.CustomerServiceInterfacemutateServiceLinksResponse") List<ServiceLink> mutateServiceLinks(List<ServiceLinkOperation> operations) throws ApiException
ServiceType for information on the various linking types supported.operations - to performoperations - ApiExceptionApiExceptionCopyright © 2023. All rights reserved.