Skip to content

Commit

Permalink
feat(displayvideo): update the API
Browse files Browse the repository at this point in the history
#### displayvideo:v2

The following keys were changed:
- resources.advertisers.resources.targetingTypes.resources.assignedTargetingOptions.methods.get.parameters.targetingType.description
- resources.advertisers.resources.targetingTypes.resources.assignedTargetingOptions.methods.list.parameters.targetingType.description

#### displayvideo:v3

The following keys were added:
- schemas.InsertionOrder.properties.optimizationObjective.description
- schemas.InsertionOrder.properties.optimizationObjective.enum
- schemas.InsertionOrder.properties.optimizationObjective.enumDescriptions
- schemas.InsertionOrder.properties.optimizationObjective.type

The following keys were changed:
- resources.advertisers.resources.targetingTypes.resources.assignedTargetingOptions.methods.get.parameters.targetingType.description
- resources.advertisers.resources.targetingTypes.resources.assignedTargetingOptions.methods.list.parameters.targetingType.description
  • Loading branch information
yoshi-automation authored and sofisl committed Jun 27, 2024
1 parent 08736b6 commit 1ee2703
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 10 deletions.
6 changes: 3 additions & 3 deletions discovery/displayvideo-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4869,7 +4869,7 @@
"type": "string"
},
"targetingType": {
"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL`",
"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_KEYWORD`",
"enum": [
"TARGETING_TYPE_UNSPECIFIED",
"TARGETING_TYPE_CHANNEL",
Expand Down Expand Up @@ -5026,7 +5026,7 @@
"type": "string"
},
"targetingType": {
"description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL`",
"description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_KEYWORD`",
"enum": [
"TARGETING_TYPE_UNSPECIFIED",
"TARGETING_TYPE_CHANNEL",
Expand Down Expand Up @@ -9267,7 +9267,7 @@
}
}
},
"revision": "20240530",
"revision": "20240620",
"rootUrl": "https://displayvideo.googleapis.com/",
"schemas": {
"ActivateManualTriggerRequest": {
Expand Down
26 changes: 23 additions & 3 deletions discovery/displayvideo-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -5189,7 +5189,7 @@
"type": "string"
},
"targetingType": {
"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL`",
"description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_KEYWORD`",
"enum": [
"TARGETING_TYPE_UNSPECIFIED",
"TARGETING_TYPE_CHANNEL",
Expand Down Expand Up @@ -5346,7 +5346,7 @@
"type": "string"
},
"targetingType": {
"description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL`",
"description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_KEYWORD`",
"enum": [
"TARGETING_TYPE_UNSPECIFIED",
"TARGETING_TYPE_CHANNEL",
Expand Down Expand Up @@ -9222,7 +9222,7 @@
}
}
},
"revision": "20240530",
"revision": "20240620",
"rootUrl": "https://displayvideo.googleapis.com/",
"schemas": {
"ActiveViewVideoViewabilityMetricConfig": {
Expand Down Expand Up @@ -16875,6 +16875,26 @@
"readOnly": true,
"type": "string"
},
"optimizationObjective": {
"description": "Optional. The optimization objective of the insertion order. **This field is only available to allowlisted customers.** If a customer is not allowlisted, this field will be null and attempts to set it will return an error.",
"enum": [
"OPTIMIZATION_OBJECTIVE_UNSPECIFIED",
"CONVERSION",
"CLICK",
"BRAND_AWARENESS",
"CUSTOM",
"NO_OBJECTIVE"
],
"enumDescriptions": [
"Type value is not specified or is unknown in this version.",
"Prioritize impressions that increase sales and conversions.",
"Prioritize impressions that increase website traffic, apps, app stores.",
"Prioritize impressions of specific quality.",
"Objective is defined by the assigned custom bidding algorithm.",
"Objective is not defined. Any KPI or bidding strategy can be used."
],
"type": "string"
},
"pacing": {
"$ref": "Pacing",
"description": "Required. The budget spending speed setting of the insertion order."
Expand Down
4 changes: 2 additions & 2 deletions src/apis/displayvideo/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15668,7 +15668,7 @@ export namespace displayvideo_v2 {
*/
assignedTargetingOptionId?: string;
/**
* Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL`
* Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_KEYWORD`
*/
targetingType?: string;
}
Expand All @@ -15695,7 +15695,7 @@ export namespace displayvideo_v2 {
*/
pageToken?: string;
/**
* Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL`
* Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_KEYWORD`
*/
targetingType?: string;
}
Expand Down
8 changes: 6 additions & 2 deletions src/apis/displayvideo/v3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3543,6 +3543,10 @@ export namespace displayvideo_v3 {
* Output only. The resource name of the insertion order.
*/
name?: string | null;
/**
* Optional. The optimization objective of the insertion order. **This field is only available to allowlisted customers.** If a customer is not allowlisted, this field will be null and attempts to set it will return an error.
*/
optimizationObjective?: string | null;
/**
* Required. The budget spending speed setting of the insertion order.
*/
Expand Down Expand Up @@ -16059,7 +16063,7 @@ export namespace displayvideo_v3 {
*/
assignedTargetingOptionId?: string;
/**
* Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL`
* Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_KEYWORD`
*/
targetingType?: string;
}
Expand All @@ -16086,7 +16090,7 @@ export namespace displayvideo_v3 {
*/
pageToken?: string;
/**
* Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL`
* Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_YOUTUBE_VIDEO` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_KEYWORD`
*/
targetingType?: string;
}
Expand Down

0 comments on commit 1ee2703

Please sign in to comment.