Hi all,

I'm trying (and succeeding) to get Campaign Cost ouf the API.

For a Campaign, for date range X (say, a month), The GUI says 5000 euros. 
For the same date range, the API says 4000 euros.

I can't work out why they're different. Doesn't look like a rounding issue.

Trying a shorter date range (say, a week) gives me a smaller (but not 
insignificant) error. We're talking over 100 euros different here.

This is campaign level cost, not adgroup or location. What's the problem?

My API query looks like:
query = f"""SELECT campaign.id,
segments.date,
metrics.top_impression_percentage,
metrics.conversions_from_interactions_rate,
metrics.conversions,
metrics.clicks,
metrics.ctr,
metrics.cost_micros
FROM campaign
WHERE segments.date = '{yesterday}'
"""

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8439e9f2-410a-4d7e-a5aa-1acbeb4b1845n%40googlegroups.com.
  • Di... Laurie McIntosh
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to