Class ProposalService.ProposalServiceBase
Base class for server-side implementations of ProposalService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(ProposalService), "BindService")]
public abstract class ProposalService.ProposalServiceBase
Methods
BatchArchiveProposals(BatchArchiveProposalsRequest, ServerCallContext)
Archives Proposal objects.
Declaration
public virtual Task<BatchArchiveProposalsResponse> BatchArchiveProposals(BatchArchiveProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchArchiveProposalsResponse> | The response to send back to the client (wrapped by a task). |
BatchCreateProposals(BatchCreateProposalsRequest, ServerCallContext)
Creates Proposal objects.
Declaration
public virtual Task<BatchCreateProposalsResponse> BatchCreateProposals(BatchCreateProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateProposalsResponse> | The response to send back to the client (wrapped by a task). |
BatchDiscardDraftProposals(BatchDiscardDraftProposalsRequest, ServerCallContext)
Discards drafts, or revert local modifications, of Proposal objects.
Declaration
public virtual Task<BatchDiscardDraftProposalsResponse> BatchDiscardDraftProposals(BatchDiscardDraftProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDiscardDraftProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchDiscardDraftProposalsResponse> | The response to send back to the client (wrapped by a task). |
BatchPauseProposals(BatchPauseProposalsRequest, ServerCallContext)
Pauses Proposal objects.
Declaration
public virtual Task<BatchPauseProposalsResponse> BatchPauseProposals(BatchPauseProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchPauseProposalsResponse> | The response to send back to the client (wrapped by a task). |
BatchPushToOrderProposals(BatchPushToOrderProposalsRequest, ServerCallContext)
Push changes on Proposals to corresponding Orders, after negotiations
have been finalized.
Declaration
public virtual Task<BatchPushToOrderProposalsResponse> BatchPushToOrderProposals(BatchPushToOrderProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPushToOrderProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchPushToOrderProposalsResponse> | The response to send back to the client (wrapped by a task). |
BatchRedraftProposals(BatchRedraftProposalsRequest, ServerCallContext)
Redrafts Proposal objects for negotiation.
Declaration
public virtual Task<BatchRedraftProposalsResponse> BatchRedraftProposals(BatchRedraftProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRedraftProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchRedraftProposalsResponse> | The response to send back to the client (wrapped by a task). |
BatchRequestBuyerAcceptProposals(BatchRequestBuyerAcceptProposalsRequest, ServerCallContext)
Requests buyer acceptance for Proposal objects.
Declaration
public virtual Task<BatchRequestBuyerAcceptProposalsResponse> BatchRequestBuyerAcceptProposals(BatchRequestBuyerAcceptProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRequestBuyerAcceptProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchRequestBuyerAcceptProposalsResponse> | The response to send back to the client (wrapped by a task). |
BatchRequestBuyerReviewProposals(BatchRequestBuyerReviewProposalsRequest, ServerCallContext)
Requests buyer review for Proposal objects.
Declaration
public virtual Task<BatchRequestBuyerReviewProposalsResponse> BatchRequestBuyerReviewProposals(BatchRequestBuyerReviewProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRequestBuyerReviewProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchRequestBuyerReviewProposalsResponse> | The response to send back to the client (wrapped by a task). |
BatchReserveProposals(BatchReserveProposalsRequest, ServerCallContext)
Reserves inventory for Proposal objects.
Declaration
public virtual Task<BatchReserveProposalsResponse> BatchReserveProposals(BatchReserveProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchReserveProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchReserveProposalsResponse> | The response to send back to the client (wrapped by a task). |
BatchResumeProposals(BatchResumeProposalsRequest, ServerCallContext)
Resumes Proposal objects.
Declaration
public virtual Task<BatchResumeProposalsResponse> BatchResumeProposals(BatchResumeProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchResumeProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchResumeProposalsResponse> | The response to send back to the client (wrapped by a task). |
BatchTerminateProposals(BatchTerminateProposalsRequest, ServerCallContext)
Terminates negotiation on Proposal objects.
Declaration
public virtual Task<BatchTerminateProposalsResponse> BatchTerminateProposals(BatchTerminateProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchTerminateProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchTerminateProposalsResponse> | The response to send back to the client (wrapped by a task). |
BatchUnarchiveProposals(BatchUnarchiveProposalsRequest, ServerCallContext)
Unarchives Proposal objects.
Declaration
public virtual Task<BatchUnarchiveProposalsResponse> BatchUnarchiveProposals(BatchUnarchiveProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUnarchiveProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUnarchiveProposalsResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateProposals(BatchUpdateProposalsRequest, ServerCallContext)
Batch updates Proposal objects.
Declaration
public virtual Task<BatchUpdateProposalsResponse> BatchUpdateProposals(BatchUpdateProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateProposalsResponse> | The response to send back to the client (wrapped by a task). |
CreateProposal(CreateProposalRequest, ServerCallContext)
Creates a Proposal object.
Declaration
public virtual Task<Proposal> CreateProposal(CreateProposalRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateProposalRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Proposal> | The response to send back to the client (wrapped by a task). |
FetchMarketplaceComments(FetchMarketplaceCommentsRequest, ServerCallContext)
Fetches MarketplaceComments made on Proposals.
Declaration
public virtual Task<FetchMarketplaceCommentsResponse> FetchMarketplaceComments(FetchMarketplaceCommentsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| FetchMarketplaceCommentsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<FetchMarketplaceCommentsResponse> | The response to send back to the client (wrapped by a task). |
GetProposal(GetProposalRequest, ServerCallContext)
Retrieves a Proposal object.
Declaration
public virtual Task<Proposal> GetProposal(GetProposalRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetProposalRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Proposal> | The response to send back to the client (wrapped by a task). |
ListProposals(ListProposalsRequest, ServerCallContext)
Lists Proposal objects.
Declaration
public virtual Task<ListProposalsResponse> ListProposals(ListProposalsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListProposalsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListProposalsResponse> | The response to send back to the client (wrapped by a task). |
UpdateProposal(UpdateProposalRequest, ServerCallContext)
Updates a Proposal object.
Declaration
public virtual Task<Proposal> UpdateProposal(UpdateProposalRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateProposalRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Proposal> | The response to send back to the client (wrapped by a task). |