diff --git a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/api/buyers.ex b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/api/buyers.ex index a96310b3ea..4f7a676cbe 100644 --- a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/api/buyers.ex +++ b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/api/buyers.ex @@ -86,12 +86,12 @@ defmodule GoogleApi.RealTimeBidding.V1.Api.Buyers do end @doc """ - Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list. + This has been sunset as of October 2023, and will return an error response if called. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list. ## Parameters * `connection` (*type:* `GoogleApi.RealTimeBidding.V1.Connection.t`) - Connection to server - * `name` (*type:* `String.t`) - Required. To fetch remarketing tag for an account, name must follow the pattern `buyers/{accountId}` where `{accountId}` represents ID of a buyer that owns the remarketing tag. For a bidder accessing remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch remarketing tag for a specific user list, name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name. + * `name` (*type:* `String.t`) - Required. To fetch the remarketing tag for an account, the name must follow the pattern `buyers/{accountId}`, where `{accountId}` represents the ID of the buyer that owns the remarketing tag. For a bidder accessing the remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch the remarketing tag for a specific user list, the name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -497,7 +497,7 @@ defmodule GoogleApi.RealTimeBidding.V1.Api.Buyers do end @doc """ - Change the status of a user list to CLOSED. This prevents new users from being added to the user list. + Changes the status of a user list to CLOSED. This prevents new users from being added to the user list. ## Parameters @@ -564,12 +564,12 @@ defmodule GoogleApi.RealTimeBidding.V1.Api.Buyers do end @doc """ - Create a new user list. + Creates a new user list. ## Parameters * `connection` (*type:* `GoogleApi.RealTimeBidding.V1.Connection.t`) - Connection to server - * `parent` (*type:* `String.t`) - Required. The name of the parent buyer of the user list to be retrieved that must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns user lists. For a bidder accessing user lists on behalf of a child seat buyer , `{buyerAccountId}` should represent the account ID of the child seat buyer. + * `parent` (*type:* `String.t`) - Required. The name of the parent buyer of the user list to be retrieved, which must follow the pattern `buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer who owns the user list. For a bidder accessing user lists on behalf of a child seat buyer, `{buyerAccountId}` should represent the account ID of the child seat buyer. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -701,12 +701,12 @@ defmodule GoogleApi.RealTimeBidding.V1.Api.Buyers do end @doc """ - Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list. + This has been sunset as of October 2023, and will return an error response if called. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api Gets remarketing tag for a buyer. A remarketing tag is a piece of JavaScript code that can be placed on a web page. When a user visits a page containing a remarketing tag, Google adds the user to a user list. ## Parameters * `connection` (*type:* `GoogleApi.RealTimeBidding.V1.Connection.t`) - Connection to server - * `name` (*type:* `String.t`) - Required. To fetch remarketing tag for an account, name must follow the pattern `buyers/{accountId}` where `{accountId}` represents ID of a buyer that owns the remarketing tag. For a bidder accessing remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch remarketing tag for a specific user list, name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name. + * `name` (*type:* `String.t`) - Required. To fetch the remarketing tag for an account, the name must follow the pattern `buyers/{accountId}`, where `{accountId}` represents the ID of the buyer that owns the remarketing tag. For a bidder accessing the remarketing tag on behalf of a child seat buyer, `{accountId}` should represent the ID of the child seat buyer. To fetch the remarketing tag for a specific user list, the name must follow the pattern `buyers/{accountId}/userLists/{userListId}`. See UserList.name. * `optional_params` (*type:* `keyword()`) - Optional parameters * `:"$.xgafv"` (*type:* `String.t`) - V1 error format. * `:access_token` (*type:* `String.t`) - OAuth access token. @@ -792,7 +792,7 @@ defmodule GoogleApi.RealTimeBidding.V1.Api.Buyers do * `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart"). * `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart"). * `:pageSize` (*type:* `integer()`) - The number of results to return per page. - * `:pageToken` (*type:* `String.t`) - Continuation page token (as received from a previous response). + * `:pageToken` (*type:* `String.t`) - Continuation page token as received from a previous response. * `opts` (*type:* `keyword()`) - Call options ## Returns @@ -849,7 +849,7 @@ defmodule GoogleApi.RealTimeBidding.V1.Api.Buyers do end @doc """ - Change the status of a user list to OPEN. This allows new users to be added to the user list. + Changes the status of a user list to OPEN. This allows new users to be added to the user list. ## Parameters @@ -916,7 +916,7 @@ defmodule GoogleApi.RealTimeBidding.V1.Api.Buyers do end @doc """ - Update the given user list. Only user lists with URLRestrictions can be updated. + Updates the given user list. Only user lists with URLRestrictions can be updated. ## Parameters diff --git a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/metadata.ex b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/metadata.ex index 1abbaa6a39..95fe9f9b13 100644 --- a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/metadata.ex +++ b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.RealTimeBidding.V1 do API client metadata for GoogleApi.RealTimeBidding.V1. """ - @discovery_revision "20220920" + @discovery_revision "20240311" def discovery_revision(), do: @discovery_revision end diff --git a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/creative.ex b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/creative.ex index f97b6fe1ef..90ae4e5d2c 100644 --- a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/creative.ex +++ b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/creative.ex @@ -38,7 +38,7 @@ defmodule GoogleApi.RealTimeBidding.V1.Model.Creative do * `impressionTrackingUrls` (*type:* `list(String.t)`, *default:* `nil`) - The set of URLs to be called to record an impression. * `name` (*type:* `String.t`, *default:* `nil`) - Output only. Name of the creative. Follows the pattern `buyers/{buyer}/creatives/{creative}`, where `{buyer}` represents the account ID of the buyer who owns the creative, and `{creative}` is the buyer-specific creative ID that references this creative in the bid response. * `native` (*type:* `GoogleApi.RealTimeBidding.V1.Model.NativeContent.t`, *default:* `nil`) - A native creative. - * `renderUrl` (*type:* `String.t`, *default:* `nil`) - Experimental field that can be used during the [FLEDGE Origin Trial](/authorized-buyers/rtb/fledge-origin-trial). The URL to fetch an interest group ad used in [TURTLEDOVE on-device auction](https://github.com/WICG/turtledove/blob/main/FLEDGE.md#1-browsers-record-interest-groups"). This should be unique among all creatives for a given `accountId`. + * `renderUrl` (*type:* `String.t`, *default:* `nil`) - Experimental field that can be used during the [FLEDGE Origin Trial](/authorized-buyers/rtb/fledge-origin-trial). The URL to fetch an interest group ad used in [TURTLEDOVE on-device auction](https://github.com/WICG/turtledove/blob/main/FLEDGE.md#1-browsers-record-interest-groups"). This should be unique among all creatives for a given `accountId`. This URL should be the same as the URL returned by [generateBid()](https://github.com/WICG/turtledove/blob/main/FLEDGE.md#32-on-device-bidding). * `restrictedCategories` (*type:* `list(String.t)`, *default:* `nil`) - All restricted categories for the ads that may be shown from this creative. * `version` (*type:* `integer()`, *default:* `nil`) - Output only. The version of the creative. Version for a new creative is 1 and it increments during subsequent creative updates. * `video` (*type:* `GoogleApi.RealTimeBidding.V1.Model.VideoContent.t`, *default:* `nil`) - A video creative. diff --git a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/get_remarketing_tag_response.ex b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/get_remarketing_tag_response.ex index fcb6e943df..a41d46122e 100644 --- a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/get_remarketing_tag_response.ex +++ b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/get_remarketing_tag_response.ex @@ -17,11 +17,11 @@ defmodule GoogleApi.RealTimeBidding.V1.Model.GetRemarketingTagResponse do @moduledoc """ - Response for a request to get remarketing tag. + This has been sunset as of October 2023, and will return an error response if called. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api Response for a request to get remarketing tag. ## Attributes - * `snippet` (*type:* `String.t`, *default:* `nil`) - A HTML tag that can be placed on the advertiser's page to add users to a user list. For more information and code samples on using snippet on your website refer to [Tag your site for remarketing]( https://support.google.com/google-ads/answer/2476688). + * `snippet` (*type:* `String.t`, *default:* `nil`) - An HTML tag that can be placed on the advertiser's page to add users to a user list. For more information and code samples on using snippets on your website, refer to [Tag your site for remarketing](https://support.google.com/google-ads/answer/2476688). """ use GoogleApi.Gax.ModelBase diff --git a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/list_user_lists_response.ex b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/list_user_lists_response.ex index 5c6cb3415b..40f4812242 100644 --- a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/list_user_lists_response.ex +++ b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/list_user_lists_response.ex @@ -21,7 +21,7 @@ defmodule GoogleApi.RealTimeBidding.V1.Model.ListUserListsResponse do ## Attributes - * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - The continuation page token to send back to the server in a subsequent request. Due to a currently known issue, it is recommended that the caller keep invoking the list method till the time a next page token is not returned (even if the result set is empty). + * `nextPageToken` (*type:* `String.t`, *default:* `nil`) - The continuation page token to send back to the server in a subsequent request. Due to a currently known issue, it is recommended that the caller keep invoking the list method until the time a next page token is not returned, even if the result set is empty. * `userLists` (*type:* `list(GoogleApi.RealTimeBidding.V1.Model.UserList.t)`, *default:* `nil`) - List of user lists from the search. """ diff --git a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/policy_topic_entry.ex b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/policy_topic_entry.ex index 533de5298a..010ddf8036 100644 --- a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/policy_topic_entry.ex +++ b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/policy_topic_entry.ex @@ -23,6 +23,7 @@ defmodule GoogleApi.RealTimeBidding.V1.Model.PolicyTopicEntry do * `evidences` (*type:* `list(GoogleApi.RealTimeBidding.V1.Model.PolicyTopicEvidence.t)`, *default:* `nil`) - Pieces of evidence associated with this policy topic entry. * `helpCenterUrl` (*type:* `String.t`, *default:* `nil`) - URL of the help center article describing this policy topic. + * `missingCertificate` (*type:* `boolean()`, *default:* `nil`) - Whether or not the policy topic is missing a certificate. Some policy topics require a certificate to unblock serving in some regions. For more information about creative certification, refer to: https://support.google.com/authorizedbuyers/answer/7450776 * `policyTopic` (*type:* `String.t`, *default:* `nil`) - Policy topic this entry refers to. For example, "ALCOHOL", "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible policy topics is not fixed for a particular API version and may change at any time. Can be used to filter the response of the creatives.list method """ @@ -31,11 +32,13 @@ defmodule GoogleApi.RealTimeBidding.V1.Model.PolicyTopicEntry do @type t :: %__MODULE__{ :evidences => list(GoogleApi.RealTimeBidding.V1.Model.PolicyTopicEvidence.t()) | nil, :helpCenterUrl => String.t() | nil, + :missingCertificate => boolean() | nil, :policyTopic => String.t() | nil } field(:evidences, as: GoogleApi.RealTimeBidding.V1.Model.PolicyTopicEvidence, type: :list) field(:helpCenterUrl) + field(:missingCertificate) field(:policyTopic) end diff --git a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/url_restriction.ex b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/url_restriction.ex index 9584a492e7..f0472df47f 100644 --- a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/url_restriction.ex +++ b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/url_restriction.ex @@ -17,7 +17,7 @@ defmodule GoogleApi.RealTimeBidding.V1.Model.UrlRestriction do @moduledoc """ - Represents the URL restriction (for the URL captured by the pixel callback) for a user list. + Deprecated. This will be removed in October 2023. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api Represents the URL restriction (for the URL captured by the pixel callback) for a user list. ## Attributes diff --git a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/user_list.ex b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/user_list.ex index 19d591b22b..d74fb74f5b 100644 --- a/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/user_list.ex +++ b/clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/user_list.ex @@ -26,7 +26,7 @@ defmodule GoogleApi.RealTimeBidding.V1.Model.UserList do * `membershipDurationDays` (*type:* `String.t`, *default:* `nil`) - Required. The number of days a user's cookie stays on the user list. The field must be between 0 and 540 inclusive. * `name` (*type:* `String.t`, *default:* `nil`) - Output only. Name of the user list that must follow the pattern `buyers/{buyer}/userLists/{user_list}`, where `{buyer}` represents the account ID of the buyer who owns the user list. For a bidder accessing user lists on behalf of a child seat buyer, `{buyer}` represents the account ID of the child seat buyer. `{user_list}` is an int64 identifier assigned by Google to uniquely identify a user list. * `status` (*type:* `String.t`, *default:* `nil`) - Output only. The status of the user list. A new user list starts out as open. - * `urlRestriction` (*type:* `GoogleApi.RealTimeBidding.V1.Model.UrlRestriction.t`, *default:* `nil`) - Required. The URL restriction for the user list. + * `urlRestriction` (*type:* `GoogleApi.RealTimeBidding.V1.Model.UrlRestriction.t`, *default:* `nil`) - Required. Deprecated. This will be removed in October 2023. For more information, see the release notes: https://developers.google.com/authorized-buyers/apis/relnotes#real-time-bidding-api The URL restriction for the user list. """ use GoogleApi.Gax.ModelBase