Recover the total impressions of all keywords

15 views
Skip to first unread message

etienne....@admobio.com

unread,
Dec 4, 2015, 3:18:09 PM12/4/15
to AdWords API Forum
Hi,

Is it possible to recover the total impressions of all keywords and also the total number of all QualityScore from all campaign inside an account.

I can already do it with a "For Each" by creating a loop through the results but I was wondering if it was possible to return the result via the reports directly.

Here is my current formula:

$dateRange = "LAST_14_DAYS";

$reportQuery 
= '
SELECT QualityScore, Impressions
FROM CRITERIA_PERFORMANCE_REPORT
Status WHERE IN [ENABLED, PAUSED]
AND Impressions> 1
Pendant '
. $dateRange;

Thank you, your help is appreciated.

Anthony Madrigal

unread,
Dec 4, 2015, 4:37:47 PM12/4/15
to AdWords API Forum
Hi,

You could use the Keywords Performance Report instead. This report contains both Impressions and QualityScore. Don't forget to set skipReportSummary to false to get the total number of impressions and keywords.

Cheers,
Anthony
AdWords API Team
Reply all
Reply to author
Forward
0 new messages