empty report

35 views
Skip to first unread message

apitest2...@gmail.com

unread,
Apr 13, 2018, 6:46:06 AM4/13/18
to AdWords API Forum
i'm using a DownloadCriteriaReportWithSelector or DownloadCriteriaReportWithAwql from php-lib examples v201802 and i'm geting csv without any values.
log from console:

with selector :
 [2018-04-13 08:21:19] AW_REPORT_DOWNLOADER.INFO: clientCustomerId=400-828-5039 test (AwApi-PHP, googleads-php-lib/34.0.0, PHP/7.2.4, GuzzleHttp/6.3.2, curl/7.59.0) "POST /api/adwords/reportdownload/v201802 HTTP/1.1" Status: 200
Report with name 'Criteria performance report #5ad0687d8aa14' was downloaded to 'C:\Users\MichalBoryczko\AppData\Local\Temp\cri5F3D.tmp.csv'.

and csv 

"Criteria performance report #5ad04f25546c6 (Apr 6, 2018-Apr 12, 2018)"
Campaign ID,Ad group ID,Keyword ID,Keyword / Placement,Criteria Type,Impressions,Clicks,Cost
Total, --, --, --, --,0,0,0

with awql

[2018-04-13 08:29:27] AW_REPORT_DOWNLOADER.INFO: clientCustomerId=400-828-5039 mjhallll (AwApi-PHP, googleads-php-lib/34.0.0, PHP/7.2.4, GuzzleHttp/6.3.2, curl/7.59.0, ReportQueryBuilder) "POST /api/adwords/reportdownload/v201802 HTTP/1.1" Status: 200
Report was downloaded and printed below:
"CRITERIA_PERFORMANCE_REPORT (Apr 6, 2018-Apr 12, 2018)"
Campaign ID,Campaign,Ad group ID,Keyword ID,Keyword / Placement,Criteria Type,Impressions,Clicks,Cost
Total, --, --, --, --, --,0,0,0



i know i am using a test account so i don't have any data but i am thinking i should got a campaign id 

Bharani Cherukuri (AdWords API Team)

unread,
Apr 13, 2018, 1:25:02 PM4/13/18
to AdWords API Forum
Hello, 

Thank you for sharing the details. Since you're pulling the report for test accounts, please note that values for Impressions, Cost will be zero. So you will need to make sure that you set the includeZeroImpressions to true in the request header. When set to true, reports will not exclude any rows based on metric values, and will include those with zero impressions.

Can you try this setting and see if this resolves your issue? 

Regards,
Bharani, AdWords API Team
Reply all
Reply to author
Forward
0 new messages