Hi Mathieu, The AdId is not globally unique <https://developers.google.com/adwords/api/docs/guides/objects-methods> in case of any type of campaigns (Base, Draft, Trial). You might not have observed duplicate AdIds in your account. But, there is a possibility that it could be duplicate. That being said, you will need to use the combination of AdGroupId and AdId to refer to Ads irrespective of the campaign type. In your example, it is likely that the AdId in the drafts are same but there is no guarantee that it will always have the same Id. Using along with the AdGroupId will ensure that you are always referring to the correct Ad.
Hope this clarifies your question. Thanks, Sreelakshmi, AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. 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/1a2a9948-0dd5-4889-975a-ef2e69523f38%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.