Class LineItemService.LineItemServiceBase
Base class for server-side implementations of LineItemService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(LineItemService), "BindService")]
public abstract class LineItemService.LineItemServiceBase
Methods
BatchActivateLineItems(BatchActivateLineItemsRequest, ServerCallContext)
Batch activates LineItem objects.
Declaration
public virtual Task<BatchActivateLineItemsResponse> BatchActivateLineItems(BatchActivateLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivateLineItemsResponse> | The response to send back to the client (wrapped by a task). |
BatchArchiveLineItems(BatchArchiveLineItemsRequest, ServerCallContext)
Batch archives LineItem objects.
Declaration
public virtual Task<BatchArchiveLineItemsResponse> BatchArchiveLineItems(BatchArchiveLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchArchiveLineItemsResponse> | The response to send back to the client (wrapped by a task). |
BatchCreateLineItems(BatchCreateLineItemsRequest, ServerCallContext)
Creates LineItem objects.
Declaration
public virtual Task<BatchCreateLineItemsResponse> BatchCreateLineItems(BatchCreateLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateLineItemsResponse> | The response to send back to the client (wrapped by a task). |
BatchDeleteLineItems(BatchDeleteLineItemsRequest, ServerCallContext)
Batch deletes LineItem objects.
Declaration
public virtual Task<Empty> BatchDeleteLineItems(BatchDeleteLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeleteLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Empty> | The response to send back to the client (wrapped by a task). |
BatchPauseLineItems(BatchPauseLineItemsRequest, ServerCallContext)
Batch pauses LineItem objects.
Declaration
public virtual Task<BatchPauseLineItemsResponse> BatchPauseLineItems(BatchPauseLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPauseLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchPauseLineItemsResponse> | The response to send back to the client (wrapped by a task). |
BatchReleaseLineItems(BatchReleaseLineItemsRequest, ServerCallContext)
Batch releases LineItem objects.
Declaration
public virtual Task<BatchReleaseLineItemsResponse> BatchReleaseLineItems(BatchReleaseLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchReleaseLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchReleaseLineItemsResponse> | The response to send back to the client (wrapped by a task). |
BatchReserveAndOverbookLineItems(BatchReserveAndOverbookLineItemsRequest, ServerCallContext)
Batch reserves and overbooks LineItem objects.
Declaration
public virtual Task<BatchReserveAndOverbookLineItemsResponse> BatchReserveAndOverbookLineItems(BatchReserveAndOverbookLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchReserveAndOverbookLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchReserveAndOverbookLineItemsResponse> | The response to send back to the client (wrapped by a task). |
BatchReserveLineItems(BatchReserveLineItemsRequest, ServerCallContext)
Batch reserves LineItem objects.
Declaration
public virtual Task<BatchReserveLineItemsResponse> BatchReserveLineItems(BatchReserveLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchReserveLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchReserveLineItemsResponse> | The response to send back to the client (wrapped by a task). |
BatchResumeAndOverbookLineItems(BatchResumeAndOverbookLineItemsRequest, ServerCallContext)
Batch resumes and overbooks LineItem objects.
Declaration
public virtual Task<BatchResumeAndOverbookLineItemsResponse> BatchResumeAndOverbookLineItems(BatchResumeAndOverbookLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchResumeAndOverbookLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchResumeAndOverbookLineItemsResponse> | The response to send back to the client (wrapped by a task). |
BatchResumeLineItems(BatchResumeLineItemsRequest, ServerCallContext)
Batch resumes LineItem objects.
Declaration
public virtual Task<BatchResumeLineItemsResponse> BatchResumeLineItems(BatchResumeLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchResumeLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchResumeLineItemsResponse> | The response to send back to the client (wrapped by a task). |
BatchUnarchiveLineItems(BatchUnarchiveLineItemsRequest, ServerCallContext)
Batch unarchives LineItem objects.
Declaration
public virtual Task<BatchUnarchiveLineItemsResponse> BatchUnarchiveLineItems(BatchUnarchiveLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUnarchiveLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUnarchiveLineItemsResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateLineItems(BatchUpdateLineItemsRequest, ServerCallContext)
Batch updates LineItem objects.
Declaration
public virtual Task<BatchUpdateLineItemsResponse> BatchUpdateLineItems(BatchUpdateLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateLineItemsResponse> | The response to send back to the client (wrapped by a task). |
CreateLineItem(CreateLineItemRequest, ServerCallContext)
Creates a LineItem object.
Declaration
public virtual Task<LineItem> CreateLineItem(CreateLineItemRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateLineItemRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<LineItem> | The response to send back to the client (wrapped by a task). |
GetLineItem(GetLineItemRequest, ServerCallContext)
Retrieves a LineItem object.
Declaration
public virtual Task<LineItem> GetLineItem(GetLineItemRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLineItemRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<LineItem> | The response to send back to the client (wrapped by a task). |
ListLineItems(ListLineItemsRequest, ServerCallContext)
Lists LineItem objects.
Declaration
public virtual Task<ListLineItemsResponse> ListLineItems(ListLineItemsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLineItemsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListLineItemsResponse> | The response to send back to the client (wrapped by a task). |
UpdateLineItem(UpdateLineItemRequest, ServerCallContext)
Updates a LineItem object.
Declaration
public virtual Task<LineItem> UpdateLineItem(UpdateLineItemRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateLineItemRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<LineItem> | The response to send back to the client (wrapped by a task). |