Josip, Thanks, that's an interesting approach with combining the addition and deletion in one call. I will look into that.
We typically edit a number of ads in an ad group at a time, and setting an ad to paused first, won't work if you run up against the maximum number of ads allowed in ad ad group, which I think is 20 if I remember correctly. Thanks Hans On Dec 21, 3:06 am, JosipK <[email protected]> wrote: > I have forgotten one thing... > > In one API call you can add new AdGroupAd and delete the old one. API > call (for example AdGroupAdService.mutate method) would complete pass, > or would complete fail. So, if you need to change headline text, then > the best thing is that in one call you add new and delete old > AdGroupAd (so you don't need any version for reverting). We use that > approach, and it shows as the best. > > Josip > > On Dec 21, 11:56 am, JosipK <[email protected]> wrote: > > > > > Hi, > > > Setting AdGroupAd.Status property to Disable is equal as deleting it > > (using remove operator). > > > Yes, if you delete/disable AdGroupAd then you can't change it anymore. > > When I try it, I get AdGroupAdError -> > > CANNOT_OPERATE_ON_DELETED_ADGROUPAD (Deleted ads may not be modified). > > > Instead of setting status to Disable, you could set it to Pause. And > > if adding of new AdGroupAd doesn't succeed, you could revert old > > AdGroupAd from paused to active. > > > When we update some unmutable property (like headline) we first try to > > add new AdGroupAd -> if we succeed in that, then we delete old > > AdGroupAd. It's very unlikely that adding of new AdGroupAd succeeds, > > and then removing fails (it's possible, but very unlikely). > > > Regards, > > -- > > Josip > > GemBox.Ppc -http://www.GemBoxSoftware.com/Ppc/Overview.htm-Advanced > > AdWords API for .NET > > > On Dec 18, 11:19 pm, HK <[email protected]> wrote: > > > > I have a related follow-up question to this thread. In v13, you could > > > change the status of a disabled ad back to let's say active. However, > > > in v200909, it seems that this is no longer allowed. Can someone > > > confirm this please as it unfortunately will require a lot of changes > > > in our software which was using this v13 behavior extensively. > > > > It was a very handy option to have in a scenario where you wanted to > > > update an ad, for example the headline, by first disabling the old ad > > > and then creating a new ad. If creating the new ad for some reason > > > failed, you could always revert back to the previous one by flipping > > > the status from disabled to active again. > > > > Thanks > > > Hanhs > > > > On Dec 17, 7:09 am, AdWords API Advisor <[email protected]> > > > wrote: > > > > > Hi Ven, > > > > > For AdGroupAds, setting thestatustoDISABLEDor using the REMOVE > > > > operator has the same effect. AdGroupAds can never be fully deleted, > > > > and they will always exist in your account with thestatusDISABLED. > > > > There is no name uniqueness requirement for ads so there should never > > > > be a problem creating a newadwith similar settings. The newadwill > > > > not share any of the history with the oldad. > > > > > Best, > > > > - Eric Koleda, AdWords API Team > > > > > On Dec 16, 3:52 pm, "[email protected]" > > > > > <[email protected]> wrote: > > > > > I am struggling with the same issue here. I think using the REMOVE > > > > > operator might work even I haven't tried it yet. It might let you > > > > > create a newadbut I think you'll probably loose all the stats and > > > > > related data. In AdWords Interface, if you click on editing anad, a > > > > > popup notification says: > > > > > > You can edit thisad. > > > > > Changing theadwill delete the existingadand create a new one. The > > > > > newadwill begin with statistics at zero, and statistics for the old > > > > >adwill be shown in the "Deleted ads" row. > > > > > > Cheers! > > > > > > On Dec 16, 2:04 pm, ComputerPsi <[email protected]> wrote: > > > > > > > Bounce. Would anybody like to answer my post? :) > > > > > > > On Dec 15, 12:20 pm, ComputerPsi <[email protected]> wrote: > > > > > > > > From what I understand, in order to change a textad, you must > > > > > > > delete > > > > > > > the original, and then create a new textad. > > > > > > > > I have the whole v200909 code > > > > > > > fromhttp://code.google.com/p/google-api-adwords-php/downloads/list. > > > > > > > Looking through the sample, I was able to add anadgroup with a > > > > > > > text > > > > > > >adand keywords. > > > > > > > However I want to now modify a textadthat was created. In > > > > > > > UpdateAd.php, I found that it pauses thead. From what I understand > > > > > > > "SET"ing it to "DISABLED" won't remove it. > > > > > > > Should I use the "REMOVE" command instead of "SET"? Will this > > > > > > > allow me > > > > > > > to create an alternative textadwith the same name as this removed > > > > > > > one? > > > > > > > When using "REMOVE" operator in AdGroupAdOperation, what should > > > > > > > the > > > > > > >statusbe set to for AdGroupAd? It has options ENABLED, PAUSED, and > > > > > > >DISABLED. > > > > > > > > Thank you, > > > > > > > Ven- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - -- 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.
