Show / Hide Table of Contents

Class LineItemService.LineItemServiceClient

Client for LineItemService

Inheritance
object
ClientBase
ClientBase<LineItemService.LineItemServiceClient>
LineItemService.LineItemServiceClient
Inherited Members
ClientBase<LineItemService.LineItemServiceClient>.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 LineItemService.LineItemServiceClient : ClientBase<LineItemService.LineItemServiceClient>

Constructors

LineItemServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected LineItemServiceClient()

LineItemServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

LineItemServiceClient(ChannelBase)

Creates a new client for LineItemService

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

The channel to use to make remote calls.

LineItemServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

BatchActivateLineItems(BatchActivateLineItemsRequest, CallOptions)

Batch activates LineItem objects.

Declaration
public virtual BatchActivateLineItemsResponse BatchActivateLineItems(BatchActivateLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchActivateLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchActivateLineItemsResponse

The response received from the server.

BatchActivateLineItems(BatchActivateLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch activates LineItem objects.

Declaration
public virtual BatchActivateLineItemsResponse BatchActivateLineItems(BatchActivateLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchActivateLineItemsRequest 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
BatchActivateLineItemsResponse

The response received from the server.

BatchActivateLineItemsAsync(BatchActivateLineItemsRequest, CallOptions)

Batch activates LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchActivateLineItemsResponse> BatchActivateLineItemsAsync(BatchActivateLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchActivateLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchActivateLineItemsResponse>

The call object.

BatchActivateLineItemsAsync(BatchActivateLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch activates LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchActivateLineItemsResponse> BatchActivateLineItemsAsync(BatchActivateLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchActivateLineItemsRequest 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<BatchActivateLineItemsResponse>

The call object.

BatchArchiveLineItems(BatchArchiveLineItemsRequest, CallOptions)

Batch archives LineItem objects.

Declaration
public virtual BatchArchiveLineItemsResponse BatchArchiveLineItems(BatchArchiveLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchArchiveLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchArchiveLineItemsResponse

The response received from the server.

BatchArchiveLineItems(BatchArchiveLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch archives LineItem objects.

Declaration
public virtual BatchArchiveLineItemsResponse BatchArchiveLineItems(BatchArchiveLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchArchiveLineItemsRequest 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
BatchArchiveLineItemsResponse

The response received from the server.

BatchArchiveLineItemsAsync(BatchArchiveLineItemsRequest, CallOptions)

Batch archives LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchArchiveLineItemsResponse> BatchArchiveLineItemsAsync(BatchArchiveLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchArchiveLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchArchiveLineItemsResponse>

The call object.

BatchArchiveLineItemsAsync(BatchArchiveLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch archives LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchArchiveLineItemsResponse> BatchArchiveLineItemsAsync(BatchArchiveLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchArchiveLineItemsRequest 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<BatchArchiveLineItemsResponse>

The call object.

BatchCreateLineItems(BatchCreateLineItemsRequest, CallOptions)

Creates LineItem objects.

Declaration
public virtual BatchCreateLineItemsResponse BatchCreateLineItems(BatchCreateLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchCreateLineItemsResponse

The response received from the server.

BatchCreateLineItems(BatchCreateLineItemsRequest, Metadata, DateTime?, CancellationToken)

Creates LineItem objects.

Declaration
public virtual BatchCreateLineItemsResponse BatchCreateLineItems(BatchCreateLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateLineItemsRequest 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
BatchCreateLineItemsResponse

The response received from the server.

BatchCreateLineItemsAsync(BatchCreateLineItemsRequest, CallOptions)

Creates LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateLineItemsResponse> BatchCreateLineItemsAsync(BatchCreateLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateLineItemsResponse>

The call object.

BatchCreateLineItemsAsync(BatchCreateLineItemsRequest, Metadata, DateTime?, CancellationToken)

Creates LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateLineItemsResponse> BatchCreateLineItemsAsync(BatchCreateLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateLineItemsRequest 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<BatchCreateLineItemsResponse>

The call object.

BatchDeleteLineItems(BatchDeleteLineItemsRequest, CallOptions)

Batch deletes LineItem objects.

Declaration
public virtual Empty BatchDeleteLineItems(BatchDeleteLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchDeleteLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Empty

The response received from the server.

BatchDeleteLineItems(BatchDeleteLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch deletes LineItem objects.

Declaration
public virtual Empty BatchDeleteLineItems(BatchDeleteLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchDeleteLineItemsRequest 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
Empty

The response received from the server.

BatchDeleteLineItemsAsync(BatchDeleteLineItemsRequest, CallOptions)

Batch deletes LineItem objects.

Declaration
public virtual AsyncUnaryCall<Empty> BatchDeleteLineItemsAsync(BatchDeleteLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchDeleteLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Empty>

The call object.

BatchDeleteLineItemsAsync(BatchDeleteLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch deletes LineItem objects.

Declaration
public virtual AsyncUnaryCall<Empty> BatchDeleteLineItemsAsync(BatchDeleteLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchDeleteLineItemsRequest 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<Empty>

The call object.

BatchPauseLineItems(BatchPauseLineItemsRequest, CallOptions)

Batch pauses LineItem objects.

Declaration
public virtual BatchPauseLineItemsResponse BatchPauseLineItems(BatchPauseLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchPauseLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchPauseLineItemsResponse

The response received from the server.

BatchPauseLineItems(BatchPauseLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch pauses LineItem objects.

Declaration
public virtual BatchPauseLineItemsResponse BatchPauseLineItems(BatchPauseLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchPauseLineItemsRequest 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
BatchPauseLineItemsResponse

The response received from the server.

BatchPauseLineItemsAsync(BatchPauseLineItemsRequest, CallOptions)

Batch pauses LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchPauseLineItemsResponse> BatchPauseLineItemsAsync(BatchPauseLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchPauseLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchPauseLineItemsResponse>

The call object.

BatchPauseLineItemsAsync(BatchPauseLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch pauses LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchPauseLineItemsResponse> BatchPauseLineItemsAsync(BatchPauseLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchPauseLineItemsRequest 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<BatchPauseLineItemsResponse>

The call object.

BatchReleaseLineItems(BatchReleaseLineItemsRequest, CallOptions)

Batch releases LineItem objects.

Declaration
public virtual BatchReleaseLineItemsResponse BatchReleaseLineItems(BatchReleaseLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchReleaseLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchReleaseLineItemsResponse

The response received from the server.

BatchReleaseLineItems(BatchReleaseLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch releases LineItem objects.

Declaration
public virtual BatchReleaseLineItemsResponse BatchReleaseLineItems(BatchReleaseLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchReleaseLineItemsRequest 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
BatchReleaseLineItemsResponse

The response received from the server.

BatchReleaseLineItemsAsync(BatchReleaseLineItemsRequest, CallOptions)

Batch releases LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchReleaseLineItemsResponse> BatchReleaseLineItemsAsync(BatchReleaseLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchReleaseLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchReleaseLineItemsResponse>

The call object.

BatchReleaseLineItemsAsync(BatchReleaseLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch releases LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchReleaseLineItemsResponse> BatchReleaseLineItemsAsync(BatchReleaseLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchReleaseLineItemsRequest 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<BatchReleaseLineItemsResponse>

The call object.

BatchReserveAndOverbookLineItems(BatchReserveAndOverbookLineItemsRequest, CallOptions)

Batch reserves and overbooks LineItem objects.

Declaration
public virtual BatchReserveAndOverbookLineItemsResponse BatchReserveAndOverbookLineItems(BatchReserveAndOverbookLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchReserveAndOverbookLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchReserveAndOverbookLineItemsResponse

The response received from the server.

BatchReserveAndOverbookLineItems(BatchReserveAndOverbookLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch reserves and overbooks LineItem objects.

Declaration
public virtual BatchReserveAndOverbookLineItemsResponse BatchReserveAndOverbookLineItems(BatchReserveAndOverbookLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchReserveAndOverbookLineItemsRequest 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
BatchReserveAndOverbookLineItemsResponse

The response received from the server.

BatchReserveAndOverbookLineItemsAsync(BatchReserveAndOverbookLineItemsRequest, CallOptions)

Batch reserves and overbooks LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchReserveAndOverbookLineItemsResponse> BatchReserveAndOverbookLineItemsAsync(BatchReserveAndOverbookLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchReserveAndOverbookLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchReserveAndOverbookLineItemsResponse>

The call object.

BatchReserveAndOverbookLineItemsAsync(BatchReserveAndOverbookLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch reserves and overbooks LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchReserveAndOverbookLineItemsResponse> BatchReserveAndOverbookLineItemsAsync(BatchReserveAndOverbookLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchReserveAndOverbookLineItemsRequest 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<BatchReserveAndOverbookLineItemsResponse>

The call object.

BatchReserveLineItems(BatchReserveLineItemsRequest, CallOptions)

Batch reserves LineItem objects.

Declaration
public virtual BatchReserveLineItemsResponse BatchReserveLineItems(BatchReserveLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchReserveLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchReserveLineItemsResponse

The response received from the server.

BatchReserveLineItems(BatchReserveLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch reserves LineItem objects.

Declaration
public virtual BatchReserveLineItemsResponse BatchReserveLineItems(BatchReserveLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchReserveLineItemsRequest 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
BatchReserveLineItemsResponse

The response received from the server.

BatchReserveLineItemsAsync(BatchReserveLineItemsRequest, CallOptions)

Batch reserves LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchReserveLineItemsResponse> BatchReserveLineItemsAsync(BatchReserveLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchReserveLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchReserveLineItemsResponse>

The call object.

BatchReserveLineItemsAsync(BatchReserveLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch reserves LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchReserveLineItemsResponse> BatchReserveLineItemsAsync(BatchReserveLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchReserveLineItemsRequest 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<BatchReserveLineItemsResponse>

The call object.

BatchResumeAndOverbookLineItems(BatchResumeAndOverbookLineItemsRequest, CallOptions)

Batch resumes and overbooks LineItem objects.

Declaration
public virtual BatchResumeAndOverbookLineItemsResponse BatchResumeAndOverbookLineItems(BatchResumeAndOverbookLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchResumeAndOverbookLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchResumeAndOverbookLineItemsResponse

The response received from the server.

BatchResumeAndOverbookLineItems(BatchResumeAndOverbookLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch resumes and overbooks LineItem objects.

Declaration
public virtual BatchResumeAndOverbookLineItemsResponse BatchResumeAndOverbookLineItems(BatchResumeAndOverbookLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchResumeAndOverbookLineItemsRequest 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
BatchResumeAndOverbookLineItemsResponse

The response received from the server.

BatchResumeAndOverbookLineItemsAsync(BatchResumeAndOverbookLineItemsRequest, CallOptions)

Batch resumes and overbooks LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchResumeAndOverbookLineItemsResponse> BatchResumeAndOverbookLineItemsAsync(BatchResumeAndOverbookLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchResumeAndOverbookLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchResumeAndOverbookLineItemsResponse>

The call object.

BatchResumeAndOverbookLineItemsAsync(BatchResumeAndOverbookLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch resumes and overbooks LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchResumeAndOverbookLineItemsResponse> BatchResumeAndOverbookLineItemsAsync(BatchResumeAndOverbookLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchResumeAndOverbookLineItemsRequest 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<BatchResumeAndOverbookLineItemsResponse>

The call object.

BatchResumeLineItems(BatchResumeLineItemsRequest, CallOptions)

Batch resumes LineItem objects.

Declaration
public virtual BatchResumeLineItemsResponse BatchResumeLineItems(BatchResumeLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchResumeLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchResumeLineItemsResponse

The response received from the server.

BatchResumeLineItems(BatchResumeLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch resumes LineItem objects.

Declaration
public virtual BatchResumeLineItemsResponse BatchResumeLineItems(BatchResumeLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchResumeLineItemsRequest 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
BatchResumeLineItemsResponse

The response received from the server.

BatchResumeLineItemsAsync(BatchResumeLineItemsRequest, CallOptions)

Batch resumes LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchResumeLineItemsResponse> BatchResumeLineItemsAsync(BatchResumeLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchResumeLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchResumeLineItemsResponse>

The call object.

BatchResumeLineItemsAsync(BatchResumeLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch resumes LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchResumeLineItemsResponse> BatchResumeLineItemsAsync(BatchResumeLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchResumeLineItemsRequest 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<BatchResumeLineItemsResponse>

The call object.

BatchUnarchiveLineItems(BatchUnarchiveLineItemsRequest, CallOptions)

Batch unarchives LineItem objects.

Declaration
public virtual BatchUnarchiveLineItemsResponse BatchUnarchiveLineItems(BatchUnarchiveLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUnarchiveLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchUnarchiveLineItemsResponse

The response received from the server.

BatchUnarchiveLineItems(BatchUnarchiveLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch unarchives LineItem objects.

Declaration
public virtual BatchUnarchiveLineItemsResponse BatchUnarchiveLineItems(BatchUnarchiveLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUnarchiveLineItemsRequest 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
BatchUnarchiveLineItemsResponse

The response received from the server.

BatchUnarchiveLineItemsAsync(BatchUnarchiveLineItemsRequest, CallOptions)

Batch unarchives LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchUnarchiveLineItemsResponse> BatchUnarchiveLineItemsAsync(BatchUnarchiveLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUnarchiveLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchUnarchiveLineItemsResponse>

The call object.

BatchUnarchiveLineItemsAsync(BatchUnarchiveLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch unarchives LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchUnarchiveLineItemsResponse> BatchUnarchiveLineItemsAsync(BatchUnarchiveLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUnarchiveLineItemsRequest 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<BatchUnarchiveLineItemsResponse>

The call object.

BatchUpdateLineItems(BatchUpdateLineItemsRequest, CallOptions)

Batch updates LineItem objects.

Declaration
public virtual BatchUpdateLineItemsResponse BatchUpdateLineItems(BatchUpdateLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchUpdateLineItemsResponse

The response received from the server.

BatchUpdateLineItems(BatchUpdateLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch updates LineItem objects.

Declaration
public virtual BatchUpdateLineItemsResponse BatchUpdateLineItems(BatchUpdateLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateLineItemsRequest 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
BatchUpdateLineItemsResponse

The response received from the server.

BatchUpdateLineItemsAsync(BatchUpdateLineItemsRequest, CallOptions)

Batch updates LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateLineItemsResponse> BatchUpdateLineItemsAsync(BatchUpdateLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateLineItemsResponse>

The call object.

BatchUpdateLineItemsAsync(BatchUpdateLineItemsRequest, Metadata, DateTime?, CancellationToken)

Batch updates LineItem objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateLineItemsResponse> BatchUpdateLineItemsAsync(BatchUpdateLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateLineItemsRequest 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<BatchUpdateLineItemsResponse>

The call object.

CreateLineItem(CreateLineItemRequest, CallOptions)

Creates a LineItem object.

Declaration
public virtual LineItem CreateLineItem(CreateLineItemRequest request, CallOptions options)
Parameters
Type Name Description
CreateLineItemRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
LineItem

The response received from the server.

CreateLineItem(CreateLineItemRequest, Metadata, DateTime?, CancellationToken)

Creates a LineItem object.

Declaration
public virtual LineItem CreateLineItem(CreateLineItemRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateLineItemRequest 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
LineItem

The response received from the server.

CreateLineItemAsync(CreateLineItemRequest, CallOptions)

Creates a LineItem object.

Declaration
public virtual AsyncUnaryCall<LineItem> CreateLineItemAsync(CreateLineItemRequest request, CallOptions options)
Parameters
Type Name Description
CreateLineItemRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<LineItem>

The call object.

CreateLineItemAsync(CreateLineItemRequest, Metadata, DateTime?, CancellationToken)

Creates a LineItem object.

Declaration
public virtual AsyncUnaryCall<LineItem> CreateLineItemAsync(CreateLineItemRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateLineItemRequest 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<LineItem>

The call object.

GetLineItem(GetLineItemRequest, CallOptions)

Retrieves a LineItem object.

Declaration
public virtual LineItem GetLineItem(GetLineItemRequest request, CallOptions options)
Parameters
Type Name Description
GetLineItemRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
LineItem

The response received from the server.

GetLineItem(GetLineItemRequest, Metadata, DateTime?, CancellationToken)

Retrieves a LineItem object.

Declaration
public virtual LineItem GetLineItem(GetLineItemRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetLineItemRequest 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
LineItem

The response received from the server.

GetLineItemAsync(GetLineItemRequest, CallOptions)

Retrieves a LineItem object.

Declaration
public virtual AsyncUnaryCall<LineItem> GetLineItemAsync(GetLineItemRequest request, CallOptions options)
Parameters
Type Name Description
GetLineItemRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<LineItem>

The call object.

GetLineItemAsync(GetLineItemRequest, Metadata, DateTime?, CancellationToken)

Retrieves a LineItem object.

Declaration
public virtual AsyncUnaryCall<LineItem> GetLineItemAsync(GetLineItemRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetLineItemRequest 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<LineItem>

The call object.

ListLineItems(ListLineItemsRequest, CallOptions)

Lists LineItem objects.

Declaration
public virtual ListLineItemsResponse ListLineItems(ListLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
ListLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListLineItemsResponse

The response received from the server.

ListLineItems(ListLineItemsRequest, Metadata, DateTime?, CancellationToken)

Lists LineItem objects.

Declaration
public virtual ListLineItemsResponse ListLineItems(ListLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListLineItemsRequest 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
ListLineItemsResponse

The response received from the server.

ListLineItemsAsync(ListLineItemsRequest, CallOptions)

Lists LineItem objects.

Declaration
public virtual AsyncUnaryCall<ListLineItemsResponse> ListLineItemsAsync(ListLineItemsRequest request, CallOptions options)
Parameters
Type Name Description
ListLineItemsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListLineItemsResponse>

The call object.

ListLineItemsAsync(ListLineItemsRequest, Metadata, DateTime?, CancellationToken)

Lists LineItem objects.

Declaration
public virtual AsyncUnaryCall<ListLineItemsResponse> ListLineItemsAsync(ListLineItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListLineItemsRequest 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<ListLineItemsResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

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

UpdateLineItem(UpdateLineItemRequest, CallOptions)

Updates a LineItem object.

Declaration
public virtual LineItem UpdateLineItem(UpdateLineItemRequest request, CallOptions options)
Parameters
Type Name Description
UpdateLineItemRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
LineItem

The response received from the server.

UpdateLineItem(UpdateLineItemRequest, Metadata, DateTime?, CancellationToken)

Updates a LineItem object.

Declaration
public virtual LineItem UpdateLineItem(UpdateLineItemRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateLineItemRequest 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
LineItem

The response received from the server.

UpdateLineItemAsync(UpdateLineItemRequest, CallOptions)

Updates a LineItem object.

Declaration
public virtual AsyncUnaryCall<LineItem> UpdateLineItemAsync(UpdateLineItemRequest request, CallOptions options)
Parameters
Type Name Description
UpdateLineItemRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<LineItem>

The call object.

UpdateLineItemAsync(UpdateLineItemRequest, Metadata, DateTime?, CancellationToken)

Updates a LineItem object.

Declaration
public virtual AsyncUnaryCall<LineItem> UpdateLineItemAsync(UpdateLineItemRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateLineItemRequest 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<LineItem>

The call object.

In this article
Back to top Generated by DocFX