Class YieldGroupService.YieldGroupServiceBase
Base class for server-side implementations of YieldGroupService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(YieldGroupService), "BindService")]
public abstract class YieldGroupService.YieldGroupServiceBase
Methods
BatchActivateYieldGroups(BatchActivateYieldGroupsRequest, ServerCallContext)
Activates a list of YieldGroup objects.
Declaration
public virtual Task<BatchActivateYieldGroupsResponse> BatchActivateYieldGroups(BatchActivateYieldGroupsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateYieldGroupsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivateYieldGroupsResponse> | The response to send back to the client (wrapped by a task). |
BatchArchiveYieldGroups(BatchArchiveYieldGroupsRequest, ServerCallContext)
Archives a list of YieldGroup objects.
Declaration
public virtual Task<BatchArchiveYieldGroupsResponse> BatchArchiveYieldGroups(BatchArchiveYieldGroupsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveYieldGroupsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchArchiveYieldGroupsResponse> | The response to send back to the client (wrapped by a task). |
BatchCreateYieldGroups(BatchCreateYieldGroupsRequest, ServerCallContext)
Batch creates YieldGroup objects.
Declaration
public virtual Task<BatchCreateYieldGroupsResponse> BatchCreateYieldGroups(BatchCreateYieldGroupsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateYieldGroupsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateYieldGroupsResponse> | The response to send back to the client (wrapped by a task). |
BatchDeactivateYieldGroups(BatchDeactivateYieldGroupsRequest, ServerCallContext)
Deactivates a list of YieldGroup objects.
Declaration
public virtual Task<BatchDeactivateYieldGroupsResponse> BatchDeactivateYieldGroups(BatchDeactivateYieldGroupsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateYieldGroupsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivateYieldGroupsResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateYieldGroups(BatchUpdateYieldGroupsRequest, ServerCallContext)
Batch updates YieldGroup objects.
Declaration
public virtual Task<BatchUpdateYieldGroupsResponse> BatchUpdateYieldGroups(BatchUpdateYieldGroupsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateYieldGroupsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateYieldGroupsResponse> | The response to send back to the client (wrapped by a task). |
CreateYieldGroup(CreateYieldGroupRequest, ServerCallContext)
Creates a YieldGroup object.
Declaration
public virtual Task<YieldGroup> CreateYieldGroup(CreateYieldGroupRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateYieldGroupRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<YieldGroup> | The response to send back to the client (wrapped by a task). |
GetYieldGroup(GetYieldGroupRequest, ServerCallContext)
Retrieves a YieldGroup object.
Declaration
public virtual Task<YieldGroup> GetYieldGroup(GetYieldGroupRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetYieldGroupRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<YieldGroup> | The response to send back to the client (wrapped by a task). |
ListYieldGroups(ListYieldGroupsRequest, ServerCallContext)
Lists YieldGroup objects.
Declaration
public virtual Task<ListYieldGroupsResponse> ListYieldGroups(ListYieldGroupsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListYieldGroupsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListYieldGroupsResponse> | The response to send back to the client (wrapped by a task). |
UpdateYieldGroup(UpdateYieldGroupRequest, ServerCallContext)
Updates a YieldGroup object.
Declaration
public virtual Task<YieldGroup> UpdateYieldGroup(UpdateYieldGroupRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateYieldGroupRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<YieldGroup> | The response to send back to the client (wrapped by a task). |