Show / Hide Table of Contents

Class ProposalService.ProposalServiceClient

Client for ProposalService

Inheritance
object
ClientBase
ClientBase<ProposalService.ProposalServiceClient>
ProposalService.ProposalServiceClient
Inherited Members
ClientBase<ProposalService.ProposalServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class ProposalService.ProposalServiceClient : ClientBase<ProposalService.ProposalServiceClient>

Constructors

ProposalServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected ProposalServiceClient()

ProposalServiceClient(CallInvoker)

Creates a new client for ProposalService that uses a custom CallInvoker.

Declaration
public ProposalServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

ProposalServiceClient(ChannelBase)

Creates a new client for ProposalService

Declaration
public ProposalServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

ProposalServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected ProposalServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

BatchArchiveProposals(BatchArchiveProposalsRequest, CallOptions)

Archives Proposal objects.

Declaration
public virtual BatchArchiveProposalsResponse BatchArchiveProposals(BatchArchiveProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchArchiveProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchArchiveProposalsResponse

The response received from the server.

BatchArchiveProposals(BatchArchiveProposalsRequest, Metadata, DateTime?, CancellationToken)

Archives Proposal objects.

Declaration
public virtual BatchArchiveProposalsResponse BatchArchiveProposals(BatchArchiveProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchArchiveProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchArchiveProposalsResponse

The response received from the server.

BatchArchiveProposalsAsync(BatchArchiveProposalsRequest, CallOptions)

Archives Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchArchiveProposalsResponse> BatchArchiveProposalsAsync(BatchArchiveProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchArchiveProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchArchiveProposalsResponse>

The call object.

BatchArchiveProposalsAsync(BatchArchiveProposalsRequest, Metadata, DateTime?, CancellationToken)

Archives Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchArchiveProposalsResponse> BatchArchiveProposalsAsync(BatchArchiveProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchArchiveProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchArchiveProposalsResponse>

The call object.

BatchCreateProposals(BatchCreateProposalsRequest, CallOptions)

Creates Proposal objects.

Declaration
public virtual BatchCreateProposalsResponse BatchCreateProposals(BatchCreateProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchCreateProposalsResponse

The response received from the server.

BatchCreateProposals(BatchCreateProposalsRequest, Metadata, DateTime?, CancellationToken)

Creates Proposal objects.

Declaration
public virtual BatchCreateProposalsResponse BatchCreateProposals(BatchCreateProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchCreateProposalsResponse

The response received from the server.

BatchCreateProposalsAsync(BatchCreateProposalsRequest, CallOptions)

Creates Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateProposalsResponse> BatchCreateProposalsAsync(BatchCreateProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateProposalsResponse>

The call object.

BatchCreateProposalsAsync(BatchCreateProposalsRequest, Metadata, DateTime?, CancellationToken)

Creates Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateProposalsResponse> BatchCreateProposalsAsync(BatchCreateProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateProposalsResponse>

The call object.

BatchDiscardDraftProposals(BatchDiscardDraftProposalsRequest, CallOptions)

Discards drafts, or revert local modifications, of Proposal objects.

Declaration
public virtual BatchDiscardDraftProposalsResponse BatchDiscardDraftProposals(BatchDiscardDraftProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchDiscardDraftProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchDiscardDraftProposalsResponse

The response received from the server.

BatchDiscardDraftProposals(BatchDiscardDraftProposalsRequest, Metadata, DateTime?, CancellationToken)

Discards drafts, or revert local modifications, of Proposal objects.

Declaration
public virtual BatchDiscardDraftProposalsResponse BatchDiscardDraftProposals(BatchDiscardDraftProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchDiscardDraftProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchDiscardDraftProposalsResponse

The response received from the server.

BatchDiscardDraftProposalsAsync(BatchDiscardDraftProposalsRequest, CallOptions)

Discards drafts, or revert local modifications, of Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchDiscardDraftProposalsResponse> BatchDiscardDraftProposalsAsync(BatchDiscardDraftProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchDiscardDraftProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchDiscardDraftProposalsResponse>

The call object.

BatchDiscardDraftProposalsAsync(BatchDiscardDraftProposalsRequest, Metadata, DateTime?, CancellationToken)

Discards drafts, or revert local modifications, of Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchDiscardDraftProposalsResponse> BatchDiscardDraftProposalsAsync(BatchDiscardDraftProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchDiscardDraftProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchDiscardDraftProposalsResponse>

The call object.

BatchPauseProposals(BatchPauseProposalsRequest, CallOptions)

Pauses Proposal objects.

Declaration
public virtual BatchPauseProposalsResponse BatchPauseProposals(BatchPauseProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchPauseProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchPauseProposalsResponse

The response received from the server.

BatchPauseProposals(BatchPauseProposalsRequest, Metadata, DateTime?, CancellationToken)

Pauses Proposal objects.

Declaration
public virtual BatchPauseProposalsResponse BatchPauseProposals(BatchPauseProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchPauseProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchPauseProposalsResponse

The response received from the server.

BatchPauseProposalsAsync(BatchPauseProposalsRequest, CallOptions)

Pauses Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchPauseProposalsResponse> BatchPauseProposalsAsync(BatchPauseProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchPauseProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchPauseProposalsResponse>

The call object.

BatchPauseProposalsAsync(BatchPauseProposalsRequest, Metadata, DateTime?, CancellationToken)

Pauses Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchPauseProposalsResponse> BatchPauseProposalsAsync(BatchPauseProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchPauseProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchPauseProposalsResponse>

The call object.

BatchPushToOrderProposals(BatchPushToOrderProposalsRequest, CallOptions)

Push changes on Proposals to corresponding Orders, after negotiations have been finalized.

Declaration
public virtual BatchPushToOrderProposalsResponse BatchPushToOrderProposals(BatchPushToOrderProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchPushToOrderProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchPushToOrderProposalsResponse

The response received from the server.

BatchPushToOrderProposals(BatchPushToOrderProposalsRequest, Metadata, DateTime?, CancellationToken)

Push changes on Proposals to corresponding Orders, after negotiations have been finalized.

Declaration
public virtual BatchPushToOrderProposalsResponse BatchPushToOrderProposals(BatchPushToOrderProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchPushToOrderProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchPushToOrderProposalsResponse

The response received from the server.

BatchPushToOrderProposalsAsync(BatchPushToOrderProposalsRequest, CallOptions)

Push changes on Proposals to corresponding Orders, after negotiations have been finalized.

Declaration
public virtual AsyncUnaryCall<BatchPushToOrderProposalsResponse> BatchPushToOrderProposalsAsync(BatchPushToOrderProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchPushToOrderProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchPushToOrderProposalsResponse>

The call object.

BatchPushToOrderProposalsAsync(BatchPushToOrderProposalsRequest, Metadata, DateTime?, CancellationToken)

Push changes on Proposals to corresponding Orders, after negotiations have been finalized.

Declaration
public virtual AsyncUnaryCall<BatchPushToOrderProposalsResponse> BatchPushToOrderProposalsAsync(BatchPushToOrderProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchPushToOrderProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchPushToOrderProposalsResponse>

The call object.

BatchRedraftProposals(BatchRedraftProposalsRequest, CallOptions)

Redrafts Proposal objects for negotiation.

Declaration
public virtual BatchRedraftProposalsResponse BatchRedraftProposals(BatchRedraftProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchRedraftProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchRedraftProposalsResponse

The response received from the server.

BatchRedraftProposals(BatchRedraftProposalsRequest, Metadata, DateTime?, CancellationToken)

Redrafts Proposal objects for negotiation.

Declaration
public virtual BatchRedraftProposalsResponse BatchRedraftProposals(BatchRedraftProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchRedraftProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchRedraftProposalsResponse

The response received from the server.

BatchRedraftProposalsAsync(BatchRedraftProposalsRequest, CallOptions)

Redrafts Proposal objects for negotiation.

Declaration
public virtual AsyncUnaryCall<BatchRedraftProposalsResponse> BatchRedraftProposalsAsync(BatchRedraftProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchRedraftProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchRedraftProposalsResponse>

The call object.

BatchRedraftProposalsAsync(BatchRedraftProposalsRequest, Metadata, DateTime?, CancellationToken)

Redrafts Proposal objects for negotiation.

Declaration
public virtual AsyncUnaryCall<BatchRedraftProposalsResponse> BatchRedraftProposalsAsync(BatchRedraftProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchRedraftProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchRedraftProposalsResponse>

The call object.

BatchRequestBuyerAcceptProposals(BatchRequestBuyerAcceptProposalsRequest, CallOptions)

Requests buyer acceptance for Proposal objects.

Declaration
public virtual BatchRequestBuyerAcceptProposalsResponse BatchRequestBuyerAcceptProposals(BatchRequestBuyerAcceptProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchRequestBuyerAcceptProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchRequestBuyerAcceptProposalsResponse

The response received from the server.

BatchRequestBuyerAcceptProposals(BatchRequestBuyerAcceptProposalsRequest, Metadata, DateTime?, CancellationToken)

Requests buyer acceptance for Proposal objects.

Declaration
public virtual BatchRequestBuyerAcceptProposalsResponse BatchRequestBuyerAcceptProposals(BatchRequestBuyerAcceptProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchRequestBuyerAcceptProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchRequestBuyerAcceptProposalsResponse

The response received from the server.

BatchRequestBuyerAcceptProposalsAsync(BatchRequestBuyerAcceptProposalsRequest, CallOptions)

Requests buyer acceptance for Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchRequestBuyerAcceptProposalsResponse> BatchRequestBuyerAcceptProposalsAsync(BatchRequestBuyerAcceptProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchRequestBuyerAcceptProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchRequestBuyerAcceptProposalsResponse>

The call object.

BatchRequestBuyerAcceptProposalsAsync(BatchRequestBuyerAcceptProposalsRequest, Metadata, DateTime?, CancellationToken)

Requests buyer acceptance for Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchRequestBuyerAcceptProposalsResponse> BatchRequestBuyerAcceptProposalsAsync(BatchRequestBuyerAcceptProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchRequestBuyerAcceptProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchRequestBuyerAcceptProposalsResponse>

The call object.

BatchRequestBuyerReviewProposals(BatchRequestBuyerReviewProposalsRequest, CallOptions)

Requests buyer review for Proposal objects.

Declaration
public virtual BatchRequestBuyerReviewProposalsResponse BatchRequestBuyerReviewProposals(BatchRequestBuyerReviewProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchRequestBuyerReviewProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchRequestBuyerReviewProposalsResponse

The response received from the server.

BatchRequestBuyerReviewProposals(BatchRequestBuyerReviewProposalsRequest, Metadata, DateTime?, CancellationToken)

Requests buyer review for Proposal objects.

Declaration
public virtual BatchRequestBuyerReviewProposalsResponse BatchRequestBuyerReviewProposals(BatchRequestBuyerReviewProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchRequestBuyerReviewProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchRequestBuyerReviewProposalsResponse

The response received from the server.

BatchRequestBuyerReviewProposalsAsync(BatchRequestBuyerReviewProposalsRequest, CallOptions)

Requests buyer review for Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchRequestBuyerReviewProposalsResponse> BatchRequestBuyerReviewProposalsAsync(BatchRequestBuyerReviewProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchRequestBuyerReviewProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchRequestBuyerReviewProposalsResponse>

The call object.

BatchRequestBuyerReviewProposalsAsync(BatchRequestBuyerReviewProposalsRequest, Metadata, DateTime?, CancellationToken)

Requests buyer review for Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchRequestBuyerReviewProposalsResponse> BatchRequestBuyerReviewProposalsAsync(BatchRequestBuyerReviewProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchRequestBuyerReviewProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchRequestBuyerReviewProposalsResponse>

The call object.

BatchReserveProposals(BatchReserveProposalsRequest, CallOptions)

Reserves inventory for Proposal objects.

Declaration
public virtual BatchReserveProposalsResponse BatchReserveProposals(BatchReserveProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchReserveProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchReserveProposalsResponse

The response received from the server.

BatchReserveProposals(BatchReserveProposalsRequest, Metadata, DateTime?, CancellationToken)

Reserves inventory for Proposal objects.

Declaration
public virtual BatchReserveProposalsResponse BatchReserveProposals(BatchReserveProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchReserveProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchReserveProposalsResponse

The response received from the server.

BatchReserveProposalsAsync(BatchReserveProposalsRequest, CallOptions)

Reserves inventory for Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchReserveProposalsResponse> BatchReserveProposalsAsync(BatchReserveProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchReserveProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchReserveProposalsResponse>

The call object.

BatchReserveProposalsAsync(BatchReserveProposalsRequest, Metadata, DateTime?, CancellationToken)

Reserves inventory for Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchReserveProposalsResponse> BatchReserveProposalsAsync(BatchReserveProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchReserveProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchReserveProposalsResponse>

The call object.

BatchResumeProposals(BatchResumeProposalsRequest, CallOptions)

Resumes Proposal objects.

Declaration
public virtual BatchResumeProposalsResponse BatchResumeProposals(BatchResumeProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchResumeProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchResumeProposalsResponse

The response received from the server.

BatchResumeProposals(BatchResumeProposalsRequest, Metadata, DateTime?, CancellationToken)

Resumes Proposal objects.

Declaration
public virtual BatchResumeProposalsResponse BatchResumeProposals(BatchResumeProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchResumeProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchResumeProposalsResponse

The response received from the server.

BatchResumeProposalsAsync(BatchResumeProposalsRequest, CallOptions)

Resumes Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchResumeProposalsResponse> BatchResumeProposalsAsync(BatchResumeProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchResumeProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchResumeProposalsResponse>

The call object.

BatchResumeProposalsAsync(BatchResumeProposalsRequest, Metadata, DateTime?, CancellationToken)

Resumes Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchResumeProposalsResponse> BatchResumeProposalsAsync(BatchResumeProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchResumeProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchResumeProposalsResponse>

The call object.

BatchTerminateProposals(BatchTerminateProposalsRequest, CallOptions)

Terminates negotiation on Proposal objects.

Declaration
public virtual BatchTerminateProposalsResponse BatchTerminateProposals(BatchTerminateProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchTerminateProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchTerminateProposalsResponse

The response received from the server.

BatchTerminateProposals(BatchTerminateProposalsRequest, Metadata, DateTime?, CancellationToken)

Terminates negotiation on Proposal objects.

Declaration
public virtual BatchTerminateProposalsResponse BatchTerminateProposals(BatchTerminateProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchTerminateProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchTerminateProposalsResponse

The response received from the server.

BatchTerminateProposalsAsync(BatchTerminateProposalsRequest, CallOptions)

Terminates negotiation on Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchTerminateProposalsResponse> BatchTerminateProposalsAsync(BatchTerminateProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchTerminateProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchTerminateProposalsResponse>

The call object.

BatchTerminateProposalsAsync(BatchTerminateProposalsRequest, Metadata, DateTime?, CancellationToken)

Terminates negotiation on Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchTerminateProposalsResponse> BatchTerminateProposalsAsync(BatchTerminateProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchTerminateProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchTerminateProposalsResponse>

The call object.

BatchUnarchiveProposals(BatchUnarchiveProposalsRequest, CallOptions)

Unarchives Proposal objects.

Declaration
public virtual BatchUnarchiveProposalsResponse BatchUnarchiveProposals(BatchUnarchiveProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUnarchiveProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchUnarchiveProposalsResponse

The response received from the server.

BatchUnarchiveProposals(BatchUnarchiveProposalsRequest, Metadata, DateTime?, CancellationToken)

Unarchives Proposal objects.

Declaration
public virtual BatchUnarchiveProposalsResponse BatchUnarchiveProposals(BatchUnarchiveProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUnarchiveProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchUnarchiveProposalsResponse

The response received from the server.

BatchUnarchiveProposalsAsync(BatchUnarchiveProposalsRequest, CallOptions)

Unarchives Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchUnarchiveProposalsResponse> BatchUnarchiveProposalsAsync(BatchUnarchiveProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUnarchiveProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchUnarchiveProposalsResponse>

The call object.

BatchUnarchiveProposalsAsync(BatchUnarchiveProposalsRequest, Metadata, DateTime?, CancellationToken)

Unarchives Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchUnarchiveProposalsResponse> BatchUnarchiveProposalsAsync(BatchUnarchiveProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUnarchiveProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchUnarchiveProposalsResponse>

The call object.

BatchUpdateProposals(BatchUpdateProposalsRequest, CallOptions)

Batch updates Proposal objects.

Declaration
public virtual BatchUpdateProposalsResponse BatchUpdateProposals(BatchUpdateProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchUpdateProposalsResponse

The response received from the server.

BatchUpdateProposals(BatchUpdateProposalsRequest, Metadata, DateTime?, CancellationToken)

Batch updates Proposal objects.

Declaration
public virtual BatchUpdateProposalsResponse BatchUpdateProposals(BatchUpdateProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchUpdateProposalsResponse

The response received from the server.

BatchUpdateProposalsAsync(BatchUpdateProposalsRequest, CallOptions)

Batch updates Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateProposalsResponse> BatchUpdateProposalsAsync(BatchUpdateProposalsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateProposalsResponse>

The call object.

BatchUpdateProposalsAsync(BatchUpdateProposalsRequest, Metadata, DateTime?, CancellationToken)

Batch updates Proposal objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateProposalsResponse> BatchUpdateProposalsAsync(BatchUpdateProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateProposalsResponse>

The call object.

CreateProposal(CreateProposalRequest, CallOptions)

Creates a Proposal object.

Declaration
public virtual Proposal CreateProposal(CreateProposalRequest request, CallOptions options)
Parameters
Type Name Description
CreateProposalRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Proposal

The response received from the server.

CreateProposal(CreateProposalRequest, Metadata, DateTime?, CancellationToken)

Creates a Proposal object.

Declaration
public virtual Proposal CreateProposal(CreateProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateProposalRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
Proposal

The response received from the server.

CreateProposalAsync(CreateProposalRequest, CallOptions)

Creates a Proposal object.

Declaration
public virtual AsyncUnaryCall<Proposal> CreateProposalAsync(CreateProposalRequest request, CallOptions options)
Parameters
Type Name Description
CreateProposalRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Proposal>

The call object.

CreateProposalAsync(CreateProposalRequest, Metadata, DateTime?, CancellationToken)

Creates a Proposal object.

Declaration
public virtual AsyncUnaryCall<Proposal> CreateProposalAsync(CreateProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateProposalRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Proposal>

The call object.

FetchMarketplaceComments(FetchMarketplaceCommentsRequest, CallOptions)

Fetches MarketplaceComments made on Proposals.

Declaration
public virtual FetchMarketplaceCommentsResponse FetchMarketplaceComments(FetchMarketplaceCommentsRequest request, CallOptions options)
Parameters
Type Name Description
FetchMarketplaceCommentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
FetchMarketplaceCommentsResponse

The response received from the server.

FetchMarketplaceComments(FetchMarketplaceCommentsRequest, Metadata, DateTime?, CancellationToken)

Fetches MarketplaceComments made on Proposals.

Declaration
public virtual FetchMarketplaceCommentsResponse FetchMarketplaceComments(FetchMarketplaceCommentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
FetchMarketplaceCommentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
FetchMarketplaceCommentsResponse

The response received from the server.

FetchMarketplaceCommentsAsync(FetchMarketplaceCommentsRequest, CallOptions)

Fetches MarketplaceComments made on Proposals.

Declaration
public virtual AsyncUnaryCall<FetchMarketplaceCommentsResponse> FetchMarketplaceCommentsAsync(FetchMarketplaceCommentsRequest request, CallOptions options)
Parameters
Type Name Description
FetchMarketplaceCommentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<FetchMarketplaceCommentsResponse>

The call object.

FetchMarketplaceCommentsAsync(FetchMarketplaceCommentsRequest, Metadata, DateTime?, CancellationToken)

Fetches MarketplaceComments made on Proposals.

Declaration
public virtual AsyncUnaryCall<FetchMarketplaceCommentsResponse> FetchMarketplaceCommentsAsync(FetchMarketplaceCommentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
FetchMarketplaceCommentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<FetchMarketplaceCommentsResponse>

The call object.

GetProposal(GetProposalRequest, CallOptions)

Retrieves a Proposal object.

Declaration
public virtual Proposal GetProposal(GetProposalRequest request, CallOptions options)
Parameters
Type Name Description
GetProposalRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Proposal

The response received from the server.

GetProposal(GetProposalRequest, Metadata, DateTime?, CancellationToken)

Retrieves a Proposal object.

Declaration
public virtual Proposal GetProposal(GetProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetProposalRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
Proposal

The response received from the server.

GetProposalAsync(GetProposalRequest, CallOptions)

Retrieves a Proposal object.

Declaration
public virtual AsyncUnaryCall<Proposal> GetProposalAsync(GetProposalRequest request, CallOptions options)
Parameters
Type Name Description
GetProposalRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Proposal>

The call object.

GetProposalAsync(GetProposalRequest, Metadata, DateTime?, CancellationToken)

Retrieves a Proposal object.

Declaration
public virtual AsyncUnaryCall<Proposal> GetProposalAsync(GetProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetProposalRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Proposal>

The call object.

ListProposals(ListProposalsRequest, CallOptions)

Lists Proposal objects.

Declaration
public virtual ListProposalsResponse ListProposals(ListProposalsRequest request, CallOptions options)
Parameters
Type Name Description
ListProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListProposalsResponse

The response received from the server.

ListProposals(ListProposalsRequest, Metadata, DateTime?, CancellationToken)

Lists Proposal objects.

Declaration
public virtual ListProposalsResponse ListProposals(ListProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ListProposalsResponse

The response received from the server.

ListProposalsAsync(ListProposalsRequest, CallOptions)

Lists Proposal objects.

Declaration
public virtual AsyncUnaryCall<ListProposalsResponse> ListProposalsAsync(ListProposalsRequest request, CallOptions options)
Parameters
Type Name Description
ListProposalsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListProposalsResponse>

The call object.

ListProposalsAsync(ListProposalsRequest, Metadata, DateTime?, CancellationToken)

Lists Proposal objects.

Declaration
public virtual AsyncUnaryCall<ListProposalsResponse> ListProposalsAsync(ListProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListProposalsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ListProposalsResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override ProposalService.ProposalServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
ProposalService.ProposalServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.ProposalService.ProposalServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateProposal(UpdateProposalRequest, CallOptions)

Updates a Proposal object.

Declaration
public virtual Proposal UpdateProposal(UpdateProposalRequest request, CallOptions options)
Parameters
Type Name Description
UpdateProposalRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Proposal

The response received from the server.

UpdateProposal(UpdateProposalRequest, Metadata, DateTime?, CancellationToken)

Updates a Proposal object.

Declaration
public virtual Proposal UpdateProposal(UpdateProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateProposalRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
Proposal

The response received from the server.

UpdateProposalAsync(UpdateProposalRequest, CallOptions)

Updates a Proposal object.

Declaration
public virtual AsyncUnaryCall<Proposal> UpdateProposalAsync(UpdateProposalRequest request, CallOptions options)
Parameters
Type Name Description
UpdateProposalRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Proposal>

The call object.

UpdateProposalAsync(UpdateProposalRequest, Metadata, DateTime?, CancellationToken)

Updates a Proposal object.

Declaration
public virtual AsyncUnaryCall<Proposal> UpdateProposalAsync(UpdateProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateProposalRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Proposal>

The call object.

In this article
Back to top Generated by DocFX