I pull daily campaign performance reports with the API and have noticed
that I never get a value for avg. Position in the Total - Search or Total -
Display Network networks, though I do get one for Total. Why is this? How
can I get/calculate avg. Position for Search and Display?
I use the googleads library (v 1.0.3) and my code looks like:
fields = ['Status', 'AdNetworkType1', 'Name', 'Amount', 'Clicks',
'Impressions', 'Ctr', 'AverageCpc', 'Cost', 'AveragePosition', 'Conversions'
, 'CostPerConversion', 'ConversionRate', 'TotalConvValue',
'ViewThroughConversions', 'TotalCost']
report_option = {
'reportName': 'Performance Report',
'dateRangeType': 'CUSTOM_DATE',
'reportType': 'CAMPAIGN_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'fields': fields,
'dateRange': {
'min': startDate.strftime('%Y%m%d'),
'max': endDate.strftime('%Y%m%d')
},
},
}
report = StringIO.StringIO()
report_downloader.DownloadReport(report_option, output=report,
return_money_in_micros=False)
content = report.getvalue().strip().split("\n")
cr = list(csv.reader(content))
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/e90a32df-ddf9-4136-9831-9501397d6ca7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.