Skip to content

Commit ef2619d

Browse files
yoshi-automationsofisl
authored andcommitted
feat(displayvideo): update the API
#### displayvideo:v2 The following keys were added: - schemas.VideoAdInventoryControl.description - schemas.VideoAdInventoryControl.id - schemas.VideoAdInventoryControl.properties.allowInFeed.description - schemas.VideoAdInventoryControl.properties.allowInFeed.type - schemas.VideoAdInventoryControl.properties.allowInStream.description - schemas.VideoAdInventoryControl.properties.allowInStream.type - schemas.VideoAdInventoryControl.properties.allowShorts.description - schemas.VideoAdInventoryControl.properties.allowShorts.type - schemas.VideoAdInventoryControl.type - schemas.YoutubeAndPartnersSettings.properties.videoAdInventoryControl.$ref - schemas.YoutubeAndPartnersSettings.properties.videoAdInventoryControl.description #### displayvideo:v3 The following keys were added: - schemas.VideoAdInventoryControl.description - schemas.VideoAdInventoryControl.id - schemas.VideoAdInventoryControl.properties.allowInFeed.description - schemas.VideoAdInventoryControl.properties.allowInFeed.type - schemas.VideoAdInventoryControl.properties.allowInStream.description - schemas.VideoAdInventoryControl.properties.allowInStream.type - schemas.VideoAdInventoryControl.properties.allowShorts.description - schemas.VideoAdInventoryControl.properties.allowShorts.type - schemas.VideoAdInventoryControl.type - schemas.YoutubeAndPartnersSettings.properties.videoAdInventoryControl.$ref - schemas.YoutubeAndPartnersSettings.properties.videoAdInventoryControl.description #### displayvideo:v4 The following keys were added: - schemas.VideoAdInventoryControl.description - schemas.VideoAdInventoryControl.id - schemas.VideoAdInventoryControl.properties.allowInFeed.description - schemas.VideoAdInventoryControl.properties.allowInFeed.type - schemas.VideoAdInventoryControl.properties.allowInStream.description - schemas.VideoAdInventoryControl.properties.allowInStream.type - schemas.VideoAdInventoryControl.properties.allowShorts.description - schemas.VideoAdInventoryControl.properties.allowShorts.type - schemas.VideoAdInventoryControl.type - schemas.YoutubeAndPartnersSettings.properties.videoAdInventoryControl.$ref - schemas.YoutubeAndPartnersSettings.properties.videoAdInventoryControl.description
1 parent d039cc6 commit ef2619d

File tree

6 files changed

+135
-3
lines changed

6 files changed

+135
-3
lines changed

discovery/displayvideo-v2.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8010,7 +8010,7 @@
80108010
}
80118011
}
80128012
},
8013-
"revision": "20250625",
8013+
"revision": "20250709",
80148014
"rootUrl": "https://displayvideo.googleapis.com/",
80158015
"schemas": {
80168016
"ActivateManualTriggerRequest": {
@@ -19284,6 +19284,25 @@
1928419284
},
1928519285
"type": "object"
1928619286
},
19287+
"VideoAdInventoryControl": {
19288+
"description": "The video ad inventory control used in certain YouTube line item types.",
19289+
"id": "VideoAdInventoryControl",
19290+
"properties": {
19291+
"allowInFeed": {
19292+
"description": "Optional. Whether ads can serve as in-feed format.",
19293+
"type": "boolean"
19294+
},
19295+
"allowInStream": {
19296+
"description": "Optional. Whether ads can serve as in-stream format.",
19297+
"type": "boolean"
19298+
},
19299+
"allowShorts": {
19300+
"description": "Optional. Whether ads can serve as shorts format.",
19301+
"type": "boolean"
19302+
}
19303+
},
19304+
"type": "object"
19305+
},
1928719306
"VideoAdSequenceSettings": {
1928819307
"description": "Settings related to VideoAdSequence.",
1928919308
"id": "VideoAdSequenceSettings",
@@ -19949,6 +19968,10 @@
1994919968
"$ref": "YoutubeAndPartnersThirdPartyMeasurementSettings",
1995019969
"description": "Optional. The third-party measurement settings of the line item."
1995119970
},
19971+
"videoAdInventoryControl": {
19972+
"$ref": "VideoAdInventoryControl",
19973+
"description": "Optional. The settings to control which inventory is allowed for this line item."
19974+
},
1995219975
"videoAdSequenceSettings": {
1995319976
"$ref": "VideoAdSequenceSettings",
1995419977
"description": "Optional. The settings related to VideoAdSequence."

discovery/displayvideo-v3.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9268,7 +9268,7 @@
92689268
}
92699269
}
92709270
},
9271-
"revision": "20250625",
9271+
"revision": "20250709",
92729272
"rootUrl": "https://displayvideo.googleapis.com/",
92739273
"schemas": {
92749274
"ActiveViewVideoViewabilityMetricConfig": {
@@ -22490,6 +22490,25 @@
2249022490
},
2249122491
"type": "object"
2249222492
},
22493+
"VideoAdInventoryControl": {
22494+
"description": "The video ad inventory control used in certain YouTube line item types.",
22495+
"id": "VideoAdInventoryControl",
22496+
"properties": {
22497+
"allowInFeed": {
22498+
"description": "Optional. Whether ads can serve as in-feed format.",
22499+
"type": "boolean"
22500+
},
22501+
"allowInStream": {
22502+
"description": "Optional. Whether ads can serve as in-stream format.",
22503+
"type": "boolean"
22504+
},
22505+
"allowShorts": {
22506+
"description": "Optional. Whether ads can serve as shorts format.",
22507+
"type": "boolean"
22508+
}
22509+
},
22510+
"type": "object"
22511+
},
2249322512
"VideoAdSequenceSettings": {
2249422513
"description": "Settings related to VideoAdSequence.",
2249522514
"id": "VideoAdSequenceSettings",
@@ -22946,6 +22965,10 @@
2294622965
"$ref": "ThirdPartyMeasurementConfigs",
2294722966
"description": "Optional. The third-party measurement configs of the line item."
2294822967
},
22968+
"videoAdInventoryControl": {
22969+
"$ref": "VideoAdInventoryControl",
22970+
"description": "Optional. The settings to control which inventory is allowed for this line item."
22971+
},
2294922972
"videoAdSequenceSettings": {
2295022973
"$ref": "VideoAdSequenceSettings",
2295122974
"description": "Optional. The settings related to VideoAdSequence."

discovery/displayvideo-v4.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8219,7 +8219,7 @@
82198219
}
82208220
}
82218221
},
8222-
"revision": "20250625",
8222+
"revision": "20250709",
82238223
"rootUrl": "https://displayvideo.googleapis.com/",
82248224
"schemas": {
82258225
"ActiveViewVideoViewabilityMetricConfig": {
@@ -21301,6 +21301,25 @@
2130121301
},
2130221302
"type": "object"
2130321303
},
21304+
"VideoAdInventoryControl": {
21305+
"description": "The video ad inventory control used in certain YouTube line item types.",
21306+
"id": "VideoAdInventoryControl",
21307+
"properties": {
21308+
"allowInFeed": {
21309+
"description": "Optional. Whether ads can serve as in-feed format.",
21310+
"type": "boolean"
21311+
},
21312+
"allowInStream": {
21313+
"description": "Optional. Whether ads can serve as in-stream format.",
21314+
"type": "boolean"
21315+
},
21316+
"allowShorts": {
21317+
"description": "Optional. Whether ads can serve as shorts format.",
21318+
"type": "boolean"
21319+
}
21320+
},
21321+
"type": "object"
21322+
},
2130421323
"VideoAdSequenceSettings": {
2130521324
"description": "Settings related to VideoAdSequence.",
2130621325
"id": "VideoAdSequenceSettings",
@@ -21757,6 +21776,10 @@
2175721776
"$ref": "ThirdPartyMeasurementConfigs",
2175821777
"description": "Optional. The third-party measurement configs of the line item."
2175921778
},
21779+
"videoAdInventoryControl": {
21780+
"$ref": "VideoAdInventoryControl",
21781+
"description": "Optional. The settings to control which inventory is allowed for this line item."
21782+
},
2176021783
"videoAdSequenceSettings": {
2176121784
"$ref": "VideoAdSequenceSettings",
2176221785
"description": "Optional. The settings related to VideoAdSequence."

src/apis/displayvideo/v2.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5405,6 +5405,23 @@ export namespace displayvideo_v2 {
54055405
*/
54065406
userRewardedContent?: string | null;
54075407
}
5408+
/**
5409+
* The video ad inventory control used in certain YouTube line item types.
5410+
*/
5411+
export interface Schema$VideoAdInventoryControl {
5412+
/**
5413+
* Optional. Whether ads can serve as in-feed format.
5414+
*/
5415+
allowInFeed?: boolean | null;
5416+
/**
5417+
* Optional. Whether ads can serve as in-stream format.
5418+
*/
5419+
allowInStream?: boolean | null;
5420+
/**
5421+
* Optional. Whether ads can serve as shorts format.
5422+
*/
5423+
allowShorts?: boolean | null;
5424+
}
54085425
/**
54095426
* Settings related to VideoAdSequence.
54105427
*/
@@ -5762,6 +5779,10 @@ export namespace displayvideo_v2 {
57625779
* Optional. The third-party measurement settings of the line item.
57635780
*/
57645781
thirdPartyMeasurementSettings?: Schema$YoutubeAndPartnersThirdPartyMeasurementSettings;
5782+
/**
5783+
* Optional. The settings to control which inventory is allowed for this line item.
5784+
*/
5785+
videoAdInventoryControl?: Schema$VideoAdInventoryControl;
57655786
/**
57665787
* Optional. The settings related to VideoAdSequence.
57675788
*/

src/apis/displayvideo/v3.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6189,6 +6189,23 @@ export namespace displayvideo_v3 {
61896189
*/
61906190
userRewardedContent?: string | null;
61916191
}
6192+
/**
6193+
* The video ad inventory control used in certain YouTube line item types.
6194+
*/
6195+
export interface Schema$VideoAdInventoryControl {
6196+
/**
6197+
* Optional. Whether ads can serve as in-feed format.
6198+
*/
6199+
allowInFeed?: boolean | null;
6200+
/**
6201+
* Optional. Whether ads can serve as in-stream format.
6202+
*/
6203+
allowInStream?: boolean | null;
6204+
/**
6205+
* Optional. Whether ads can serve as shorts format.
6206+
*/
6207+
allowShorts?: boolean | null;
6208+
}
61926209
/**
61936210
* Settings related to VideoAdSequence.
61946211
*/
@@ -6411,6 +6428,10 @@ export namespace displayvideo_v3 {
64116428
* Optional. The third-party measurement configs of the line item.
64126429
*/
64136430
thirdPartyMeasurementConfigs?: Schema$ThirdPartyMeasurementConfigs;
6431+
/**
6432+
* Optional. The settings to control which inventory is allowed for this line item.
6433+
*/
6434+
videoAdInventoryControl?: Schema$VideoAdInventoryControl;
64146435
/**
64156436
* Optional. The settings related to VideoAdSequence.
64166437
*/

src/apis/displayvideo/v4.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6131,6 +6131,23 @@ export namespace displayvideo_v4 {
61316131
*/
61326132
userRewardedContent?: string | null;
61336133
}
6134+
/**
6135+
* The video ad inventory control used in certain YouTube line item types.
6136+
*/
6137+
export interface Schema$VideoAdInventoryControl {
6138+
/**
6139+
* Optional. Whether ads can serve as in-feed format.
6140+
*/
6141+
allowInFeed?: boolean | null;
6142+
/**
6143+
* Optional. Whether ads can serve as in-stream format.
6144+
*/
6145+
allowInStream?: boolean | null;
6146+
/**
6147+
* Optional. Whether ads can serve as shorts format.
6148+
*/
6149+
allowShorts?: boolean | null;
6150+
}
61346151
/**
61356152
* Settings related to VideoAdSequence.
61366153
*/
@@ -6353,6 +6370,10 @@ export namespace displayvideo_v4 {
63536370
* Optional. The third-party measurement configs of the line item.
63546371
*/
63556372
thirdPartyMeasurementConfigs?: Schema$ThirdPartyMeasurementConfigs;
6373+
/**
6374+
* Optional. The settings to control which inventory is allowed for this line item.
6375+
*/
6376+
videoAdInventoryControl?: Schema$VideoAdInventoryControl;
63566377
/**
63576378
* Optional. The settings related to VideoAdSequence.
63586379
*/

0 commit comments

Comments
 (0)