Thanks for the quick response. I had not seen that page. All is working again - my 'messing' arose, because I was not REMOVEing the old ad before ADDing the new one.
I am actually already using GetBulkMutateJobService. Someone not to far from you (in Russian terms!) helped me out using the example code as a starting point. громне спасибо! -Peter On Jan 27, 4:34 pm, Evgeniy Bogdanov <bogda...@tagan.ru> wrote: > Hi Peter. > > Glad to hear that your application is live now :) > > Please, read carefully specification > -http://code.google.com/intl/en/apis/adwords/docs/reference/latest/AdG... > I'll quote here for you: > "Set - Updates an ad group ad. Except for status, ad group ad fields > are not mutable. Status updates are straightforward - the status of > the ad group ad is updated as specified. If any other field has > changed, it will be ignored. If you want to change any of the fields > other than status, you must make a new ad and then delete the old > one." > > So you can't update ad with you way. > > I do not remeber if I've told you - but in your case you should use > Bulk operation service (MutateJobService) in v201109. > While you've 10-100 ads your way is good, but when count of ads will > grow you will get a lot of problems - speed of update and total bill > will be not good. :) > > Regards, > Evgeniy. > > On 27 янв, 18:39, Peter Crowley <pcrow...@gmail.com> wrote: > > > > > > > > > I got my token (after 4 months! - I think Anash helped get me across > > the line, thx). > > My app is published to the live system after a few tweaks - Hurray! > > > I have a question about whether you can use SET in AdGroupAdOperation > > rather then ADD when updating the content of a textAd? > > I made the changes outlined below, the code executes without error but > > the ad did not change > > > I took my 'ADD' code which works fine (but costs 40 units & you have > > to delete the old ad), changed the operator to 'SET' and added a id to > > $textAd > > > #### Original 'ADD' code > > > // Create text ad. > > $textAd = new TextAd(); > > $textAd->headline = 'My headline'; > > $textAd->description1 = 'description 1'; > > $textAd->description2 = 'description 2'; > > $textAd->displayUrl = 'www.example.com'; > > $textAd->url = 'http://www.example.com'; > > > // Create ad group ad. > > $textAdGroupAd = new AdGroupAd(); > > $textAdGroupAd->adGroupId = 123456789; > > $textAdGroupAd->ad = $textAd; > > $textAdGroupAd->status = 'ENABLED'; > > > // Create operations. > > $operation = new AdGroupAdOperation(); > > $operation->operand = $textAdGroupAd; > > $operation->operator = 'ADD'; > > > #### New 'SET' variant > > > // Create text ad. > > $textAd = new TextAd(); > > $textAd->id = 987654321; > > $textAd->headline = 'My headline'; > > $textAd->description1 = 'description 1'; > > $textAd->description2 = 'description 2'; > > $textAd->displayUrl = 'www.example.com'; > > $textAd->url = 'http://www.example.com'; > > > // Create ad group ad. > > $textAdGroupAd = new AdGroupAd(); > > $textAdGroupAd->adGroupId = 123456789; > > $textAdGroupAd->ad = $textAd; > > $textAdGroupAd->status = 'ENABLED'; > > > // Create operations. > > $operation = new AdGroupAdOperation(); > > $operation->operand = $textAdGroupAd; > > $operation->operator = 'SET'; > > > These 2 URLS only give the lightest > > informationhttp://code.google.com/apis/adwords/docs/reference/latest/AdGroupAdSe...... > > Is there anywhere with more complete docmentation? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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