Hi,

Thank you for reaching out to the Google Ads API support team.

After verifying your account '6429714750' for the Campaign level data and 
Search term view level data. I couldn't observe any discrepancy and the Google 
Ads API is returning the same values as the UI. As you are trying to compare 
the campaign level data with Search term view level data which are different 
resources. So that is the reason you are seeing the difference in metric level 
data.

I have observed that you are comparing the metric data in the wrong way. Note 
that you should not compare metrics of the two different resources as they 
serve for different purposes. As the Campaign and Search term view are distinct 
and serve different purposes in the API. As the campaign resource provides the 
campaign level metrics data and the search term view with metrics aggregated by 
search term at the ad group level.

For example:

I have executed the query for the campaign '22045300920' and observed the 
results below which are the same as in the UI:

"query":"SELECT campaign.id, metrics.clicks, metrics.cost_micros, segments.date 
FROM campaign WHERE segments.date = '"'"'2024-12-28'"'"' AND campaign.id = 
22045300920"

I have executed for Search term view also and observed the results same as in 
the UI:

"query":"SELECT campaign.id, segments.date, metrics.clicks, metrics.cost_micros 
FROM search_term_view WHERE segments.date = '"'"'2024-12-28'"'"' AND 
campaign.id = 22045300920","summaryRowSetting":"SUMMARY_ROW_ONLY"


I hope this helps.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vGutY:ref" 
(ADR-00283755)

Thanks,

Google Ads API Team


Feedback
How was our support today?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit 
https://groups.google.com/d/msgid/adwords-api/dXDnG000000000000000000000000000000000000000000000SPV6K000JOlLgUX7S2ak-wueEDpL1Q%40sfdc.net.
  • Th... Márcio Galeno
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to