Hi,

*SearchImpressionShare* is calculated for each day at a specific time, so 
you'll want to wait until after that time to retrieve that metric for the 
prior day.

For more information on when each metric is available, please see the Help 
Center article on data freshness 
<https://support.google.com/adwords/answer/2544985>.

Thanks,
Josh, AdWords API Team

On Tuesday, May 19, 2015 at 9:10:05 AM UTC-4, Alexander Falk wrote:
>
> 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/b25d1a9c-012b-4e26-b3a4-be95b8852071%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to