Re: Problem getting Label name

2015-12-03 Thread dima
Thanks. Stupid mistake of mine. On Wednesday, December 2, 2015 at 11:55:54 PM UTC+2, Anthony Madrigal wrote: > > Hi, > > When using the SelectorBuilder, each time you use *.fields, *it overrides > the previous one, so in your case the Id is overriding the Name field. Some > fields, such as *Sta

Re: Problem getting Label name

2015-12-02 Thread Anthony Madrigal
Hi, When using the SelectorBuilder, each time you use *.fields, *it overrides the previous one, so in your case the Id is overriding the Name field. Some fields, such as *Status, *are returned whether you select them or not, which explains why Id and Status get returned. In order to fix your i

Problem getting Label name

2015-12-02 Thread dima
Hi, I can't get LabelName, it's returned as null. I'm using java library v201509 LabelServiceInterface labelService = adWordsServices.get(adwordsSession, LabelServiceInterface.class); Selector selector = new SelectorBuilder() .fields(LabelField.LabelName) .fields(LabelField.LabelId) .fields(Lab