NAME

Google::Ads::AdWords::v201109_1::AdGroupAdService::mutate

DESCRIPTION

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

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 delete 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 deleted from the AdGroup.

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::v201109_1::AdGroupAdService::mutate->new($data);

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

{
  operations =>  $a_reference_to, # see Google::Ads::AdWords::v201109_1::AdGroupAdOperation
},

AUTHOR

Generated by SOAP::WSDL