Hello David, The AdWords API doesn't return all the fields of an object by default, you need to specify the list of fields <https://developers.google.com/adwords/api/docs/reference/latest/CampaignService.Selector#fields> you want to retrieve when building the selector. If you have explicitly specified the corresponding field in the selector, but the value returned is null for fields of type list, then there is no value specified for the field. If you haven't specified the field in the selector, then the corresponding object is not populated in the response.
Regards, Bharani, AdWords API Team. On Tuesday, September 5, 2017 at 6:27:35 AM UTC-4, David Antunes wrote: > > Hi, > > Is there any way in general terms to determine when an array on the Java > API for AdWords (an array with Labels, or FinalURLs, etc) is null if that > means that there are no elements or if it means that that field was not > provided? > > Thanks! > David > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/8abbfa41-83e8-4a57-b8da-b97c8d018848%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
