I'm trying to use the Google Ads API to get the "served cost" for a 
campaign on a specific date.

I'm currently running this query to try to get that value:
SELECT campaign.name, campaign.status, metrics.cost_micros
FROM campaign
WHERE 
segments.date >= '2023-01-02' AND
segments.date < '2023-01-03' AND
campaign.name = 'the_campaign_name'

Also, I set the summary_row_setting = ...SUMMARY_ROW_WITH_RESULTS.

However, the value is not matching the "Served Cost" shown in the Google 
Ads Reports.

Does anyone know why there is a difference?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1cda7d72-7a7d-4a9a-a4a4-8c55427fd093n%40googlegroups.com.
  • Wh... 'Chris Sun' 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