Hello, I've been trying to get the cost for every add but was not able to. 
I tried to get the cost_micros metric but it gives me a query error: 
unexpected input metrics.cost

This is my current query:

"SELECT campaign.id, "
. "ad_group.id, "
. "ad_group_ad.ad.id, "
. "ad_group_ad.ad.name, "
. "segments.date "
. "metrics.cost_micros "
. "FROM ad_group_ad "
. "WHERE segments.date DURING LAST_30_DAYS "
. "ORDER BY segments.date DESC";

All others work it's just the metrics.cost_micros that won't.

Any help is appreciated. Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/19a63163-4fc4-478e-87cc-21221343d99cn%40googlegroups.com.

Reply via email to