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,

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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ublNR000000000000000000000000000000000000000000000R5ZUT800VP8IYcebQZm_20nIYlL2NA%40sfdc.net.
  • 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