Show / Hide Table of Contents

Class AdRuleService.AdRuleServiceBase

Base class for server-side implementations of AdRuleService

Inheritance
object
AdRuleService.AdRuleServiceBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(AdRuleService), "BindService")]
public abstract class AdRuleService.AdRuleServiceBase

Methods

BatchActivateAdRules(BatchActivateAdRulesRequest, ServerCallContext)

Activates a list of AdRule objects.

Declaration
public virtual Task<BatchActivateAdRulesResponse> BatchActivateAdRules(BatchActivateAdRulesRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchActivateAdRulesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<BatchActivateAdRulesResponse>

The response to send back to the client (wrapped by a task).

BatchCreateAdRules(BatchCreateAdRulesRequest, ServerCallContext)

Batch creates AdRule objects.

Declaration
public virtual Task<BatchCreateAdRulesResponse> BatchCreateAdRules(BatchCreateAdRulesRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchCreateAdRulesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<BatchCreateAdRulesResponse>

The response to send back to the client (wrapped by a task).

BatchDeactivateAdRules(BatchDeactivateAdRulesRequest, ServerCallContext)

Deactivates a list of AdRule objects.

Declaration
public virtual Task<BatchDeactivateAdRulesResponse> BatchDeactivateAdRules(BatchDeactivateAdRulesRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchDeactivateAdRulesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<BatchDeactivateAdRulesResponse>

The response to send back to the client (wrapped by a task).

BatchDeleteAdRules(BatchDeleteAdRulesRequest, ServerCallContext)

Deletes a list of AdRule objects.

Declaration
public virtual Task<Empty> BatchDeleteAdRules(BatchDeleteAdRulesRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchDeleteAdRulesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<Empty>

The response to send back to the client (wrapped by a task).

BatchUpdateAdRules(BatchUpdateAdRulesRequest, ServerCallContext)

Batch updates AdRule objects.

Declaration
public virtual Task<BatchUpdateAdRulesResponse> BatchUpdateAdRules(BatchUpdateAdRulesRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchUpdateAdRulesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<BatchUpdateAdRulesResponse>

The response to send back to the client (wrapped by a task).

CreateAdRule(CreateAdRuleRequest, ServerCallContext)

Creates a AdRule object.

Declaration
public virtual Task<AdRule> CreateAdRule(CreateAdRuleRequest request, ServerCallContext context)
Parameters
Type Name Description
CreateAdRuleRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<AdRule>

The response to send back to the client (wrapped by a task).

GetAdRule(GetAdRuleRequest, ServerCallContext)

Retrieves an AdRule object.

Declaration
public virtual Task<AdRule> GetAdRule(GetAdRuleRequest request, ServerCallContext context)
Parameters
Type Name Description
GetAdRuleRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<AdRule>

The response to send back to the client (wrapped by a task).

ListAdRules(ListAdRulesRequest, ServerCallContext)

Lists AdRule objects.

Declaration
public virtual Task<ListAdRulesResponse> ListAdRules(ListAdRulesRequest request, ServerCallContext context)
Parameters
Type Name Description
ListAdRulesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ListAdRulesResponse>

The response to send back to the client (wrapped by a task).

UpdateAdRule(UpdateAdRuleRequest, ServerCallContext)

Updates a AdRule object.

Declaration
public virtual Task<AdRule> UpdateAdRule(UpdateAdRuleRequest request, ServerCallContext context)
Parameters
Type Name Description
UpdateAdRuleRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<AdRule>

The response to send back to the client (wrapped by a task).

In this article
Back to top Generated by DocFX