Hi David, If I remember correctly, the name needs to be unique in only active + paused items, not globally (with the new change). So if the user deletes an adgroup with the same name, you could create one with the same name again. Let me know if you are seeing a different behaviour, and I'll ask the team to investigate this further.
Cheers, Anash P. Oommen, AdWords API Advisor. On Monday, September 8, 2014 2:29:07 PM UTC-4, David Midgley wrote: > > Thanks for the quick response Anash! > > Let me explain my use case and maybe you can find a workaround? > > We are working on an optimisation application that uses a strict naming > convention for campaign and adgroup names. If a user accidentally deletes > an adgroup, my software can't correct the error by recreating the adgroup > because if we create a new adgroup with the same name in the same campaign > we'll get a duplicate adgroup name error. Our solution to this problem was > to rename the deleted adgroup which enabled us to create the new adgroup. > > Now that we can't rename the deleted adgroup and we can't create a new > adgroup with the same name, how can we enforce our strict naming > convention? This naming convention links adgroups between campaigns and is > critical to our operations. > > We could "version" adgroup names, but this seems pretty untidy. We could > use labels, but this could create thousands of labels and more (potentially > error-prone) manual work. > > Can you think of a workaround? > > Cheers > > David > > On Monday, 8 September 2014 19:15:49 UTC+1, Anash P. Oommen (AdWords API > Team) wrote: >> >> Hi David, >> >> AdWords API v201406 no longer allows you to undelete campaigns, adgroups, >> etc. The UI and older API versions allows this behaviour for now, but they >> will eventually start working like the way v201406 works today. >> >> Cheers, >> Anash P. Oommen, >> AdWords API Advisor. >> >> On Monday, September 8, 2014 11:19:45 AM UTC-4, David Midgley wrote: >>> >>> Hi >>> >>> I'm having problems with a new >>> "OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY" error. >>> >>> It appears that you can't "undelete" an adgroup (ie set any properties >>> of a removed adgroup, including Status) or even add a keyword to an >>> existing adgroup where that keyword was previously deleted. This seems to >>> be a change between the v201402 and v201406 versions of the API. Obviously >>> these are things that you can do via the UI. >>> >>> There is mention of this in another post: >>> >>> https://groups.google.com/forum/#!searchin/adwords-api/OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY%7Csort:relevance/adwords-api/uLdWDk7dMgs/kCLnPsog1UAJ >>> >>> Is this a bug? Is this going to get fixed soon? >>> >>> Cheers >>> >>> David >>> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/80c3b5a5-3cbc-4ac8-9d6a-bc0f3f48807e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.