NAME
Google::Ads::AdWords::v201802::CustomerService::CustomerServiceInterfacePort - SOAP Interface for the CustomerService Web Service
SYNOPSIS
use Google::Ads::AdWords::v201802::CustomerService::CustomerServiceInterfacePort;
my $interface = Google::Ads::AdWords::v201802::CustomerService::CustomerServiceInterfacePort->new();
my $response;
$response = $interface->getCustomers();
$response = $interface->getServiceLinks();
$response = $interface->mutate();
$response = $interface->mutateServiceLinks();
DESCRIPTION
SOAP Interface for the CustomerService web service located at https://adwords.google.com/api/adwords/mcm/v201802/CustomerService.
SERVICE CustomerService
Port CustomerServiceInterfacePort
METHODS
General methods
new
Constructor.
All arguments are forwarded to SOAP::WSDL::Client.
SOAP Service methods
Method synopsis is displayed with hash refs as parameters.
The commented class names in the method's parameters denote that objects of the corresponding class can be passed instead of the marked hash ref.
You may pass any combination of objects, hash and list refs to these methods, as long as you meet the structure.
List items (i.e. multiple occurences) are not displayed in the synopsis. You may generally pass a list ref of hash refs (or objects) instead of a hash ref - this may result in invalid XML if used improperly, though. Note that SOAP::WSDL always expects list references at maximum depth position.
XML attributes are not displayed in this synopsis and cannot be set using hash refs. See the respective class' documentation for additional information.
getCustomers
Returns details of all the customers directly accessible by the user authenticating the call. <p> Note: This method will return only test accounts if the developer token used has not been approved. <p> Starting with v201607, if {@code clientCustomerId} is specified in the request header, only details of that customer will be returned. To do this for prior versions, use the {@code get()} method instead.
Returns a Google::Ads::AdWords::v201802::CustomerService::getCustomersResponse object.
$response = $interface->getCustomers( {
},,
);
getServiceLinks
Retrieves the list of service links for the authorized customer. See {@link ServiceType} for information on the various linking types supported. @param selector describing which links to retrieve @throws ApiException
Returns a Google::Ads::AdWords::v201802::CustomerService::getServiceLinksResponse object.
$response = $interface->getServiceLinks( {
selector => $a_reference_to, # see Google::Ads::AdWords::v201802::Selector
},,
);
mutate
Update the authorized customer. <p>While there are a limited set of properties available to update, please read this <a href="https://support.google.com/analytics/answer/1033981">help center article on auto-tagging</a> before updating {@code customer.autoTaggingEnabled}. @param customer the requested updated value for the customer. @throws ApiException
Returns a Google::Ads::AdWords::v201802::CustomerService::mutateResponse object.
$response = $interface->mutate( {
customer => $a_reference_to, # see Google::Ads::AdWords::v201802::Customer
},,
);
mutateServiceLinks
Modifies links to other services for the authorized customer. See {@link ServiceType} for information on the various linking types supported. @param operations to perform @throws ApiException
Returns a Google::Ads::AdWords::v201802::CustomerService::mutateServiceLinksResponse object.
$response = $interface->mutateServiceLinks( {
operations => $a_reference_to, # see Google::Ads::AdWords::v201802::ServiceLinkOperation
},,
);
AUTHOR
Generated by SOAP::WSDL on Mon Feb 26 21:11:15 2018