Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2361)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jan 19, 2024
1 parent 6ef1144 commit 6c3b622
Show file tree
Hide file tree
Showing 21 changed files with 1,490 additions and 1,322 deletions.
15 changes: 15 additions & 0 deletions api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -2522,6 +2522,21 @@
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://developers.google.com/display-video/",
"preferred": false
},
{
"kind": "discovery#directoryItem",
"id": "displayvideo:v4",
"name": "displayvideo",
"version": "v4",
"title": "Display & Video 360 API",
"description": "Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items.",
"discoveryRestUrl": "https://displayvideo.googleapis.com/$discovery/rest?version=v4",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://developers.google.com/display-video/",
"preferred": true
},
{
Expand Down
10 changes: 5 additions & 5 deletions displayvideo/v1/displayvideo-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -8146,7 +8146,7 @@
}
}
},
"revision": "20240104",
"revision": "20240118",
"rootUrl": "https://displayvideo.googleapis.com/",
"schemas": {
"ActivateManualTriggerRequest": {
Expand Down Expand Up @@ -10337,7 +10337,7 @@
"CONSENT_STATUS_DENIED"
],
"enumDescriptions": [
"Not specified.",
"Type value is not specified or is unknown in this version.",
"Consent is granted.",
"Consent is denied."
],
Expand All @@ -10351,7 +10351,7 @@
"CONSENT_STATUS_DENIED"
],
"enumDescriptions": [
"Not specified.",
"Type value is not specified or is unknown in this version.",
"Consent is granted.",
"Consent is denied."
],
Expand Down Expand Up @@ -10406,7 +10406,7 @@
"properties": {
"consent": {
"$ref": "Consent",
"description": "Input only. The consent setting for the users in contact_infos."
"description": "Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error."
},
"contactInfos": {
"description": "A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn't be greater than 500,000.",
Expand Down Expand Up @@ -16406,7 +16406,7 @@
"properties": {
"consent": {
"$ref": "Consent",
"description": "Input only. The consent setting for the users in mobile_device_ids."
"description": "Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error."
},
"mobileDeviceIds": {
"description": "A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn't be greater than 500,000.",
Expand Down
14 changes: 10 additions & 4 deletions displayvideo/v1/displayvideo-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 18 additions & 14 deletions displayvideo/v2/displayvideo-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -9172,7 +9172,7 @@
}
}
},
"revision": "20240111",
"revision": "20240118",
"rootUrl": "https://displayvideo.googleapis.com/",
"schemas": {
"ActivateManualTriggerRequest": {
Expand Down Expand Up @@ -9377,7 +9377,7 @@
},
"billingConfig": {
"$ref": "AdvertiserBillingConfig",
"description": "Required. Billing related settings of the advertiser."
"description": "Optional. Required. Billing related settings of the advertiser."
},
"creativeConfig": {
"$ref": "AdvertiserCreativeConfig",
Expand Down Expand Up @@ -9466,7 +9466,7 @@
"id": "AdvertiserBillingConfig",
"properties": {
"billingProfileId": {
"description": "The ID of a billing profile assigned to the advertiser.",
"description": "Optional. The ID of a billing profile assigned to the advertiser.",
"format": "int64",
"type": "string"
}
Expand Down Expand Up @@ -11637,7 +11637,7 @@
"CONSENT_STATUS_DENIED"
],
"enumDescriptions": [
"Not specified.",
"Type value is not specified or is unknown in this version.",
"Consent is granted.",
"Consent is denied."
],
Expand All @@ -11651,7 +11651,7 @@
"CONSENT_STATUS_DENIED"
],
"enumDescriptions": [
"Not specified.",
"Type value is not specified or is unknown in this version.",
"Consent is granted.",
"Consent is denied."
],
Expand Down Expand Up @@ -11706,7 +11706,7 @@
"properties": {
"consent": {
"$ref": "Consent",
"description": "Input only. The consent setting for the users in contact_infos."
"description": "Input only. The consent setting for the users in contact_infos. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error."
},
"contactInfos": {
"description": "A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn't be greater than 500,000.",
Expand Down Expand Up @@ -14966,7 +14966,7 @@
"type": "integer"
},
"maxViews": {
"description": "The maximum number of times a user may click-through or fully view an ad during this period until it is no longer served to them. Must be greater than 0. Only applicable to YouTube and Partners resources. Required when unlimited is `false` and max_impressions is not set.",
"description": "Optional. The maximum number of times a user may click-through or fully view an ad during this period until it is no longer served to them. Must be greater than 0. Only applicable to YouTube and Partners resources. Required when unlimited is `false` and max_impressions is not set.",
"format": "int32",
"type": "integer"
},
Expand Down Expand Up @@ -18123,7 +18123,7 @@
"properties": {
"consent": {
"$ref": "Consent",
"description": "Input only. The consent setting for the users in mobile_device_ids."
"description": "Input only. The consent setting for the users in mobile_device_ids. Leaving this field unset indicates that consent is not specified. If ad_user_data or ad_personalization fields are set to `CONSENT_STATUS_DENIED`, the request will return an error."
},
"mobileDeviceIds": {
"description": "A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn't be greater than 500,000.",
Expand Down Expand Up @@ -21157,6 +21157,10 @@
"description": "Settings that control what YouTube related inventories the YouTube and Partners line item will target.",
"id": "YoutubeAndPartnersInventorySourceConfig",
"properties": {
"includeGoogleTv": {
"description": "Optional. Whether to target inventory in video apps available with Google TV.",
"type": "boolean"
},
"includeYoutubeSearch": {
"description": "Whether to target inventory on the YouTube search results page.",
"type": "boolean"
Expand All @@ -21173,7 +21177,7 @@
"type": "object"
},
"YoutubeAndPartnersSettings": {
"description": "Settings for YouTube and Partners line items. Next ID: 15",
"description": "Settings for YouTube and Partners line items.",
"id": "YoutubeAndPartnersSettings",
"properties": {
"biddingStrategy": {
Expand Down Expand Up @@ -21218,33 +21222,33 @@
"description": "Settings that control what YouTube and Partners inventories the line item will target."
},
"leadFormId": {
"description": "The ID of the form to generate leads.",
"description": "Optional. The ID of the form to generate leads.",
"format": "int64",
"type": "string"
},
"linkedMerchantId": {
"description": "The ID of the merchant which is linked to the line item for product feed.",
"description": "Optional. The ID of the merchant which is linked to the line item for product feed.",
"format": "int64",
"type": "string"
},
"relatedVideoIds": {
"description": "The IDs of the videos appear below the primary video ad when the ad is playing in the YouTube app on mobile devices.",
"description": "Optional. The IDs of the videos appear below the primary video ad when the ad is playing in the YouTube app on mobile devices.",
"items": {
"type": "string"
},
"type": "array"
},
"targetFrequency": {
"$ref": "TargetFrequency",
"description": "The average number of times you want ads from this line item to show to the same person over a certain period of time."
"description": "Optional. The average number of times you want ads from this line item to show to the same person over a certain period of time."
},
"thirdPartyMeasurementSettings": {
"$ref": "YoutubeAndPartnersThirdPartyMeasurementSettings",
"description": "Optional. The third-party measurement settings of the line item."
},
"videoAdSequenceSettings": {
"$ref": "VideoAdSequenceSettings",
"description": "The settings related to VideoAdSequence."
"description": "Optional. The settings related to VideoAdSequence."
},
"viewFrequencyCap": {
"$ref": "FrequencyCap",
Expand Down
Loading

0 comments on commit 6c3b622

Please sign in to comment.