From 6eb9916055dc03ecf17a10218f245dcabb37cb24 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 19 Apr 2024 13:12:55 +0000 Subject: [PATCH] feat: Automated regeneration of DisplayVideo client --- clients/display_video/README.md | 2 +- .../lib/google_api/display_video/v3/api/advertisers.ex | 4 ++-- .../display_video/lib/google_api/display_video/v3/metadata.ex | 2 +- ...bulk_edit_advertiser_assigned_targeting_options_request.ex | 4 ++-- .../lib/google_api/display_video/v3/model/kpi.ex | 3 +++ clients/display_video/mix.exs | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) diff --git a/clients/display_video/README.md b/clients/display_video/README.md index e5c3efac0b..3db9079f4b 100644 --- a/clients/display_video/README.md +++ b/clients/display_video/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_display_video, "~> 0.35"}] + [{:google_api_display_video, "~> 0.36"}] end ``` diff --git a/clients/display_video/lib/google_api/display_video/v3/api/advertisers.ex b/clients/display_video/lib/google_api/display_video/v3/api/advertisers.ex index fb7f37e8c9..7bf59cb5ab 100644 --- a/clients/display_video/lib/google_api/display_video/v3/api/advertisers.ex +++ b/clients/display_video/lib/google_api/display_video/v3/api/advertisers.ex @@ -6638,7 +6638,7 @@ defmodule GoogleApi.DisplayVideo.V3.Api.Advertisers do * `connection` (*type:* `GoogleApi.DisplayVideo.V3.Connection.t`) - Connection to server * `advertiser_id` (*type:* `String.t`) - Required. The ID of the advertiser. - * `targeting_type` (*type:* `String.t`) - 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` (*type:* `String.t`) - 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_KEYWORD` * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -6719,7 +6719,7 @@ defmodule GoogleApi.DisplayVideo.V3.Api.Advertisers do * `connection` (*type:* `GoogleApi.DisplayVideo.V3.Connection.t`) - Connection to server * `advertiser_id` (*type:* `String.t`) - Required. The ID of the advertiser. - * `targeting_type` (*type:* `String.t`) - 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` (*type:* `String.t`) - 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_KEYWORD` * `assigned_targeting_option_id` (*type:* `String.t`) - Required. The ID of the assigned targeting option to delete. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. diff --git a/clients/display_video/lib/google_api/display_video/v3/metadata.ex b/clients/display_video/lib/google_api/display_video/v3/metadata.ex index 380424efde..6e6a437975 100644 --- a/clients/display_video/lib/google_api/display_video/v3/metadata.ex +++ b/clients/display_video/lib/google_api/display_video/v3/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.DisplayVideo.V3 do API client metadata for GoogleApi.DisplayVideo.V3. """ - @discovery_revision "20240314" + @discovery_revision "20240418" def discovery_revision(), do: @discovery_revision end diff --git a/clients/display_video/lib/google_api/display_video/v3/model/bulk_edit_advertiser_assigned_targeting_options_request.ex b/clients/display_video/lib/google_api/display_video/v3/model/bulk_edit_advertiser_assigned_targeting_options_request.ex index a6a6781417..04d751213b 100644 --- a/clients/display_video/lib/google_api/display_video/v3/model/bulk_edit_advertiser_assigned_targeting_options_request.ex +++ b/clients/display_video/lib/google_api/display_video/v3/model/bulk_edit_advertiser_assigned_targeting_options_request.ex @@ -21,8 +21,8 @@ defmodule GoogleApi.DisplayVideo.V3.Model.BulkEditAdvertiserAssignedTargetingOpt ## Attributes - * `createRequests` (*type:* `list(GoogleApi.DisplayVideo.V3.Model.CreateAssignedTargetingOptionsRequest.t)`, *default:* `nil`) - The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` - * `deleteRequests` (*type:* `list(GoogleApi.DisplayVideo.V3.Model.DeleteAssignedTargetingOptionsRequest.t)`, *default:* `nil`) - The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` + * `createRequests` (*type:* `list(GoogleApi.DisplayVideo.V3.Model.CreateAssignedTargetingOptionsRequest.t)`, *default:* `nil`) - The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` + * `deleteRequests` (*type:* `list(GoogleApi.DisplayVideo.V3.Model.DeleteAssignedTargetingOptionsRequest.t)`, *default:* `nil`) - The assigned targeting options to delete in batch, specified as a list of `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` """ use GoogleApi.Gax.ModelBase diff --git a/clients/display_video/lib/google_api/display_video/v3/model/kpi.ex b/clients/display_video/lib/google_api/display_video/v3/model/kpi.ex index 1d141e5148..5a4861cc0c 100644 --- a/clients/display_video/lib/google_api/display_video/v3/model/kpi.ex +++ b/clients/display_video/lib/google_api/display_video/v3/model/kpi.ex @@ -21,6 +21,7 @@ defmodule GoogleApi.DisplayVideo.V3.Model.Kpi do ## Attributes + * `kpiAlgorithmId` (*type:* `String.t`, *default:* `nil`) - Optional. Custom Bidding Algorithm ID associated with KPI_CUSTOM_IMPRESSION_VALUE_OVER_COST. This field is ignored if the proper KPI is not selected. * `kpiAmountMicros` (*type:* `String.t`, *default:* `nil`) - The goal amount, in micros of the advertiser's currency. Applicable when kpi_type is one of: * `KPI_TYPE_CPM` * `KPI_TYPE_CPC` * `KPI_TYPE_CPA` * `KPI_TYPE_CPIAVC` * `KPI_TYPE_VCPM` For example: 1500000 represents 1.5 standard units of the currency. * `kpiPercentageMicros` (*type:* `String.t`, *default:* `nil`) - The decimal representation of the goal percentage in micros. Applicable when kpi_type is one of: * `KPI_TYPE_CTR` * `KPI_TYPE_VIEWABILITY` * `KPI_TYPE_CLICK_CVR` * `KPI_TYPE_IMPRESSION_CVR` * `KPI_TYPE_VTR` * `KPI_TYPE_AUDIO_COMPLETION_RATE` * `KPI_TYPE_VIDEO_COMPLETION_RATE` For example: 70000 represents 7% (decimal 0.07). * `kpiString` (*type:* `String.t`, *default:* `nil`) - A KPI string, which can be empty. Must be UTF-8 encoded with a length of no more than 100 characters. Applicable when kpi_type is `KPI_TYPE_OTHER`. @@ -30,12 +31,14 @@ defmodule GoogleApi.DisplayVideo.V3.Model.Kpi do use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ + :kpiAlgorithmId => String.t() | nil, :kpiAmountMicros => String.t() | nil, :kpiPercentageMicros => String.t() | nil, :kpiString => String.t() | nil, :kpiType => String.t() | nil } + field(:kpiAlgorithmId) field(:kpiAmountMicros) field(:kpiPercentageMicros) field(:kpiString) diff --git a/clients/display_video/mix.exs b/clients/display_video/mix.exs index 3597c14681..a97f293224 100644 --- a/clients/display_video/mix.exs +++ b/clients/display_video/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.DisplayVideo.Mixfile do use Mix.Project - @version "0.35.0" + @version "0.36.0" def project() do [