Hi,

I saw that in the recent v201806 release of the API, there is now the 
ability to mutate ads. This would make some things simpler for us where 
we're currently doing removal and adds to accomplish the same thing, so 
it'd be nice to use it. However, I'm a little hesitant, because something 
seems wrong about it. According 
to 
https://developers.google.com/adwords/api/docs/guides/ad-features#mutating_ads_for_v201806_and_later,
 
you can mutate the Ad by using the new AdService, setting the id field of 
the Ad, setting whatever fields you want to change, and sending it with the 
SET operator. The part that worries me is that ad ids are not globally 
unique, even within a single account, but are unique only within an ad 
group 
(https://developers.google.com/adwords/api/docs/guides/objects-methods). 
So, it seems unsafe and error prone to be able to modify an ad by 
specifying just its id, as you could have more than one ad in your account 
with that id, leading to modifying the wrong ad or an error (if the AdWords 
API is checking for this and returning a SOAP fault for it)? Or am I 
missing something?

Thanks in advance,
Greg

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/187ef9ba-e681-4017-8ef8-820751c14a02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... GregT
    • ... 'Anash P. Oommen (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... GregT
        • ... 'Anash P. Oommen (AdWords API Team)' via AdWords API and Google Ads API Forum
          • ... GregT
            • ... 'Anash P. Oommen (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to