Hi, 
Thank you for your response. I extracted data from the adwords API and got 
the geo_target_segments. Some of the segments were Null. But in the newer 
ads API. Null segments are omitted. Is it possible to get the 
geo_target_region to not omit the null values. This would solve the problem 
of the cost not matching up. 
On Thursday, 20 January 2022 at 11:18:57 UTC+5:30 adsapi wrote:

> Hi,
>
> Thanks for reaching out to the Google Ads API Forum.
>
> Upon checking your GAQL, I can see that segment field were added in your 
> select clause causing this behavior. With this, you would need to ensure 
> that you are using the same fields, filters and date ranges in the API and 
> UI. The general rules of reconciling a report from reports in the Ads UI 
> with a report from the Ads API is to check that the "row fields" in the UI 
> reflect the segmenting fields of the API and that the filters in the UI 
> reflect the "WHERE" clause in the API.
>
> As you mentioned that when you removed segments.geo_target_region segment 
> field from your query, then cost_micros matches the same Ads UI console. 
> This is because segmentation causes the loss of any metric that doesn't fit 
> into each and every segment. For example, if you segment by target region, 
> then all metrics that occur in a rural area don't get reported in the 
> report that includes a target region segment. Adding more segmentation 
> could limit even more metrics.
>
> Hope this helps. Let us know if you have any further questions.
>
> Regards, 
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2VNQ16: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 
"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/c94819f8-cdd9-4776-ad7e-64087933c949n%40googlegroups.com.
  • Go... 'Sai ashish' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... 'Sai ashish' via Google Ads API and AdWords API Forum
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... 'Sai ashish' via Google Ads API and AdWords API Forum
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to