NAME
Google::Ads::AdWords::v201209::AdGroupService::AdGroupServiceInterfacePort - SOAP Interface for the AdGroupService Web Service
SYNOPSIS
use Google::Ads::AdWords::v201209::AdGroupService::AdGroupServiceInterfacePort;
my $interface = Google::Ads::AdWords::v201209::AdGroupService::AdGroupServiceInterfacePort->new();
my $response;
$response = $interface->get();
$response = $interface->mutate();
$response = $interface->query();
DESCRIPTION
SOAP Interface for the AdGroupService web service located at https://adwords.google.com/api/adwords/cm/v201209/AdGroupService.
SERVICE AdGroupService
Port AdGroupServiceInterfacePort
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.
get
Returns a list of all the ad groups specified by the selector from the target customer's account. @param serviceSelector The selector specifying the {@link AdGroup}s to return. @return List of adgroups identified by the selector. @throws ApiException when there is at least one error with the request.
Returns a Google::Ads::AdWords::v201209::AdGroupService::getResponse object.
$response = $interface->get( {
serviceSelector => $a_reference_to, # see Google::Ads::AdWords::v201209::Selector
},,
);
mutate
Adds, updates, or deletes ad groups. <p class="note"><b>Note:</b> {@link AdGroupOperation} does not support the {@code REMOVE} operator. To delete an ad group, set its {@link AdGroup#status status} to {@code DELETED}.</p> @param operations List of unique operations. The same ad group cannot be specified in more than one operation. @return The updated adgroups.
Returns a Google::Ads::AdWords::v201209::AdGroupService::mutateResponse object.
$response = $interface->mutate( {
operations => $a_reference_to, # see Google::Ads::AdWords::v201209::AdGroupOperation
},,
);
query
Returns the list of ad groups that match the query. @param query The SQL-like AWQL query string @return A list of adgroups @throws ApiException
Returns a Google::Ads::AdWords::v201209::AdGroupService::queryResponse object.
$response = $interface->query( {
query => $some_value, # string
},,
);
AUTHOR
Generated by SOAP::WSDL on Thu Dec 6 17:49:14 2012