Hi,

I use the google ads api beta, try to take last month cost_micros for all 
my campaigns group by day, but, after testing and reading documentation, I 
still didn't find a solution to take every day of the last month like :

(month/day)
01/01 : cost_micros => 50000
01/02 : cost_micros => 40000
01/03 : cost_micros => 0
01/04 : cost_micros => 1000000
01/05 : cost_micros => 50000
...

Actually I make a while with a request like (php) : 

SELECT
    campaign.id,
    campaign.name,
    metrics.cost_micros
FROM campaign
WHERE campaign.status = "ENABLED" AND segments.date = "' . 
$startDate->format('Y-m-d') . '"';


Is exists a "one call" option to do this ? To avoid while and lot of call...

Thank you for your time

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6a46d76e-a56a-48cd-bc5a-2d7ad4ba9802%40googlegroups.com.

Reply via email to