Class BuyersResource.FinalizedDealsResource.AddCreativeRequest
Add creative to be used in the bidding process for a finalized deal. For programmatic guaranteed deals, it's recommended that you associate at least one approved creative with the deal before calling SetReadyToServe, to help reduce the number of bid responses filtered because they don't contain approved creatives. Creatives successfully added to a deal can be found in the Realtime-bidding Creatives API creative.deal_ids. This method only applies to programmatic guaranteed deals. Maximum number of 1000 creatives can be added to a finalized deal.
Inheritance
Inherited Members
Namespace: Google.Apis.AuthorizedBuyersMarketplace.v1alpha
Assembly: Google.Apis.AuthorizedBuyersMarketplace.v1alpha.dll
Syntax
public class BuyersResource.FinalizedDealsResource.AddCreativeRequest : AuthorizedBuyersMarketplaceBaseServiceRequest<FinalizedDeal>, IClientServiceRequest<FinalizedDeal>, IClientServiceRequest
Constructors
AddCreativeRequest(IClientService, AddCreativeRequest, string)
Constructs a new AddCreative request.
Declaration
public AddCreativeRequest(IClientService service, AddCreativeRequest body, string deal)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AddCreativeRequest | body | |
string | deal |
Properties
Deal
Required. Name of the finalized deal in the format of: buyers/{accountId}/finalizedDeals/{dealId}
Declaration
[RequestParameter("deal", RequestParameterType.Path)]
public virtual string Deal { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes AddCreative parameter list.
Declaration
protected override void InitParameters()