Class ContentBundleService.ContentBundleServiceBase
Base class for server-side implementations of ContentBundleService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(ContentBundleService), "BindService")]
public abstract class ContentBundleService.ContentBundleServiceBase
Methods
BatchActivateContentBundles(BatchActivateContentBundlesRequest, ServerCallContext)
Activate a list of ContentBundle objects.
Declaration
public virtual Task<BatchActivateContentBundlesResponse> BatchActivateContentBundles(BatchActivateContentBundlesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateContentBundlesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivateContentBundlesResponse> | The response to send back to the client (wrapped by a task). |
BatchDeactivateContentBundles(BatchDeactivateContentBundlesRequest, ServerCallContext)
Deactivates a list of ContentBundle objects.
Declaration
public virtual Task<BatchDeactivateContentBundlesResponse> BatchDeactivateContentBundles(BatchDeactivateContentBundlesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateContentBundlesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivateContentBundlesResponse> | The response to send back to the client (wrapped by a task). |
GetContentBundle(GetContentBundleRequest, ServerCallContext)
Retrieves a ContentBundle object.
Declaration
public virtual Task<ContentBundle> GetContentBundle(GetContentBundleRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetContentBundleRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ContentBundle> | The response to send back to the client (wrapped by a task). |
ListContentBundles(ListContentBundlesRequest, ServerCallContext)
Lists ContentBundle objects.
Declaration
public virtual Task<ListContentBundlesResponse> ListContentBundles(ListContentBundlesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListContentBundlesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListContentBundlesResponse> | The response to send back to the client (wrapped by a task). |