Skip to content

Commit eb4cee4

Browse files
feat: Automated regeneration of DisplayVideo client (#13162)
Auto-created at 2025-03-14 13:18:38 +0000 using the toys pull request generator.
1 parent 1a245c3 commit eb4cee4

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

clients/display_video/lib/google_api/display_video/v3/api/first_and_third_party_audiences.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ defmodule GoogleApi.DisplayVideo.V3.Api.FirstAndThirdPartyAudiences do
272272
* `:advertiserId` (*type:* `String.t`) - The ID of the advertiser that has access to the fetched first and third party audiences.
273273
* `:filter` (*type:* `String.t`) - Allows filtering by first and third party audience fields. Supported syntax: * Filter expressions for first and third party audiences can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All first and third party audiences for which the display name contains "Google": `displayName:"Google"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.
274274
* `:orderBy` (*type:* `String.t`) - Field by which to sort the list. Acceptable values are: * `firstAndThirdPartyAudienceId` (default) * `displayName` The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: `displayName desc`.
275-
* `:pageSize` (*type:* `integer()`) - Requested page size. Must be between `1` and `5000`. If unspecified, this value defaults to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. *Warning*: Starting **March 6, 2025**, this value will default to `5000` if not set.
275+
* `:pageSize` (*type:* `integer()`) - Requested page size. Must be between `1` and `5000`. If unspecified, this value defaults to `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
276276
* `:pageToken` (*type:* `String.t`) - A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListFirstAndThirdPartyAudiences` method. If not specified, the first page of results will be returned.
277277
* `:partnerId` (*type:* `String.t`) - The ID of the partner that has access to the fetched first and third party audiences.
278278
* `opts` (*type:* `keyword()`) - Call options

clients/display_video/lib/google_api/display_video/v3/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.DisplayVideo.V3 do
2020
API client metadata for GoogleApi.DisplayVideo.V3.
2121
"""
2222

23-
@discovery_revision "20250220"
23+
@discovery_revision "20250313"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/display_video/lib/google_api/display_video/v3/model/frequency_cap.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ defmodule GoogleApi.DisplayVideo.V3.Model.FrequencyCap do
2323
2424
* `maxImpressions` (*type:* `integer()`, *default:* `nil`) - The maximum number of times a user may be shown the same ad during this period. Must be greater than 0. Required when unlimited is `false` and max_views is not set.
2525
* `maxViews` (*type:* `integer()`, *default:* `nil`) - 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.
26-
* `timeUnit` (*type:* `String.t`, *default:* `nil`) - The time unit in which the frequency cap will be applied. Required when unlimited is `false`. *Warning*: On **February 28, 2025**, frequency cap time periods greater than 30 days will no longer be accepted. This field will no longer accept the value `TIME_UNIT_LIFETIME`. [Read more about this announced change](/display-video/api/deprecations#features.lifetime_frequency_cap).
27-
* `timeUnitCount` (*type:* `integer()`, *default:* `nil`) - The number of time_unit the frequency cap will last. Required when unlimited is `false`. The following restrictions apply based on the value of time_unit: * `TIME_UNIT_LIFETIME` - this field is output only and will default to 1 * `TIME_UNIT_MONTHS` - must be between 1 and 2 * `TIME_UNIT_WEEKS` - must be between 1 and 4 * `TIME_UNIT_DAYS` - must be between 1 and 6 * `TIME_UNIT_HOURS` - must be between 1 and 23 * `TIME_UNIT_MINUTES` - must be between 1 and 59 *Warning*: On **February 28, 2025**, frequency cap time periods greater than 30 days will no longer be accepted. This field will no longer accept the value 2 if the value of time_unit is `TIME_UNIT_MONTHS`. [Read more about this announced change](/display-video/api/deprecations#features.lifetime_frequency_cap).
26+
* `timeUnit` (*type:* `String.t`, *default:* `nil`) - The time unit in which the frequency cap will be applied. Required when unlimited is `false`.
27+
* `timeUnitCount` (*type:* `integer()`, *default:* `nil`) - The number of time_unit the frequency cap will last. Required when unlimited is `false`. The following restrictions apply based on the value of time_unit: * `TIME_UNIT_MONTHS` - must be 1 * `TIME_UNIT_WEEKS` - must be between 1 and 4 * `TIME_UNIT_DAYS` - must be between 1 and 6 * `TIME_UNIT_HOURS` - must be between 1 and 23 * `TIME_UNIT_MINUTES` - must be between 1 and 59
2828
* `unlimited` (*type:* `boolean()`, *default:* `nil`) - Whether unlimited frequency capping is applied. When this field is set to `true`, the remaining frequency cap fields are not applicable.
2929
"""
3030

clients/display_video/lib/google_api/display_video/v3/model/insertion_order.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ defmodule GoogleApi.DisplayVideo.V3.Model.InsertionOrder do
2727
* `campaignId` (*type:* `String.t`, *default:* `nil`) - Required. Immutable. The unique ID of the campaign that the insertion order belongs to.
2828
* `displayName` (*type:* `String.t`, *default:* `nil`) - Required. The display name of the insertion order. Must be UTF-8 encoded with a maximum size of 240 bytes.
2929
* `entityStatus` (*type:* `String.t`, *default:* `nil`) - Required. Controls whether or not the insertion order can spend its budget and bid on inventory. * For CreateInsertionOrder method, only `ENTITY_STATUS_DRAFT` is allowed. To activate an insertion order, use UpdateInsertionOrder method and update the status to `ENTITY_STATUS_ACTIVE` after creation. * An insertion order cannot be changed back to `ENTITY_STATUS_DRAFT` status from any other status. * An insertion order cannot be set to `ENTITY_STATUS_ACTIVE` if its parent campaign is not active.
30-
* `frequencyCap` (*type:* `GoogleApi.DisplayVideo.V3.Model.FrequencyCap.t`, *default:* `nil`) - Required. The frequency capping setting of the insertion order. *Warning*: On **February 28, 2025**, frequency cap time periods greater than 30 days will no longer be accepted. [Read more about this announced change](/display-video/api/deprecations#features.lifetime_frequency_cap)
30+
* `frequencyCap` (*type:* `GoogleApi.DisplayVideo.V3.Model.FrequencyCap.t`, *default:* `nil`) - Required. The frequency capping setting of the insertion order.
3131
* `insertionOrderId` (*type:* `String.t`, *default:* `nil`) - Output only. The unique ID of the insertion order. Assigned by the system.
3232
* `insertionOrderType` (*type:* `String.t`, *default:* `nil`) - Optional. The type of insertion order. If this field is unspecified in creation, the value defaults to `RTB`.
3333
* `integrationDetails` (*type:* `GoogleApi.DisplayVideo.V3.Model.IntegrationDetails.t`, *default:* `nil`) - Optional. Additional integration details of the insertion order.

clients/display_video/lib/google_api/display_video/v3/model/line_item.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ defmodule GoogleApi.DisplayVideo.V3.Model.LineItem do
3131
* `entityStatus` (*type:* `String.t`, *default:* `nil`) - Required. Controls whether or not the line item can spend its budget and bid on inventory. * For CreateLineItem method, only `ENTITY_STATUS_DRAFT` is allowed. To activate a line item, use UpdateLineItem method and update the status to `ENTITY_STATUS_ACTIVE` after creation. * A line item cannot be changed back to `ENTITY_STATUS_DRAFT` status from any other status. * If the line item's parent insertion order is not active, the line item can't spend its budget even if its own status is `ENTITY_STATUS_ACTIVE`.
3232
* `excludeNewExchanges` (*type:* `boolean()`, *default:* `nil`) - Whether to exclude new exchanges from automatically being targeted by the line item. This field is false by default.
3333
* `flight` (*type:* `GoogleApi.DisplayVideo.V3.Model.LineItemFlight.t`, *default:* `nil`) - Required. The start and end time of the line item's flight.
34-
* `frequencyCap` (*type:* `GoogleApi.DisplayVideo.V3.Model.FrequencyCap.t`, *default:* `nil`) - Required. The impression frequency cap settings of the line item. The max_impressions field in this settings object must be used if assigning a limited cap. *Warning*: On **February 28, 2025**, frequency cap time periods greater than 30 days will no longer be accepted. [Read more about this announced change](/display-video/api/deprecations#features.lifetime_frequency_cap)
34+
* `frequencyCap` (*type:* `GoogleApi.DisplayVideo.V3.Model.FrequencyCap.t`, *default:* `nil`) - Required. The impression frequency cap settings of the line item. The max_impressions field in this settings object must be used if assigning a limited cap.
3535
* `insertionOrderId` (*type:* `String.t`, *default:* `nil`) - Required. Immutable. The unique ID of the insertion order that the line item belongs to.
3636
* `integrationDetails` (*type:* `GoogleApi.DisplayVideo.V3.Model.IntegrationDetails.t`, *default:* `nil`) - Integration details of the line item.
3737
* `lineItemId` (*type:* `String.t`, *default:* `nil`) - Output only. The unique ID of the line item. Assigned by the system.

clients/display_video/lib/google_api/display_video/v3/model/targeting_expansion_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.DisplayVideo.V3.Model.TargetingExpansionConfig do
2323
2424
* `audienceExpansionLevel` (*type:* `String.t`, *default:* `nil`) - Output only. Magnitude of expansion for eligible first-party user lists under this ad group. This field only applies to YouTube and Partners line item and ad group resources.
2525
* `audienceExpansionSeedListExcluded` (*type:* `boolean()`, *default:* `nil`) - Output only. Whether to exclude seed list for audience expansion. This field only applies to YouTube and Partners line item and ad group resources.
26-
* `enableOptimizedTargeting` (*type:* `boolean()`, *default:* `nil`) - Required. Whether to enable Optimized Targeting for the line item. Optimized targeting is not compatible with all bid strategies. Attempting to set this field to `true` for a line item using one of the following combinations of BiddingStrategy fields and BiddingStrategyPerformanceGoalType will result in an error: maximize_auto_spend_bid: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` performance_goal_auto_bid: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM` *Warning*: Starting **March 6, 2025**, this field will stop being compatible when using the BiddingStrategy field fixed_bid. [Read more about this announced change](/display-video/api/deprecations#features.ot_fixed_bid)
26+
* `enableOptimizedTargeting` (*type:* `boolean()`, *default:* `nil`) - Required. Whether to enable Optimized Targeting for the line item. Optimized targeting is not compatible with all bid strategies. Attempting to set this field to `true` for a line item using the BiddingStrategy field fixed_bid or one of the following combinations of BiddingStrategy fields and BiddingStrategyPerformanceGoalType will result in an error: maximize_auto_spend_bid: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN` * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_AV_VIEWED` performance_goal_auto_bid: * `BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM`
2727
"""
2828

2929
use GoogleApi.Gax.ModelBase

clients/display_video/lib/google_api/display_video/v3/model/youtube_and_partners_settings.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ defmodule GoogleApi.DisplayVideo.V3.Model.YoutubeAndPartnersSettings do
3030
* `targetFrequency` (*type:* `GoogleApi.DisplayVideo.V3.Model.TargetFrequency.t`, *default:* `nil`) - 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.
3131
* `thirdPartyMeasurementConfigs` (*type:* `GoogleApi.DisplayVideo.V3.Model.ThirdPartyMeasurementConfigs.t`, *default:* `nil`) - Optional. The third-party measurement configs of the line item.
3232
* `videoAdSequenceSettings` (*type:* `GoogleApi.DisplayVideo.V3.Model.VideoAdSequenceSettings.t`, *default:* `nil`) - Optional. The settings related to VideoAdSequence.
33-
* `viewFrequencyCap` (*type:* `GoogleApi.DisplayVideo.V3.Model.FrequencyCap.t`, *default:* `nil`) - The view frequency cap settings of the line item. The max_views field in this settings object must be used if assigning a limited cap. *Warning*: On **February 28, 2025**, frequency cap time periods greater than 30 days will no longer be accepted. [Read more about this announced change](/display-video/api/deprecations#features.lifetime_frequency_cap)
33+
* `viewFrequencyCap` (*type:* `GoogleApi.DisplayVideo.V3.Model.FrequencyCap.t`, *default:* `nil`) - The view frequency cap settings of the line item. The max_views field in this settings object must be used if assigning a limited cap.
3434
"""
3535

3636
use GoogleApi.Gax.ModelBase

0 commit comments

Comments
 (0)