Hello

I want to get hour of day data for campaigns with names containing certain 
phrases.

My current query is: 
SELECT segments.hour,  metrics.clicks, 
metrics.conversions_value,metrics.cost_micros, metrics.conversions FROM 
campaign WHERE campaign.name REGEXP_MATCH '.*{CAMPAIGN_CONTAINS}.*' AND 
segments.date BETWEEN {STARTDATE} AND ${ENDDATE} 

Despite the fact that I am not including campaign.name or campaign.id in 
the query, the rows that are returned are split by campaign. I don't want 
this. I want them to be grouped. 

I tried to see if I could get this data from the customer report type but 
you predictably can't apply campaign.name filters on a campaign report. 

Do I just need to give up and aggregate the data myself?  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6f915324-6618-45d3-a8b5-3e755478ad48n%40googlegroups.com.

Reply via email to