Skip to content

Commit 6ad7ac5

Browse files
committed
DFP v201611 Release
1 parent 58219ec commit 6ad7ac5

249 files changed

Lines changed: 3754 additions & 2919 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
4.8.0 -- 11/29/16:
2+
* Added support for DFP v201611.
3+
* Removed support for DFP v201508 and v201511.
4+
* Removed examples for DFP v201602.
5+
* Resolved issues:
6+
Issue 138: https://github.com/googleads/googleads-python-lib/issues/138
7+
Issue 147: https://github.com/googleads/googleads-python-lib/issues/147
8+
Issue 152: https://github.com/googleads/googleads-python-lib/issues/152
9+
Issue 158: https://github.com/googleads/googleads-python-lib/issues/158
10+
Issue 162: https://github.com/googleads/googleads-python-lib/issues/162
11+
* Resolved Pull Requests:
12+
PR 163: https://github.com/googleads/googleads-python-lib/pull/163
13+
114
4.7.0 -- 10/25/16:
215
* Removed support for AdWords v201603.
316

examples/adwords/v201605/misc/upload_image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ def main(client, image_filename):
3737
# Initialize appropriate service.
3838
media_service = client.GetService('MediaService', version='v201605')
3939

40-
with open(image_filename, 'r') as image_handle:
41-
image_data = base64.encodestring(image_handle.read())
40+
with open(image_filename, 'rb') as image_handle:
41+
image_data = base64.encodestring(image_handle.read()).decode('utf-8')
4242

4343
# Construct media and upload image.
4444
media = [{

examples/adwords/v201607/misc/upload_image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ def main(client, image_filename):
3737
# Initialize appropriate service.
3838
media_service = client.GetService('MediaService', version='v201607')
3939

40-
with open(image_filename, 'r') as image_handle:
41-
image_data = base64.encodestring(image_handle.read())
40+
with open(image_filename, 'rb') as image_handle:
41+
image_data = base64.encodestring(image_handle.read()).decode('utf-8')
4242

4343
# Construct media and upload image.
4444
media = [{

examples/adwords/v201609/misc/upload_image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ def main(client, image_filename):
3737
# Initialize appropriate service.
3838
media_service = client.GetService('MediaService', version='v201609')
3939

40-
with open(image_filename, 'r') as image_handle:
41-
image_data = base64.encodestring(image_handle.read())
40+
with open(image_filename, 'rb') as image_handle:
41+
image_data = base64.encodestring(image_handle.read()).decode('utf-8')
4242

4343
# Construct media and upload image.
4444
media = [{

examples/dfp/v201602/activity_group_service/get_active_activity_groups.py

Lines changed: 0 additions & 69 deletions
This file was deleted.

examples/dfp/v201602/activity_service/get_active_activities.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

examples/dfp/v201602/company_service/get_advertisers.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

examples/dfp/v201602/contact_service/get_uninvited_contacts.py

Lines changed: 0 additions & 65 deletions
This file was deleted.

examples/dfp/v201602/content_metadata_key_hierarchy_service/get_all_content_metadata_key_hierarchies.py

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)