Class ContentService.ContentServiceBase
Base class for server-side implementations of ContentService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(ContentService), "BindService")]
public abstract class ContentService.ContentServiceBase
Methods
GetContent(GetContentRequest, ServerCallContext)
API to retrieve a Content object.
Declaration
public virtual Task<Content> GetContent(GetContentRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetContentRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Content> | The response to send back to the client (wrapped by a task). |
ListContent(ListContentRequest, ServerCallContext)
API to retrieve a list of Content objects.
Declaration
public virtual Task<ListContentResponse> ListContent(ListContentRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListContentRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListContentResponse> | The response to send back to the client (wrapped by a task). |