Adwords Report issue

61 views
Skip to first unread message

msmeta...@gmail.com

unread,
Dec 17, 2015, 8:57:48 AM12/17/15
to AdWords API Forum

hey,
I'm running adwords script in python, using production account with approved token.

I'm trying to fetch report in my terminal

I used report for "FINAL_URL_REPORT"
I changed in my script, below my script I used to get response.

report = {
     
'reportName': 'Last 7 days FINAL_URL_REPORT',
     
'dateRangeType': 'TODAY',
     
'reportType': 'FINAL_URL_REPORT',
     
'downloadFormat': 'CSV',
     
'selector': {
         
'fields': ['CampaignId', 'CampaignName', 'CampaignStatus',
                     
'ClickType', 'ConversionRate', 'Conversions', 'AverageCpc']
     
}
 
}


  report_downloader
.DownloadReport(
      report
, sys.stdout, skip_report_header=False, skip_column_header=False,
      skip_report_summary
=False, include_zero_impressions=False)

I'm using my client ClientCustomerId who have 1 campaign enabled and it contains large numbers of group.
below is screenshot for it.




ISSUE: Whenever I'm trying to call api using my terminal, it return only headers, (It should return with data)
Below I paste my response.

(env)root@510:/var/www/googleads/googleads-python-lib-master/examples/adwords/v201509/reporting# python download_criteria_report.py
INFO
:oauth2client.client:Refreshing access_token
DEBUG
:suds.transport.http:opening (https://adwords.google.com/api/adwords/reportdownload/v201509/reportDefinition.xsd)
DEBUG
:suds.transport.http:opening (https://adwords.google.com/api/adwords/reportdownload/v201509/reportDefinition.xsd)
"Last 7 days FINAL_URL_REPORT (Dec 17, 2015)"
Campaign ID,Campaign,Campaign state,Click type,Conv. rate,Conversions,Avg. CPC

Is anything I missed? why I can't see any data?

Anthony Madrigal

unread,
Dec 17, 2015, 4:44:32 PM12/17/15
to AdWords API Forum
Hi,

Could you try adding the field EffectiveFinalUrl to your report to see if that changes anything? Another possibility of why there is no data returning is that you have include_zero_impressions=False. The Urls may not have received any impressions that day, so it is not being returned. Try setting that to True and see if data is returned.

Please let me know if there is still no data returning.

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