Hi, I think I found the reason, I parsed the returned CSV incorrectly. Sorry
Yang On Tuesday, November 20, 2018 at 4:53:13 PM UTC-6, Dannison Yao (AdWords API Team) wrote: > > Hi Yang, > > Could you provide me the clientCustomerId you used so I could further > check this? You may provide them to me using the *reply privately to > author* option. > > Regards, > Dannison > AdWords API Team > > On Wednesday, November 21, 2018 at 5:26:01 AM UTC+8, [email protected] > <javascript:> wrote: >> >> 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/3f05b87a-9876-48bb-9916-0791c7b2f9a2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
