Thanks. 
Yes, I asked since I didn't see that kind of mapping documented. 

*"The mapping I shared with you earlier is the field mapping between the 
AdWords API and Google Ads API."*
Yes, I understood that, thank you.

*"You could simply tell..."  *
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). 

*"the only difference is that one uses snake naming convention and the 
other uses camel"*
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*? 

Or... are there exceptions to this rule?  

Thanks once again.




On Monday, May 10, 2021 at 3:56:23 PM UTC-4 adsapiforumadvisor wrote:

> Hi Peter,
>
> Thank you for reaching out. Actually this is a good question. However, 
> there isn’t any mapping for the field names in different return formats. 
> You could simply tell they are the same attributes by looking at the names. 
> For example, metrics.average_cpc and metrics.averageCpc are the same 
> thing and the only difference is that one uses snake naming convention and 
> the other uses camel. The mapping I shared with you earlier is the field 
> mapping between the AdWords API and Google Ads API.
>
>
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>  
>
> [image: Google Logo] 
> Xiaoming 
> 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/df973082-12cf-448f-abdc-90663935df2en%40googlegroups.com.

Reply via email to