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
GetLineItem(GetLineItemRequest, ServerCallContext)
API to retrieve 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)
API to retrieve a list of 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). |