Thank you for your help and clarification; I was able to successfully
retrieve a given hour after I adjusted the GAQL query for my .net code to:
SELECT campaign.name, campaign.id, metrics.cost_micros,
metrics.impressions, segments.hour FROM campaign WHERE segments.date
BETWEEN '{startDateString}' AND '{endDateString}' AND segments.hour =
{startHourToCaptureString}
Just to be absolutely certain then: there is no shorter duration than hour
that I may get retroactively, correct?
On Friday, February 9, 2024 at 9:27:10 AM UTC-5 Google Ads API Forum
Advisor wrote:
> Hi,
>
> Thank you for getting back to us.
>
> Apologies for the confusion. You can use segments.hour
> <https://developers.google.com/google-ads/api/fields/v15/segments#segments.hour>
>
> to fetch the data of a shorter duration than a day. I would recommend you
> to check this guide
> <https://developers.google.com/google-ads/api/docs/smart-campaigns/reporting#phone_calls_segmented_by_hour>
> on
> reporting for an example that uses segments.hour in the GAQL query.
>
> I hope this helps.
>
>
> This message is in relation to case "ref:!00D1U01174p.!5004Q02ryyKy:ref"
>
> Thanks,
>
> [image: Google Logo] Google Ads API Team
>
>
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8834a07d-1a6e-474d-a9ec-0ae4e7941448n%40googlegroups.com.