Hi,

Finally I had a time to test it (and also to learn the new API) and it's 
working there, even with extra segments!

"SELECT campaign.id, "
+ "ad_group.id, "
+ "metrics.all_conversions, "
+ "metrics.all_conversions_value, "
+ "segments.device, "
+ "segments.date, "
+ "segments.hour "
+ "FROM ad_group "
+ "WHERE segments.date DURING LAST_30_DAYS AND metrics.all_conversions>0";

Thanks

On Thursday, May 13, 2021 at 10:33:14 PM UTC+3 adsapiforumadvisor wrote:

> Hi Dmitry,
>
> Thank you for reaching out. Please give it a try to query both the 
> segments.hour 
> <https://developers.google.com/google-ads/api/fields/v7/ad_group#segments.hour>
>  
> and metrics.all_conversions_value 
> <https://developers.google.com/google-ads/api/fields/v7/ad_group#metrics.all_conversions_value>
>  from 
> the ad_group 
> <https://developers.google.com/google-ads/api/fields/v7/ad_group> 
> resource.
>
>
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>  
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2HAaNU:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9d0f1586-1c90-41f5-8d5a-86753965496bn%40googlegroups.com.

Reply via email to