I do not have permissions to reply privately to authors (in this group).   

If I can get in touch with you via email that would be great. 
You have my email address here so you can drop me an email. 

I would like to email you an example where fields are omitted in the JSON 
data that is returned back. 
But it's real world PROD data so I don't want to post it here in the forum. 

Thanks once again.





On Monday, May 10, 2021 at 10:19:49 PM UTC-4 adsapiforumadvisor wrote:

> Hi Peter,
>
> I work with Xiaoming and let me continue the discussion for this concern.
>
> Allow me to provide my insights for the 2 items below: 
>    
>    
>
>    - 
>
> *Not really, it's not so simple to tell, since we're managing a large 
>    number of reports with 25-30 data fields each.  What you say here means I 
>    have to go through every report, request it, pull it, see what is returned 
>    and visually map the returned data fields to the requested data fields. 
>    What makes things worse is that in the returned JSON the fields seem to be 
>    omitted when they have no value (instead of returned with null value or 
>    something like that). * 
>
>
>    - 
> *Can I assume this is the general rule, i.e. does that rule always hold 
>    true? I mean if I request xyz.this_one_field will I always get back 
>    xyz.thisOneField? * 
>
>
>    
>
> Based on this document 
> <https://developers.google.com/google-ads/api/rest/design/json-mappings>, 
> identifiers are transformed from *snake_case* (in protocol buffers) to 
> *lowerCamelCase* in JSON. With this, you will need to mapped the returned 
> fields in the API response to the fields in the API request. Also, to this 
> question "*I mean if I request xyz.this_one_field will I always get back 
> xyz.thisOneField*?", this is indeed how it works.
>
> As for the fields omitted when they have no value, could you provide the 
> complete request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
> and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
> logs with request ID 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  
> and screenshot of this field in the UI to take a closer look? Please 
> provide this details via *Reply privately to author* option. 
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2H9btJ:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/408ef33f-5ce3-4fd7-b9be-02cd20d07aa9n%40googlegroups.com.

Reply via email to