Hello All,
New to google adwords, now I am trying to fetch the data from keyword
performance report. The following code is an example, based on the document
(https://developers.google.com/adwords/api/docs/appendix/reports/keywords-performance-report
), I want to fetch some values from attributes, segments and metrics
altogether
report_downloader = client.GetReportDownloader(version='v201809')
columns=['AccountCurrencyCode', 'AccountDescriptiveName', 'Date',
'AbsoluteTopImpressionPercentage', 'SearchAbsoluteTopImpressionShare' ]
str=','.join(columns)
# Create report query.
report_query = (adwords.ReportQueryBuilder().Select( str).From(
'KEYWORDS_PERFORMANCE_REPORT').Where('CampaignStatus').In('ENABLED',
'PAUSED').During('LAST_7_DAYS').Build())
This report does return something, but the data returned is wired.
"USD" "Pangea - Main" "2018-11-18" "0.00" " "
"USD" "Pangea - Main" "0" "0" "0"
"USD" "Pangea - Main" "0.00%" "0" "0"
"USD" "Pangea - Main" "0" "0" " "
"USD" "Pangea - Main" "2018-11-19" "0.00" " "
"USD" "Pangea - Main" "0" "0" "0"
"USD" "Pangea - Main" "0.00" "2018-11-16" "0"
The third column (date) should be a date type, but as you can see, it has
many wired data, same as the fourth and fifth column.
Can I really mix these three section together in one report?
Thank you
Yang
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/441bdbdc-6fee-4f78-b43d-c0d0465c75de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.