Hello Joel,

Classes in client libraries are generated automatically using WSDL, e.g., 
https://adwords.google.com/api/adwords/cm/v201705/AdGroupAdService?wsdl,
and the getter and setter are generated for each field by default.

Please consult this page 
<https://developers.google.com/adwords/api/docs/appendix/selectorfields> to 
see what fields can be selected.
If a certain field isn't explicitly specified in the selector or it can't 
be selected at first (e.g., it can be used in *mutate* operation only, but 
not *get*), the getter of that field will return nothing.

Cheers,
Thanet, AdWords API Team

On Saturday, June 17, 2017 at 1:57:49 AM UTC+9, Joel Shapiro wrote:
>
> Sorry, I mispoke, the Image class includes the getData() function, but 
> you're saying that it cannot be used. Why is getData() included in the 
> class? It seems as though it is inviting confusion to include class 
> functions that appear to do something obvious but serve little purpose.
>
> Maybe I'm the only one who expects a getData() function to return data, I 
> don't know.
>
> On Thursday, June 15, 2017 at 10:36:45 PM UTC-7, Peter Oliquino wrote:
>>
>> Hi Joel,
>>
>> Could you confirm if this (Data 
>> <https://developers.google.com/adwords/api/docs/reference/v201705/MediaService.Image#data>)
>>  is 
>> the documentation that you are referring to? Currently, there is no mention 
>> that the said field can be selected, otherwise you will see something 
>> similar as seen in the Name 
>> <https://developers.google.com/adwords/api/docs/reference/v201705/MediaService.Image#name>
>>  field 
>> (This field can be selected using the value "Name"). I hope this has been 
>> helpful and please feel free to write back if you have any follow up 
>> questions.
>>
>> Best regards,
>> Peter
>> 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f037977d-a306-4855-ad86-69d61338564c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • call... Joel Shapiro
    • ... 'Peter Oliquino' via AdWords API Forum
      • ... Joel Shapiro
        • ... 'Peter Oliquino' via AdWords API Forum
          • ... Joel Shapiro
            • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum

Reply via email to