After reading through the forum, I found there is no way to delete a campaign. It can only be set to "DELETED" status, but it's a real deletion. It doesn't allow us to create new campaigns with same name as deleted campaigns. To accommodate, there are two choices to workaround:
1. append a timestamp at end of each campaign name. But the problem is we will end up putting millions of deleted campaigns in the system after a month of usage of API. This would finally drag down the system performance. 2. Never delete campaigns. However, there is big performance penalty. Before adding each new campaign, we have to query the API, to find out if that name is already used or not. i.e. to add 10 new campaigns, we have to read all 5000 campaigns from API, make a comparison, then decide to add 3 campaigns as new, revive the other 7 campaigns from "DELETED" pile. You may argue that we should keep a good record of which campaign names are used. Yes, I can do that. But that will create duplicate information about campaigns, and make the system much less reliable. Whenever those duplicate information becomes inconsistent (I believe experienced software people all found this happening frequently), it will create a mess / unnecessary bugs. Also, It seems Campaigns do not support cascade delete (to propagate the deletion to all elements within.) Can this be added soon? It would help a lot to maintain system consistency, and make programming easier. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
