Show / Hide Table of Contents

Class BuyersResource.CreativesResource

The "creatives" collection of methods.

Inheritance
object
BuyersResource.CreativesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.RealTimeBidding.v1
Assembly: Google.Apis.RealTimeBidding.v1.dll
Syntax
public class BuyersResource.CreativesResource

Constructors

CreativesResource(IClientService)

Constructs a new resource.

Declaration
public CreativesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(Creative, string)

Creates a creative.

Declaration
public virtual BuyersResource.CreativesResource.CreateRequest Create(Creative body, string parent)
Parameters
Type Name Description
Creative body

The body of the request.

string 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.

Returns
Type Description
BuyersResource.CreativesResource.CreateRequest

Get(string)

Gets a creative.

Declaration
public virtual BuyersResource.CreativesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Name of the creative to retrieve. See creative.name.

Returns
Type Description
BuyersResource.CreativesResource.GetRequest

List(string)

Lists creatives as they are at the time of the initial request. This call may take multiple hours to complete. For large, paginated requests, this method returns a snapshot of creatives at the time of request for the first page. lastStatusUpdate and creativeServingDecision may be outdated for creatives on sequential pages. We recommend Google Cloud Pub/Sub to view the latest status.

Declaration
public virtual BuyersResource.CreativesResource.ListRequest List(string parent)
Parameters
Type Name Description
string 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.

Returns
Type Description
BuyersResource.CreativesResource.ListRequest

Patch(Creative, string)

Updates a creative.

Declaration
public virtual BuyersResource.CreativesResource.PatchRequest Patch(Creative body, string name)
Parameters
Type Name Description
Creative body

The body of the request.

string 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.

Returns
Type Description
BuyersResource.CreativesResource.PatchRequest
In this article
Back to top Generated by DocFX