Hi,
I am working on Google Ads API  integration I need help.
I want to pull the data from API for a month with a filter
*My query*
SELECT metrics.average_cpm, segments.date FROM campaign WHERE campaign.name 
like '%CT-SK Display%' AND segments.date >= '2024-09-01' AND segments.date 
<= '2024-09-30'

This query will give me multiple records for each date
e.g for 1 Sep, it gives me 2 campaigns and also gives metric value for each 
campaign here I want to get the total of the metric for that day
I tried Summary Row with the result but it gives me the total metric value 
for the whole date range not for one date range.

I need to show the data in the graph for each day even if the user applied 
the filter on it.
I was adding all the values for each campaign but for metrics like 
metrics.average_cpm or CTR, it gives me the wrong value because we cannot 
sum up the percentage.

Is there any method or any way to get the total of each date despite having 
multiple values per day?
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/daaaa1cc-2dec-4db2-97f5-13143b007e28n%40googlegroups.com.

Reply via email to