Google::Ads::AdWords::v201705::CampaignService::mutateLabel
Perl data type class for the XML Schema defined element mutateLabel from the namespace https://adwords.google.com/api/adwords/cm/v201705.
Adds labels to the {@linkplain Campaign campaign} or removes {@linkplain Label label}s from the {@linkplain Campaign campaign}. <p>Add - Apply an existing label to an existing {@linkplain Campaign campaign}. The {@code campaignId} must reference an existing {@linkplain Campaign}. The {@code labelId} must reference an existing {@linkplain Label label}. <p>Remove - Removes the link between the specified {@linkplain Campaign campaign} and {@linkplain Label label}. @param operations the operations to apply. @return a list of {@linkplain CampaignLabel}s 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 CampaignLabel contains the CampaignId and the LabelId. In the case of a remove operation, the returned CampaignLabel will only have CampaignId. @throws ApiException when there are one or more errors with the request.
The following properties may be accessed using get_PROPERTY / set_PROPERTY methods:
operations
$element->set_operations($data); $element->get_operations();
my $element = Google::Ads::AdWords::v201705::CampaignService::mutateLabel->new($data);
Constructor. The following data structure may be passed to new():
{ operations => $a_reference_to, # see Google::Ads::AdWords::v201705::CampaignLabelOperation },
Generated by SOAP::WSDL
To install Google::Ads::AdWords::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Google::Ads::AdWords::Client
CPAN shell
perl -MCPAN -e shell install Google::Ads::AdWords::Client
For more information on module installation, please visit the detailed CPAN module installation guide.