Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 692617a

Browse files
author
Jon Wayne Parrott
authored
Release v1.6.0 (googleapis#324)
* Update version and changelog for v1.6.0 * Update docs
1 parent 85c2c6d commit 692617a

File tree

636 files changed

+107934
-28791
lines changed

Some content is hidden

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

636 files changed

+107934
-28791
lines changed

CHANGELOG

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
v1.6.0
2+
Version 1.6.0
3+
4+
Release to drop support for Python 2.6 and add support for google-auth.
5+
6+
- Support for Python 2.6 has been dropped. (#319)
7+
- The credentials argument to discovery.build and discovery.build_from_document
8+
can be either oauth2client credentials or google-auth credentials. (#319)
9+
- discovery.build and discovery.build_from_document now unambiguously use the
10+
http argument to make all requests, including the request for the discovery
11+
document. (#319)
12+
- The http and credentials arguments to discovery.build and
13+
discovery.build_from_document are now mutually exclusive, eliminating a
14+
buggy edge case. (#319)
15+
- If neither http or credentials is specified to discovery.build and
16+
discovery.build_from_document, then Application Default Credentials will
17+
be used. The library prefers google-auth for this if it is available, but
18+
can also use oauth2client's implementation. (#319)
19+
- Fixed resumable upload failure when receiving a 308 response. (#312)
20+
- Clarified the support versions of Python 3. (#316)
21+
122
v1.5.5
223
Version 1.5.5
324

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ $ easy_install --upgrade google-api-python-client
1616
See the [Developers Guide](https://developers.google.com/api-client-library/python/start/get_started) for more detailed instructions and additional documentation.
1717

1818
# Python Version
19-
Python 2.6 or 2.7 are fully supported.
20-
21-
Python 3.3 and 3.4 are supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions.
19+
Python 2.7, 3.3, and 3.4 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions.
2220

2321
# Third Party Libraries and Dependencies
2422
The following libraries will be installed when you install the client library:

docs/dyn/adexchangebuyer_v1_3.creatives.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h3>Method Details</h3>
111111
"A String",
112112
],
113113
"accountId": 42, # Account id.
114-
"videoURL": "A String", # The url to fetch a video ad. If set, HTMLSnippet should not be set.
114+
"videoURL": "A String", # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set.
115115
"clickThroughUrl": [ # The set of destination urls for the snippet.
116116
"A String",
117117
],
@@ -212,7 +212,7 @@ <h3>Method Details</h3>
212212
"A String",
213213
],
214214
"accountId": 42, # Account id.
215-
"videoURL": "A String", # The url to fetch a video ad. If set, HTMLSnippet should not be set.
215+
"videoURL": "A String", # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set.
216216
"clickThroughUrl": [ # The set of destination urls for the snippet.
217217
"A String",
218218
],
@@ -308,7 +308,7 @@ <h3>Method Details</h3>
308308
"A String",
309309
],
310310
"accountId": 42, # Account id.
311-
"videoURL": "A String", # The url to fetch a video ad. If set, HTMLSnippet should not be set.
311+
"videoURL": "A String", # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set.
312312
"clickThroughUrl": [ # The set of destination urls for the snippet.
313313
"A String",
314314
],
@@ -422,7 +422,7 @@ <h3>Method Details</h3>
422422
"A String",
423423
],
424424
"accountId": 42, # Account id.
425-
"videoURL": "A String", # The url to fetch a video ad. If set, HTMLSnippet should not be set.
425+
"videoURL": "A String", # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set.
426426
"clickThroughUrl": [ # The set of destination urls for the snippet.
427427
"A String",
428428
],

docs/dyn/adexchangebuyer_v1_4.accounts.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,11 @@ <h3>Method Details</h3>
110110
# - US_EAST
111111
# - US_WEST
112112
"maximumQps": 42, # The maximum queries per second the Ad Exchange will send.
113-
"bidProtocol": "A String", # The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.3 right now. Allowed values:
113+
"bidProtocol": "A String", # The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.4 right now. Allowed values:
114114
# - PROTOCOL_ADX
115115
# - PROTOCOL_OPENRTB_2_2
116116
# - PROTOCOL_OPENRTB_2_3
117+
# - PROTOCOL_OPENRTB_2_4
117118
# - PROTOCOL_OPENRTB_PROTOBUF
118119
},
119120
],
@@ -148,10 +149,11 @@ <h3>Method Details</h3>
148149
# - US_EAST
149150
# - US_WEST
150151
"maximumQps": 42, # The maximum queries per second the Ad Exchange will send.
151-
"bidProtocol": "A String", # The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.3 right now. Allowed values:
152+
"bidProtocol": "A String", # The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.4 right now. Allowed values:
152153
# - PROTOCOL_ADX
153154
# - PROTOCOL_OPENRTB_2_2
154155
# - PROTOCOL_OPENRTB_2_3
156+
# - PROTOCOL_OPENRTB_2_4
155157
# - PROTOCOL_OPENRTB_PROTOBUF
156158
},
157159
],
@@ -187,10 +189,11 @@ <h3>Method Details</h3>
187189
# - US_EAST
188190
# - US_WEST
189191
"maximumQps": 42, # The maximum queries per second the Ad Exchange will send.
190-
"bidProtocol": "A String", # The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.3 right now. Allowed values:
192+
"bidProtocol": "A String", # The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.4 right now. Allowed values:
191193
# - PROTOCOL_ADX
192194
# - PROTOCOL_OPENRTB_2_2
193195
# - PROTOCOL_OPENRTB_2_3
196+
# - PROTOCOL_OPENRTB_2_4
194197
# - PROTOCOL_OPENRTB_PROTOBUF
195198
},
196199
],
@@ -218,10 +221,11 @@ <h3>Method Details</h3>
218221
# - US_EAST
219222
# - US_WEST
220223
"maximumQps": 42, # The maximum queries per second the Ad Exchange will send.
221-
"bidProtocol": "A String", # The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.3 right now. Allowed values:
224+
"bidProtocol": "A String", # The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.4 right now. Allowed values:
222225
# - PROTOCOL_ADX
223226
# - PROTOCOL_OPENRTB_2_2
224227
# - PROTOCOL_OPENRTB_2_3
228+
# - PROTOCOL_OPENRTB_2_4
225229
# - PROTOCOL_OPENRTB_PROTOBUF
226230
},
227231
],
@@ -254,10 +258,11 @@ <h3>Method Details</h3>
254258
# - US_EAST
255259
# - US_WEST
256260
"maximumQps": 42, # The maximum queries per second the Ad Exchange will send.
257-
"bidProtocol": "A String", # The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.3 right now. Allowed values:
261+
"bidProtocol": "A String", # The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.4 right now. Allowed values:
258262
# - PROTOCOL_ADX
259263
# - PROTOCOL_OPENRTB_2_2
260264
# - PROTOCOL_OPENRTB_2_3
265+
# - PROTOCOL_OPENRTB_2_4
261266
# - PROTOCOL_OPENRTB_PROTOBUF
262267
},
263268
],
@@ -285,10 +290,11 @@ <h3>Method Details</h3>
285290
# - US_EAST
286291
# - US_WEST
287292
"maximumQps": 42, # The maximum queries per second the Ad Exchange will send.
288-
"bidProtocol": "A String", # The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.3 right now. Allowed values:
293+
"bidProtocol": "A String", # The protocol that the bidder endpoint is using. By default, OpenRTB protocols use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses protobuf encoding over the latest OpenRTB protocol version, which is 2.4 right now. Allowed values:
289294
# - PROTOCOL_ADX
290295
# - PROTOCOL_OPENRTB_2_2
291296
# - PROTOCOL_OPENRTB_2_3
297+
# - PROTOCOL_OPENRTB_2_4
292298
# - PROTOCOL_OPENRTB_PROTOBUF
293299
},
294300
],

docs/dyn/adexchangebuyer_v1_4.creatives.html

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ <h3>Method Details</h3>
132132
"A String",
133133
],
134134
"accountId": 42, # Account id.
135-
"videoURL": "A String", # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set. Note, this is diffrent from resource.native_ad.video_url above.
135+
"videoURL": "A String", # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.
136136
"clickThroughUrl": [ # The set of destination urls for the snippet.
137137
"A String",
138138
],
@@ -144,7 +144,7 @@ <h3>Method Details</h3>
144144
"body": "A String", # A long description of the ad.
145145
"advertiser": "A String",
146146
"store": "A String", # The URL to the app store to purchase/download the promoted app.
147-
"videoURL": "A String",
147+
"videoURL": "A String", # The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.
148148
"headline": "A String", # A short title for the ad.
149149
"image": { # A large image.
150150
"url": "A String",
@@ -168,6 +168,7 @@ <h3>Method Details</h3>
168168
],
169169
"price": "A String", # The price of the promoted app including the currency info.
170170
"clickTrackingUrl": "A String", # The URL to use for click tracking.
171+
"clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
171172
},
172173
"version": 42, # The version for this creative. Read-only. This field should not be set in requests.
173174
"apiUploadTimestamp": "A String", # The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).
@@ -275,7 +276,7 @@ <h3>Method Details</h3>
275276
"A String",
276277
],
277278
"accountId": 42, # Account id.
278-
"videoURL": "A String", # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set. Note, this is diffrent from resource.native_ad.video_url above.
279+
"videoURL": "A String", # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.
279280
"clickThroughUrl": [ # The set of destination urls for the snippet.
280281
"A String",
281282
],
@@ -287,7 +288,7 @@ <h3>Method Details</h3>
287288
"body": "A String", # A long description of the ad.
288289
"advertiser": "A String",
289290
"store": "A String", # The URL to the app store to purchase/download the promoted app.
290-
"videoURL": "A String",
291+
"videoURL": "A String", # The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.
291292
"headline": "A String", # A short title for the ad.
292293
"image": { # A large image.
293294
"url": "A String",
@@ -311,6 +312,7 @@ <h3>Method Details</h3>
311312
],
312313
"price": "A String", # The price of the promoted app including the currency info.
313314
"clickTrackingUrl": "A String", # The URL to use for click tracking.
315+
"clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
314316
},
315317
"version": 42, # The version for this creative. Read-only. This field should not be set in requests.
316318
"apiUploadTimestamp": "A String", # The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).
@@ -413,7 +415,7 @@ <h3>Method Details</h3>
413415
"A String",
414416
],
415417
"accountId": 42, # Account id.
416-
"videoURL": "A String", # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set. Note, this is diffrent from resource.native_ad.video_url above.
418+
"videoURL": "A String", # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.
417419
"clickThroughUrl": [ # The set of destination urls for the snippet.
418420
"A String",
419421
],
@@ -425,7 +427,7 @@ <h3>Method Details</h3>
425427
"body": "A String", # A long description of the ad.
426428
"advertiser": "A String",
427429
"store": "A String", # The URL to the app store to purchase/download the promoted app.
428-
"videoURL": "A String",
430+
"videoURL": "A String", # The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.
429431
"headline": "A String", # A short title for the ad.
430432
"image": { # A large image.
431433
"url": "A String",
@@ -449,6 +451,7 @@ <h3>Method Details</h3>
449451
],
450452
"price": "A String", # The price of the promoted app including the currency info.
451453
"clickTrackingUrl": "A String", # The URL to use for click tracking.
454+
"clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
452455
},
453456
"version": 42, # The version for this creative. Read-only. This field should not be set in requests.
454457
"apiUploadTimestamp": "A String", # The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).
@@ -576,7 +579,7 @@ <h3>Method Details</h3>
576579
"A String",
577580
],
578581
"accountId": 42, # Account id.
579-
"videoURL": "A String", # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set. Note, this is diffrent from resource.native_ad.video_url above.
582+
"videoURL": "A String", # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.
580583
"clickThroughUrl": [ # The set of destination urls for the snippet.
581584
"A String",
582585
],
@@ -588,7 +591,7 @@ <h3>Method Details</h3>
588591
"body": "A String", # A long description of the ad.
589592
"advertiser": "A String",
590593
"store": "A String", # The URL to the app store to purchase/download the promoted app.
591-
"videoURL": "A String",
594+
"videoURL": "A String", # The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.
592595
"headline": "A String", # A short title for the ad.
593596
"image": { # A large image.
594597
"url": "A String",
@@ -612,6 +615,7 @@ <h3>Method Details</h3>
612615
],
613616
"price": "A String", # The price of the promoted app including the currency info.
614617
"clickTrackingUrl": "A String", # The URL to use for click tracking.
618+
"clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
615619
},
616620
"version": 42, # The version for this creative. Read-only. This field should not be set in requests.
617621
"apiUploadTimestamp": "A String", # The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).

0 commit comments

Comments
 (0)