Skip to content
Permalink
Browse files

Fix TypeError: search_analytics_api_sample.py #732 (#742)

Solution given by thedataboi
  • Loading branch information...
alvaroseparovich authored and busunkim96 committed Aug 19, 2019
1 parent a302802 commit 360fcfbb92c72f7726e773b213291fe6bba6b14a
Showing with 1 addition and 1 deletion.
  1. +1 −1 samples/searchconsole/search_analytics_api_sample.py
@@ -190,7 +190,7 @@ def print_table(response, title):
keys = ''
# Keys are returned only if one or more dimensions are requested.
if 'keys' in row:
keys = u','.join(row['keys']).encode('utf-8')
keys = u','.join(row['keys']).encode('utf-8').decode()
print(row_format.format(
keys, row['clicks'], row['impressions'], row['ctr'], row['position']))

0 comments on commit 360fcfb

Please sign in to comment.
You can’t perform that action at this time.