class Buyers extends Resource (View source)

The "buyers" collection of methods.

Typical usage is:

 $realtimebiddingService = new Google\Service\RealTimeBidding(...);
 $buyers = $realtimebiddingService->buyers;

Methods

get(string $name, array $optParams = [])

Gets a buyer account by its name. (buyers.get)

getRemarketingTag(string $name, array $optParams = [])

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.

listBuyers(array $optParams = [])

Lists all buyer account information the calling buyer user or service account is permissioned to manage. (buyers.listBuyers)

Details

Buyer get(string $name, array $optParams = [])

Gets a buyer account by its name. (buyers.get)

Parameters

string $name

Required. Name of the buyer to get. Format: buyers/{buyerId}

array $optParams

Optional parameters.

Return Value

Buyer

Exceptions

Exception

GetRemarketingTagResponse getRemarketingTag(string $name, array $optParams = [])

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.

(buyers.getRemarketingTag)

Parameters

string $name

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.

array $optParams

Optional parameters.

Return Value

GetRemarketingTagResponse

Exceptions

Exception

ListBuyersResponse listBuyers(array $optParams = [])

Lists all buyer account information the calling buyer user or service account is permissioned to manage. (buyers.listBuyers)

Parameters

array $optParams

Optional parameters.

Return Value

ListBuyersResponse

Exceptions

Exception