Show / Hide Table of Contents

Class BuyersResource.ProposalsResource

The "proposals" collection of methods.

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

Constructors

ProposalsResource(IClientService)

Constructs a new resource.

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

Properties

Deals

Gets the Deals resource.

Declaration
public virtual BuyersResource.ProposalsResource.DealsResource Deals { get; }
Property Value
Type Description
BuyersResource.ProposalsResource.DealsResource

Methods

Accept(AcceptProposalRequest, string)

Accepts the proposal at the given revision number. If the revision number in the request is behind the latest from the server, an error message will be returned. This call updates the Proposal.state from BUYER_ACCEPTANCE_REQUESTED to FINALIZED; it has no side effect if the Proposal.state is already FINALIZED and throws exception if the Proposal.state is not either BUYER_ACCEPTANCE_REQUESTED or FINALIZED. Accepting a proposal means the buyer understands and accepts the Proposal.terms_and_conditions proposed by the seller.

Declaration
public virtual BuyersResource.ProposalsResource.AcceptRequest Accept(AcceptProposalRequest body, string name)
Parameters
Type Name Description
AcceptProposalRequest body

The body of the request.

string name

Name of the proposal. Format: buyers/{accountId}/proposals/{proposalId}

Returns
Type Description
BuyersResource.ProposalsResource.AcceptRequest

AddNote(AddNoteRequest, string)

Creates a note for this proposal and sends to the seller. This method is not supported for proposals with DealType set to 'PRIVATE_AUCTION'.

Declaration
public virtual BuyersResource.ProposalsResource.AddNoteRequest AddNote(AddNoteRequest body, string proposal)
Parameters
Type Name Description
AddNoteRequest body

The body of the request.

string proposal

Name of the proposal. Format: buyers/{accountId}/proposals/{proposalId}

Returns
Type Description
BuyersResource.ProposalsResource.AddNoteRequest

CancelNegotiation(CancelNegotiationRequest, string)

Cancels an ongoing negotiation on a proposal. This does not cancel or end serving for the deals if the proposal has been finalized. If the proposal has not been finalized before, calling this method will set the Proposal.state to TERMINATED and increment the Proposal.proposal_revision. If the proposal has been finalized before and is under renegotiation now, calling this method will reset the Proposal.state to FINALIZED and increment the Proposal.proposal_revision. This method does not support private auction proposals whose Proposal.deal_type is 'PRIVATE_AUCTION'.

Declaration
public virtual BuyersResource.ProposalsResource.CancelNegotiationRequest CancelNegotiation(CancelNegotiationRequest body, string proposal)
Parameters
Type Name Description
CancelNegotiationRequest body

The body of the request.

string proposal

Name of the proposal. Format: buyers/{accountId}/proposals/{proposalId}

Returns
Type Description
BuyersResource.ProposalsResource.CancelNegotiationRequest

Get(string)

Gets a proposal using its resource name. The proposal is returned at the latest revision.

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

Required. Name of the proposal. Format: buyers/{accountId}/proposals/{proposalId}

Returns
Type Description
BuyersResource.ProposalsResource.GetRequest

List(string)

Lists proposals. A filter expression using Cloud API list filtering syntax may be specified to filter the results.

Declaration
public virtual BuyersResource.ProposalsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Parent that owns the collection of proposals Format: buyers/{accountId}

Returns
Type Description
BuyersResource.ProposalsResource.ListRequest

Patch(Proposal, string)

Updates the proposal at the given revision number. If the revision number in the request is behind the latest one kept in the server, an error message will be returned. See FieldMask for how to use FieldMask. Only fields specified in the UpdateProposalRequest.update_mask will be updated; Fields noted as 'Immutable' or 'Output only' yet specified in the UpdateProposalRequest.update_mask will be ignored and left unchanged. Updating a private auction proposal is only allowed for buyer private data, all other fields are immutable.

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

The body of the request.

string name

Immutable. The name of the proposal serving as a unique identifier. Format: buyers/{accountId}/proposals/{proposalId}

Returns
Type Description
BuyersResource.ProposalsResource.PatchRequest

SendRfp(SendRfpRequest, string)

Sends a request for proposal (RFP) to a publisher to initiate the negotiation regarding certain inventory. In the RFP, buyers can specify the deal type, deal terms, start and end dates, targeting, and a message to the publisher. Once the RFP is sent, a proposal in SELLER_REVIEW_REQUESTED state will be created and returned in the response. The publisher may review your request and respond with detailed deals in the proposal.

Declaration
public virtual BuyersResource.ProposalsResource.SendRfpRequest SendRfp(SendRfpRequest body, string buyer)
Parameters
Type Name Description
SendRfpRequest body

The body of the request.

string buyer

Required. The current buyer who is sending the RFP in the format: buyers/{accountId}.

Returns
Type Description
BuyersResource.ProposalsResource.SendRfpRequest
In this article
Back to top Generated by DocFX