Class AccountsResource.ProposalsResource.AcceptRequest
Mark the proposal as accepted at the given revision number. If the number does not match the server's
revision number an ABORTED error message will be returned. This call updates the proposal_state from
PROPOSED to BUYER_ACCEPTED, or from SELLER_ACCEPTED to FINALIZED. Upon calling this endpoint,
the buyer implicitly agrees to the terms and conditions optionally set within the proposal by the
publisher.
Inheritance
AccountsResource.ProposalsResource.AcceptRequest
Inherited Members
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class AccountsResource.ProposalsResource.AcceptRequest : AdExchangeBuyerIIBaseServiceRequest<Proposal>, IClientServiceRequest<Proposal>, IClientServiceRequest
Constructors
AcceptRequest(IClientService, AcceptProposalRequest, string, string)
Constructs a new Accept request.
Declaration
public AcceptRequest(IClientService service, AcceptProposalRequest body, string accountId, string proposalId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| AcceptProposalRequest | body | |
| string | accountId | |
| string | proposalId |
Properties
AccountId
Account ID of the buyer.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { 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
ProposalId
The ID of the proposal to accept.
Declaration
[RequestParameter("proposalId", RequestParameterType.Path)]
public virtual string ProposalId { get; }
Property Value
| Type | Description |
|---|---|
| string |
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 Accept parameter list.
Declaration
protected override void InitParameters()