Hi, The client library includes the following samples for deleting and adding an ad:
- https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/BasicOperations/DeleteAd.php - https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/BasicOperations/AddTextAds.php The second example is for adding text ads, so you would want to substitute your ProductAd in the code instead. Cheers, Josh, AdWords API Team On Thursday, April 3, 2014 3:40:00 AM UTC-4, Raja Ram wrote: > > Josh, > > No, I haven't tried deleting and recreating Product Ad. My requirement is > to change the 'Promotion Line' alone. Is there any way to delete to Product > Ad alone (i.e., Simply Promotion Line). Also I'm using PHP Server script, > if possible can you share me a sample code to ADD & DELETE Product Ads. > > > On Wednesday, April 2, 2014 8:00:39 PM UTC+5:30, Josh Radcliff (AdWords > API Team) wrote: >> >> Hi Raja, >> >> Have you tried deleting and recreating the ad as described in this >> post<https://groups.google.com/d/msg/adwords-api/Iw3S9RwnzEI/fJKewceObF0J> >> ? >> >> Cheers, >> Josh, AdWords API Team >> >> On Wednesday, April 2, 2014 2:18:48 AM UTC-4, Raja Ram wrote: >>> >>> Hi, >>> >>> Is it possible to update the promotionalLine of a Product Ad via the API >>> ? I'm surfing the API document over a week to update promotionLine but yet >>> couldn't found the answer. >>> >>> Could anyone from the Adwords API team help me to resolve this? >>> >>> Thanks, >>> Raja >>> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. For more options, visit https://groups.google.com/d/optout.
