We are transitioning from the .NET Google Ads Client to REST.  With both 
methods we use a Search Stream query.  We use the same exact query in both 
cases.  Unfortunately, string data returned by the REST calls for many 
columns is all uppercase and is sometimes different in other ways than 
that.  Here are some examples:

Query Column                                          .NET Client Value    
                 REST Value
campaign_budget.period                       CustomPeriod                  
        CUSTOM_PERIOD
campaign.advertising_channel_type    Video                                  
       VIDEO

Sometimes, data types are different also (this is not a big deal, but still 
strange).  Impressions and clicks are examples of that.  In REST they are 
string, and in .NET they are long.

Here are the pages for AdvertisingChannelType.  
Here is REST:
https://developers.google.com/google-ads/api/rest/reference/rest/v17/AdvertisingChannelType

Here is gRPC:
https://developers.google.com/google-ads/api/reference/rpc/v17/AdvertisingChannelTypeEnum.AdvertisingChannelType

They both show all results in uppercase.  Same for BudgetPeriod (they show 
the exact same results in the doc pages).  Is this just something that the 
.NET client is doing?  If not, how can I get consistent results other than 
manually mapping?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/f50e69cd-d7ae-4cec-8034-3963ed7e2d69n%40googlegroups.com.

Reply via email to