Class CustomFieldService.CustomFieldServiceBase
Base class for server-side implementations of CustomFieldService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(CustomFieldService), "BindService")]
public abstract class CustomFieldService.CustomFieldServiceBase
Methods
BatchActivateCustomFields(BatchActivateCustomFieldsRequest, ServerCallContext)
Activates a list of CustomField objects.
Declaration
public virtual Task<BatchActivateCustomFieldsResponse> BatchActivateCustomFields(BatchActivateCustomFieldsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCustomFieldsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivateCustomFieldsResponse> | The response to send back to the client (wrapped by a task). |
BatchCreateCustomFields(BatchCreateCustomFieldsRequest, ServerCallContext)
API to batch create CustomField objects.
Declaration
public virtual Task<BatchCreateCustomFieldsResponse> BatchCreateCustomFields(BatchCreateCustomFieldsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCustomFieldsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateCustomFieldsResponse> | The response to send back to the client (wrapped by a task). |
BatchDeactivateCustomFields(BatchDeactivateCustomFieldsRequest, ServerCallContext)
Deactivates a list of CustomField objects.
Declaration
public virtual Task<BatchDeactivateCustomFieldsResponse> BatchDeactivateCustomFields(BatchDeactivateCustomFieldsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateCustomFieldsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivateCustomFieldsResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateCustomFields(BatchUpdateCustomFieldsRequest, ServerCallContext)
API to batch update CustomField objects.
Declaration
public virtual Task<BatchUpdateCustomFieldsResponse> BatchUpdateCustomFields(BatchUpdateCustomFieldsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCustomFieldsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateCustomFieldsResponse> | The response to send back to the client (wrapped by a task). |
CreateCustomField(CreateCustomFieldRequest, ServerCallContext)
API to create a CustomField object.
Declaration
public virtual Task<CustomField> CreateCustomField(CreateCustomFieldRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCustomFieldRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<CustomField> | The response to send back to the client (wrapped by a task). |
GetCustomField(GetCustomFieldRequest, ServerCallContext)
API to retrieve a CustomField object.
Declaration
public virtual Task<CustomField> GetCustomField(GetCustomFieldRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCustomFieldRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<CustomField> | The response to send back to the client (wrapped by a task). |
ListCustomFields(ListCustomFieldsRequest, ServerCallContext)
API to retrieve a list of CustomField objects.
Declaration
public virtual Task<ListCustomFieldsResponse> ListCustomFields(ListCustomFieldsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCustomFieldsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListCustomFieldsResponse> | The response to send back to the client (wrapped by a task). |
UpdateCustomField(UpdateCustomFieldRequest, ServerCallContext)
API to update a CustomField object.
Declaration
public virtual Task<CustomField> UpdateCustomField(UpdateCustomFieldRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCustomFieldRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<CustomField> | The response to send back to the client (wrapped by a task). |