Hi,
I'm trying to edit ad. According to your documentation 
https://developers.google.com/adwords/api/docs/reference/v201601/AdGroupAdService.Ad
 
it is not possible to do so.
As it was stated there I need to remove the ad and add new one

Despite the fact I tried to do it in this way;
            AdGroupAd textAdGroupAd = new AdGroupAd();
            textAdGroupAd.adGroupId = adGroupId; //Id of existing ad group
            textAdGroupAd.ad = textAd; //Id of  existing ad that I want to 
be altered

            // Create the operation.
            AdGroupAdOperation operation = new AdGroupAdOperation();
            operation.@operator = Operator.SET;
            operation.operand = textAdGroupAd;

And actually it was a success. In history I see that the ad was removed and 
added a new one. As I understood the removal process was made under the 
hood.
Is it ok to do so? Or I'm misusing the API?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eff6005a-1d85-4790-9a63-a05a51845656%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How ... Justinas Ringaila
    • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
      • ... Justinas Ringaila
        • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
          • ... Justinas Ringaila

Reply via email to