Skip to content

Commit

Permalink
feat(displayvideo)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### displayvideo:v1
The following keys were deleted:
- parameters.access_token.description
- parameters.access_token.location
- parameters.access_token.type
- parameters.oauth_token.description
- parameters.oauth_token.location
- parameters.oauth_token.type

The following keys were changed:
- resources.advertisers.resources.channels.methods.get.description
- resources.partners.resources.channels.methods.get.description
- schemas.Creative.properties.lineItemIds.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jun 16, 2020
1 parent 4590a48 commit 5b9ce8e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 25 deletions.
18 changes: 4 additions & 14 deletions discovery/displayvideo-v1.json
Expand Up @@ -43,11 +43,6 @@
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"alt": {
"default": "json",
"description": "Data format for response.",
Expand Down Expand Up @@ -79,11 +74,6 @@
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
Expand Down Expand Up @@ -578,7 +568,7 @@
"channels": {
"methods": {
"get": {
"description": "Gets a channel for a partner or advertiser.",
"description": "Updates an existing inventory source.\nReturns the updated inventory source if successful.\nGets a channel for a partner or advertiser.",
"flatPath": "v1/advertisers/{advertisersId}/channels/{channelsId}",
"httpMethod": "GET",
"id": "displayvideo.advertisers.channels.get",
Expand Down Expand Up @@ -3953,7 +3943,7 @@
"channels": {
"methods": {
"get": {
"description": "Gets a channel for a partner or advertiser.",
"description": "Updates an existing inventory source.\nReturns the updated inventory source if successful.\nGets a channel for a partner or advertiser.",
"flatPath": "v1/partners/{partnersId}/channels/{channelsId}",
"httpMethod": "GET",
"id": "displayvideo.partners.channels.get",
Expand Down Expand Up @@ -4529,7 +4519,7 @@
}
}
},
"revision": "20200602",
"revision": "20200611",
"rootUrl": "https://displayvideo.googleapis.com/",
"schemas": {
"ActiveViewVideoViewabilityMetricConfig": {
Expand Down Expand Up @@ -6624,7 +6614,7 @@
"type": "string"
},
"lineItemIds": {
"description": "Output only. The IDs of the line items this creative associated with.\n\nTo associate a creative to a line item, use\nLineItem.creative_ids instead.",
"description": "Output only. The IDs of the line items this creative is associated with.\n\nTo associate a creative to a line item, use\nLineItem.creative_ids instead.",
"items": {
"format": "int64",
"type": "string"
Expand Down
14 changes: 3 additions & 11 deletions src/apis/displayvideo/v1.ts
Expand Up @@ -56,10 +56,6 @@ export namespace displayvideo_v1 {
* V1 error format.
*/
'$.xgafv'?: string;
/**
* OAuth access token.
*/
access_token?: string;
/**
* Data format for response.
*/
Expand All @@ -76,10 +72,6 @@ export namespace displayvideo_v1 {
* API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
*/
key?: string;
/**
* OAuth 2.0 token for the current user.
*/
oauth_token?: string;
/**
* Returns response with indentations and line breaks.
*/
Expand Down Expand Up @@ -1358,7 +1350,7 @@ export namespace displayvideo_v1 {
*/
jsTrackerUrl?: string | null;
/**
* Output only. The IDs of the line items this creative associated with. To associate a creative to a line item, use LineItem.creative_ids instead.
* Output only. The IDs of the line items this creative is associated with. To associate a creative to a line item, use LineItem.creative_ids instead.
*/
lineItemIds?: string[] | null;
/**
Expand Down Expand Up @@ -5982,7 +5974,7 @@ export namespace displayvideo_v1 {

/**
* displayvideo.advertisers.channels.get
* @desc Gets a channel for a partner or advertiser.
* @desc Updates an existing inventory source. Returns the updated inventory source if successful. Gets a channel for a partner or advertiser.
* @example
* // Before running the sample:
* // - Enable the API at:
Expand Down Expand Up @@ -19284,7 +19276,7 @@ export namespace displayvideo_v1 {

/**
* displayvideo.partners.channels.get
* @desc Gets a channel for a partner or advertiser.
* @desc Updates an existing inventory source. Returns the updated inventory source if successful. Gets a channel for a partner or advertiser.
* @example
* // Before running the sample:
* // - Enable the API at:
Expand Down

0 comments on commit 5b9ce8e

Please sign in to comment.