Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of RealTimeBidding client #10984

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""

Expand All @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading