NAME
Google::Ads::AdWords::v201601::AdGroupAdService::AdGroupAdServiceInterfacePort - SOAP Interface for the AdGroupAdService Web Service
SYNOPSIS
use Google::Ads::AdWords::v201601::AdGroupAdService::AdGroupAdServiceInterfacePort;
my $interface = Google::Ads::AdWords::v201601::AdGroupAdService::AdGroupAdServiceInterfacePort->new();
my $response;
$response = $interface->get();
$response = $interface->mutate();
$response = $interface->mutateLabel();
$response = $interface->query();
$response = $interface->upgradeUrl();
DESCRIPTION
SOAP Interface for the AdGroupAdService web service located at https://adwords.google.com/api/adwords/cm/v201601/AdGroupAdService.
SERVICE AdGroupAdService
Port AdGroupAdServiceInterfacePort
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 AdGroupAds. AdGroupAds that had been removed are not returned by default. @param serviceSelector The selector specifying the {@link AdGroupAd}s to return. @return The page containing the AdGroupAds that meet the criteria specified by the selector. @throws ApiException when there is at least one error with the request.
Returns a Google::Ads::AdWords::v201601::AdGroupAdService::getResponse object.
$response = $interface->get( {
serviceSelector => $a_reference_to, # see Google::Ads::AdWords::v201601::Selector
},,
);
mutate
Applies the list of mutate operations (ie. add, set, remove): <p>Add - Creates a new {@linkplain AdGroupAd ad group ad}. The {@code adGroupId} must reference an existing ad group. The child {@code Ad} must be sufficiently specified by constructing a concrete ad type (such as {@code TextAd}) and setting its fields accordingly.</p> <p>Set - Updates an ad group ad. Except for {@code status}, ad group ad fields are not mutable. Status updates are straightforward - the status of the ad group ad is updated as specified. If any other field has changed, it will be ignored. If you want to change any of the fields other than status, you must make a new ad and then remove the old one.</p> <p>Remove - Removes the link between the specified AdGroup and Ad.</p> @param operations The operations to apply. @return A list of AdGroupAds where each entry in the list is the result of applying the operation in the input list with the same index. For an add/set operation, the return AdGroupAd will be what is saved to the db. In the case of the remove operation, the return AdGroupAd will simply be an AdGroupAd containing an Ad with the id set to the Ad being removed from the AdGroup.
Returns a Google::Ads::AdWords::v201601::AdGroupAdService::mutateResponse object.
$response = $interface->mutate( {
operations => $a_reference_to, # see Google::Ads::AdWords::v201601::AdGroupAdOperation
},,
);
mutateLabel
Adds labels to the AdGroupAd or removes labels from the AdGroupAd. <p>Add - Apply an existing label to an existing {@linkplain AdGroupAd ad group ad}. The {@code adGroupId} and {@code adId} must reference an existing {@linkplain AdGroupAd ad group ad}. The {@code labelId} must reference an existing {@linkplain com.google.ads.api.services.campaignmgmt.label.Label label}. <p>Remove - Removes the link between the specified {@linkplain AdGroupAd ad group ad} and {@linkplain com.google.ads.api.services.campaignmgmt.label.Label label}.</p> @param operations The operations to apply. @return A list of AdGroupAdLabel where each entry in the list is the result of applying the operation in the input list with the same index. For an add operation, the returned AdGroupAdLabel contains the AdGroupId, AdId and the LabelId. In the case of a remove operation, the returned AdGroupAdLabel will only have AdGroupId and AdId. @throws ApiException when there are one or more errors with the request.
Returns a Google::Ads::AdWords::v201601::AdGroupAdService::mutateLabelResponse object.
$response = $interface->mutateLabel( {
operations => $a_reference_to, # see Google::Ads::AdWords::v201601::AdGroupAdLabelOperation
},,
);
query
Returns a list of AdGroupAds based on the query. @param query The SQL-like AWQL query string. @return A list of AdGroupAds. @throws ApiException if problems occur while parsing the query or fetching AdGroupAds.
Returns a Google::Ads::AdWords::v201601::AdGroupAdService::queryResponse object.
$response = $interface->query( {
query => $some_value, # string
},,
);
upgradeUrl
Upgrades the url for a set of ads. @param operations The list of upgrades to apply. @return The list of Ads that were upgraded.
Returns a Google::Ads::AdWords::v201601::AdGroupAdService::upgradeUrlResponse object.
$response = $interface->upgradeUrl( {
operations => $a_reference_to, # see Google::Ads::AdWords::v201601::AdUrlUpgrade
},,
);
AUTHOR
Generated by SOAP::WSDL on Tue Feb 2 09:13:04 2016