Hi JAI, Ads are immutable in the AdWords API, so the only way to simulate an update is to REMOVE the existing ad and ADD a new one with the desired values. The RemoveAd.java <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/basicoperations/RemoveAd.java> and AddTextAds.java <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/basicoperations/AddTextAds.java> examples show how to do this with the API.
Cheers, Josh, AdWords API Team On Tuesday, September 2, 2014 2:46:10 AM UTC-4, jai wrote: > > Hi > > I am using adwords api . In my project , I need to update the existing > adds which are created by me. while creating the adds i am saving the > campaign id , addgroup id, textAdd ids in the data base and i am creating > flag like "hasToUpdate"(true/flase) . now i want to update the those adds > depending upon the flag hasToUpdate. Now i want to update the Addtext, > description line1,description line2, display url,destination url,campaign > Name, addgroupName depending up on ids which i stored already in database. > could you please provide any sample code for this. > > > > Thank you, > JAI > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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 --- 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 [email protected]. 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/5d34d1ea-ec25-4fa8-969f-0d2aeaf9cdfb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
