Class CreativeService.CreativeServiceBase
Base class for server-side implementations of CreativeService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(CreativeService), "BindService")]
public abstract class CreativeService.CreativeServiceBase
Methods
BatchActivateCreatives(BatchActivateCreativesRequest, ServerCallContext)
Batch activates Creative objects.
Declaration
public virtual Task<BatchActivateCreativesResponse> BatchActivateCreatives(BatchActivateCreativesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCreativesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivateCreativesResponse> | The response to send back to the client (wrapped by a task). |
BatchDeactivateCreatives(BatchDeactivateCreativesRequest, ServerCallContext)
Deactivates a list of Creative objects.
Declaration
public virtual Task<BatchDeactivateCreativesResponse> BatchDeactivateCreatives(BatchDeactivateCreativesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateCreativesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivateCreativesResponse> | The response to send back to the client (wrapped by a task). |
GetCreative(GetCreativeRequest, ServerCallContext)
Retrieves a Creative object.
Declaration
public virtual Task<Creative> GetCreative(GetCreativeRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCreativeRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Creative> | The response to send back to the client (wrapped by a task). |
ListCreatives(ListCreativesRequest, ServerCallContext)
Lists Creative objects.
Declaration
public virtual Task<ListCreativesResponse> ListCreatives(ListCreativesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCreativesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListCreativesResponse> | The response to send back to the client (wrapped by a task). |