Hi Greg,
Upon checking this on my end, I was also able to replicate the same results
wherein the results only returns 1 row. I have filed a bug regarding this
and will update you with further information once available.
Regards,
Dannison
Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
On 03/29/19 03:20:28 [email protected] wrote:
Is there anyway to mimic the AdWords reporting segmentation with the Google
Ads API? My original AdWords query works great, something like:
SELECT HourOfDay, Cost FROM ACCOUNT_PERFORMANCE_REPORT DURING TODAY
I get a row back for each hour of the day that has data. My attempt at
replicating this with the Ads API:
SELECT segments.hour, metrics.cost_micros FROM customer WHERE segments.date
DURING TODAY
Only returns one row for the whole day. My search of the documentation
hasn't turned up anything helpful. Basically looking for a GROUP BY? Is
what I want even possible with the new API, or am I just out of luck? Will
I need to issue 24 requests to get the days data now?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/2e5dda14-f1ad-436b-8464-ef93af84594e%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/2e5dda14-f1ad-436b-8464-ef93af84594e%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/19h1gko0000000008su2fs0018sokaz68mj6c1i6go30c1g68r32chi%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.