Class AccountsResource.CreativesResource.CreateRequest
Creates a creative.
Inheritance
AccountsResource.CreativesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class AccountsResource.CreativesResource.CreateRequest : AdExchangeBuyerIIBaseServiceRequest<Creative>, IClientServiceRequest<Creative>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Creative, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Creative body, string accountId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Creative | body | |
string | accountId |
Properties
AccountId
The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type | Description |
---|---|
string |
DuplicateIdMode
Indicates if multiple creatives can share an ID or not. Default is NO_DUPLICATES (one ID per creative).
Declaration
[RequestParameter("duplicateIdMode", RequestParameterType.Query)]
public virtual AccountsResource.CreativesResource.CreateRequest.DuplicateIdModeEnum? DuplicateIdMode { get; set; }
Property Value
Type | Description |
---|---|
AccountsResource.CreativesResource.CreateRequest.DuplicateIdModeEnum? |
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 Create parameter list.
Declaration
protected override void InitParameters()