Class AccountsResource.CreativesResource.DealAssociationsResource.AddRequest
Associate an existing deal with a creative.
Inheritance
AccountsResource.CreativesResource.DealAssociationsResource.AddRequest
Inherited Members
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class AccountsResource.CreativesResource.DealAssociationsResource.AddRequest : AdExchangeBuyerIIBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
AddRequest(IClientService, AddDealAssociationRequest, string, string)
Constructs a new Add request.
Declaration
public AddRequest(IClientService service, AddDealAssociationRequest body, string accountId, string creativeId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AddDealAssociationRequest | body | |
string | accountId | |
string | creativeId |
Properties
AccountId
The account the creative belongs to.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type | Description |
---|---|
string |
CreativeId
The ID of the creative associated with the deal.
Declaration
[RequestParameter("creativeId", RequestParameterType.Path)]
public virtual string CreativeId { 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 Add parameter list.
Declaration
protected override void InitParameters()