Re: Solution for creating a label when creating a TextAd

2017-03-06 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Dan, Yes, you'll need to use two separate operations; one to create a Label and another one to apply the Label to your AdGroupAds

Re: Solution for creating a label when creating a TextAd

2017-03-03 Thread Dan Hai
Do you guys know if this is still the case? On Friday, October 3, 2014 at 5:37:01 AM UTC-5, Alan Coleman wrote: > > Hello everyone, > > I'd like to be able to add a *label* to a *TextAd *when creating the > TextAd. > > I'm creating the TextAd using AdGroupAdOperation >

Re: Solution for creating a label when creating a TextAd

2014-10-28 Thread Alan Coleman
Hi Martin, Thanks for making me stick with this one, I finally got it working. The issue was down to my code rather than your explanation. I was attempting to add the label ID to the TextAd Object rather than creating a Label Object of its own. NO: $textAd-displayUrl = $textDisplayUrl;

Re: Solution for creating a label when creating a TextAd

2014-10-28 Thread Alan Coleman
Hi Martin, Thanks for making me stick with this one, I finally got it working. The issue was down to my code rather than your explanation. I was attempting to add the label ID to the TextAd Object rather than creating a Label Object of its own. This is what is required when using the PHP

Re: Solution for creating a label when creating a TextAd

2014-10-27 Thread Martin
Hi Alan, That's right! The outcome is the same. I'm using MutateJobServive,mutate and the operations are a list of the ads created. My previous snippet is the creation of such a list. So it's a regular TextAd creation operation, with an additional key in the dictionary. Relevant documentation:

Re: Solution for creating a label when creating a TextAd

2014-10-23 Thread Alan Coleman
Hi Martin, Sorry to keep going on about this but I'm confused about how you're getting this to work. Can I confirm that I'm trying to achieve the same outcome as yourself? 1. A Label has been created previously and I have the ID 2. I want to create a TextAd and assign the above label

Re: Solution for creating a label when creating a TextAd

2014-10-08 Thread Alan Coleman
Thanks for getting back to me Michael! :-) On Friday, October 3, 2014 6:19:06 PM UTC+1, Michael Cloonan (AdWords API Team) wrote: Hello, You are correct; you must create the TextAd first, and then in a separate operation you may assign a label to it. There is no way to assign a label to

Re: Solution for creating a label when creating a TextAd

2014-10-08 Thread Martin
Hi all! I disagree with the accepted solution. I am currently assigning labels to Text Ads in a single operation at the time of creation. Below is the relevant snippet from my python code. I'm using the MutateJobService and it works just fine. adgroup_ad_operations.append({

Solution for creating a label when creating a TextAd

2014-10-03 Thread Alan Coleman
Hello everyone, I'd like to be able to add a *label* to a *TextAd *when creating the TextAd. I'm creating the TextAd using AdGroupAdOperation https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupAdService.AdGroupAdOperation . If I want to use AdGroupAdLabelOperation

Re: Solution for creating a label when creating a TextAd

2014-10-03 Thread Michael Cloonan (AdWords API Team)
Hello, You are correct; you must create the TextAd first, and then in a separate operation you may assign a label to it. There is no way to assign a label to the TextAd at the time of creation. Regards, Mike, AdWords API Team On Friday, October 3, 2014 6:37:01 AM UTC-4, Alan Coleman wrote: