Hi Petros, Can you provide your clientCustomerId as well so I can further investigate the issue on my end? You can send it to me via *Reply privately to author*.
Thanks, Luis AdWords API Team On Friday, November 9, 2018 at 7:49:35 AM UTC+8, petrosdawit96 wrote: > > for more context, the _get_adwords_metrics call this: > > def _get_adwords_metrics(self, report_query, zero_impressions=False): > retry = 0 > while retry < RETRY_LIMIT: > try: > results = > self.report_downloader.DownloadReportAsStringWithAwql( > report_query, > 'CSV', > skip_report_header=True, > skip_column_header=False, > skip_report_summary=True, > include_zero_impressions=zero_impressions > ) > return self._csv_to_list(results) > except: > self.logger.exception('download report failed. retrying... > ' > 'The query was > {}'.format(report_query)) > retry += 1 > > and when i look at the result returned (the download string), I can see > that there is an empty criterion_id. > > On Thursday, November 8, 2018 at 3:46:27 PM UTC-8, petros... wrote: >> >> Hi, >> >> As the title suggests, I'm getting back ' --' for criterion_id. >> >> Here is my query: >> >> def get_placements_level_data(self, days_in_duration, till_days_ago): >> report_query = (adwords.ReportQueryBuilder() >> .Select('AdGroupId', 'AllConversions', >> 'BiddingStrategyName', 'BiddingStrategyType', >> 'CampaignName', 'CampaignId', 'Clicks', >> 'Conversions', 'Cost', 'CpcBid', >> 'CpmBid', 'Criteria', 'Id', >> 'Impressions', 'IsNegative', 'IsRestrict', >> 'VideoViews') >> .From('PLACEMENT_PERFORMANCE_REPORT') >> .During(utils.generate_duration(days_in_duration, >> till_days_ago)) >> .Build()) >> return self._get_adwords_metrics(report_query) >> >> I'm working on version v201802. >> >> I can't figure out why this is the case. In the ui, I can see the ids for >> the account I'm running this on. >> >> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. 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/10bae4a6-7d8f-459b-b721-fa65be9e89fc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.