NAME

Google::Ads::AdWords::v201502::AdGroupAdService::mutateLabel

DESCRIPTION

Perl data type class for the XML Schema defined element mutateLabel from the namespace https://adwords.google.com/api/adwords/cm/v201502.

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.

PROPERTIES

The following properties may be accessed using get_PROPERTY / set_PROPERTY methods:

  • operations

    $element->set_operations($data);
    $element->get_operations();

METHODS

new

my $element = Google::Ads::AdWords::v201502::AdGroupAdService::mutateLabel->new($data);

Constructor. The following data structure may be passed to new():

{
  operations =>  $a_reference_to, # see Google::Ads::AdWords::v201502::AdGroupAdLabelOperation
},

AUTHOR

Generated by SOAP::WSDL