I'm downloading keyword performance data into a SQL database for further 
analysis using the reporting API in Python. When I download data for 
exactly one day in the past, everything works fine and in the report XML 
file I get SearchImpressionShare data reported nicely for any single day in 
the past, except for yesterday.

The report definition I use is:


  # Create report definition.
  # See 
https://developers.google.com/adwords/api/docs/appendix/reports/keywords-performance-report
 
for available fields
  report = {
      'reportName': 'Yesterday KEYWORDS_PERFORMANCE_REPORT',
      'dateRangeType': 'CUSTOM_DATE',
      'reportType': 'KEYWORDS_PERFORMANCE_REPORT',
      'downloadFormat': 'XML',
      'selector': {
          'fields': ['CampaignId', 'AdGroupId', 'Id', # 'CriteriaType',
                     # 'Criteria', 'FinalUrls', 
                     'Impressions', 'Clicks', 'ConvertedClicks', 'Cost', 
                     'AverageCpc', 'AverageCpm', 'AveragePosition', 'Ctr', 
                     'ClickConversionRate', 'CostPerConvertedClick', 
'QualityScore',
                     'FirstPageCpc', 'TopOfPageCpc', 'SearchImpressionShare'
],
          'predicates': {
              'field': 'Status',
              'operator': 'IN',
              'values': ['ENABLED', 'PAUSED'],
              },
          'dateRange': {
              'min': datum,
              'max': datum,
              }
          },
      # Enable to get rows with zero impressions.
      'includeZeroImpressions': 'false'
  }


If the datum is any day in the past, the resulting XML report file that I 
receive has data in the SearchImpressionShare attribute. If I use 
yesterday's date, I get "--" for every single SearchImpressionShare 
attribute in all 4000 or so keywords.

Similarly, if I change the report definition to explicitly use 'YESTERDAY' 
instead of a custom date range, I also get "--" for the 
SearchImpressionShare attribute:


  report = {
      'reportName': 'Yesterday KEYWORDS_PERFORMANCE_REPORT',
      'dateRangeType': 'YESTERDAY',
      'reportType': 'KEYWORDS_PERFORMANCE_REPORT',
      'downloadFormat': 'XML',
      'selector': {
          'fields': ['CampaignId', 'AdGroupId', 'Id', # 'CriteriaType',
                     # 'Criteria', 'FinalUrls', 
                     'Impressions', 'Clicks', 'ConvertedClicks', 'Cost', 
                     'AverageCpc', 'AverageCpm', 'AveragePosition', 'Ctr', 
                     'ClickConversionRate', 'CostPerConvertedClick', 
'QualityScore',
                     'FirstPageCpc', 'TopOfPageCpc', 'SearchImpressionShare'
],
          'predicates': {
              'field': 'Status',
              'operator': 'IN',
              'values': ['ENABLED', 'PAUSED']
          }
      },
      # Enable to get rows with zero impressions.
      'includeZeroImpressions': 'false'
  }



Does anybody know what's going on here? Is this a known issue?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5758b775-1beb-42be-b94c-b6d5d3afa0ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to