Hello Yevhen,
Michael here from Google Ads API Team. Thank you for reaching out to us.
With regards to your concern, I'm afraid that there isn't way to make subquery in Google ads query language, however, you may use below GAQL to get the performance data for at the Ad level.
SELECT ad_group_ad.ad.name, metrics.impressions FROM ad_group_ad WHERE metrics.impressions > 1000
To get the data at Ad_group level, you may use below GAQL:
SELECT ad_group.name, ad_group.id, metrics.impressions FROM ad_group WHERE metrics.impressions > 1000
In addition, you may also utilize the Google Ads query builder should you need to output other resources. Furthermore, if you are expecting data that you are seeing on the Ads UI, then you may provide us the complete Ads UI screenshot without cropping via reply privately to author option, so that we can check better.
Regards,
|
||||||