Re: Check if Label already assigned to a Keyword

2015-01-22 Thread Shree
.Keyword> > > for a list of all supported Keyword fields. > > Regards, > Mike, AdWords API Team > > On Wednesday, January 21, 2015 at 10:51:37 AM UTC-5, Shree wrote: >> >> Hi, >> I am using Adwords API in Python. >> I want to check if a Label 'ABC&

Check if Label already assigned to a Keyword

2015-01-21 Thread Shree
Hi, I am using Adwords API in Python. I want to check if a Label 'ABC' is already assigned to a particular keyword 'KeywordA'. I will check if Label 'ABC' is present in the Page entries returned by 'get' method of AdGroupCriterionService How will I write a serviceSelector for specifying Criteri

Re: Check if Label already exists.

2015-01-15 Thread Shree
at 2:36:02 PM UTC+5:30, Anash P. Oommen (AdWords API Team) wrote: > > Hi Shree, > > The selector fields should be LabelId and LabelName. See the documentation > of Label type for details. > https://developers.google.com/adwords/api/docs/reference/v201409/LabelService.Label &g

Check if Label already exists.

2015-01-15 Thread Shree
I am trying to write a code in Python to check if Label 'MyLabel' already exists in my adwords account. How to specify serviceSelector in LabelService.get ? How to make the code working ? label_service = client.GetService('LabelService', version='v201409') serviceSelector = {'fields'

Check if Label already exists in my account using Python

2015-01-15 Thread Shree
I am trying to write code to check if 'MyLabel' already exists in Labels before creating it. I am using Python. Using LabelService APIs how should be code written ? Actually I am looking for the use of LabelService.get method but cannot specify serviceSelector correctly. This code gives error fo