public class RealTimeBidding.Buyers.Creatives extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
RealTimeBidding.Buyers.Creatives.Create |
class |
RealTimeBidding.Buyers.Creatives.Get |
class |
RealTimeBidding.Buyers.Creatives.List |
class |
RealTimeBidding.Buyers.Creatives.Patch |
| Constructor and Description |
|---|
Creatives() |
| Modifier and Type | Method and Description |
|---|---|
RealTimeBidding.Buyers.Creatives.Create |
create(String parent,
Creative content)
Creates a creative.
|
RealTimeBidding.Buyers.Creatives.Get |
get(String name)
Gets a creative.
|
RealTimeBidding.Buyers.Creatives.List |
list(String parent)
Lists creatives as they are at the time of the initial request.
|
RealTimeBidding.Buyers.Creatives.Patch |
patch(String name,
Creative content)
Updates a creative.
|
public RealTimeBidding.Buyers.Creatives.Create create(String parent, Creative content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The name of the parent buyer that the new creative belongs to that must follow the pattern
`buyers/{buyerAccountId}`, where `{buyerAccountId}` represents the account ID of the buyer
who owns a creative. For a bidder accessing creatives on behalf of a child seat buyer,
`{buyerAccountId}` should represent the account ID of the child seat buyer.content - the CreativeIOExceptionpublic RealTimeBidding.Buyers.Creatives.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Name of the creative to retrieve. See creative.name.IOExceptionpublic RealTimeBidding.Buyers.Creatives.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either
`buyers/{buyerAccountId}` or `bidders/{bidderAccountId}`. For `buyers/{buyerAccountId}`,
the `buyerAccountId` can be one of the following: 1. The ID of the buyer that is accessing
their own creatives. 2. The ID of the child seat buyer under a bidder account. So for
listing creatives pertaining to the child seat buyer (`456`) under bidder account (`123`),
you would use the pattern: `buyers/456`. 3. The ID of the bidder itself. So for listing
creatives pertaining to bidder (`123`), you would use `buyers/123`. If you want to access
all creatives pertaining to both the bidder and all of its child seat accounts, you would
use `bidders/{bidderAccountId}`, for example, for all creatives pertaining to bidder
(`123`), use `bidders/123`.IOExceptionpublic RealTimeBidding.Buyers.Creatives.Patch patch(String name, Creative content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - 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.content - the CreativeIOExceptionCopyright © 2011–2025 Google. All rights reserved.