How to get Month-wise impression data using GAQL

76 views
Skip to first unread message

itservices itservices

unread,
May 30, 2022, 3:38:48 AM5/30/22
to Google Ads API and AdWords API Forum
I am building a graphical visualisation of the ads api data.
Here, i need months vs impressions Graph ie i need  impressions data on campaigns month-wise.

How do i build the query?
I tried the below Gaql->

SELECT segments.month, metrics.impressions FROM campaign WHERE segments.date > '2020-01-01'
AND segments.date < '2022-06-01'.

But this is giving me null result.
What am i doing wrong?is this same query applies for weekly/yearly datas
Please help me

Google Ads API Forum Advisor

unread,
May 30, 2022, 5:38:39 AM5/30/22
to itser...@unigage.com, adwor...@googlegroups.com

Hi,
 

Thanks for reaching out to the Google Ads API Support team.


With regard to your concern, so our team can better check this concern, could you provide the complete Ads API logs (request and response with request-id) to further investigation on this?
 

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.
 

Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2bF0rf:ref
Reply all
Reply to author
Forward
0 new messages