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 *Status, *are returned whether you select them or not, > which explains why Id and Status get returned. > > In order to fix your issue, change your selector to the following: > Selector selector = new SelectorBuilder() > .fields(LabelField.LabelName,LabelField.LabelId,LabelField.LabelStatus) > .build(); > > Cheers, > Anthony > AdWords API Team > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. 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/5db929cf-43d3-47f6-b6d6-10c4476ed1e7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.