Show / Hide Table of Contents

Class TargetingPresetService.TargetingPresetServiceBase

Base class for server-side implementations of TargetingPresetService

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

Methods

BatchCreateTargetingPresets(BatchCreateTargetingPresetsRequest, ServerCallContext)

Creates TargetingPreset objects.

Declaration
public virtual Task<BatchCreateTargetingPresetsResponse> BatchCreateTargetingPresets(BatchCreateTargetingPresetsRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchCreateTargetingPresetsRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<BatchCreateTargetingPresetsResponse>

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

BatchDeactivateTargetingPresets(BatchDeactivateTargetingPresetsRequest, ServerCallContext)

Batch deactivates TargetingPreset objects.

Declaration
public virtual Task<BatchDeactivateTargetingPresetsResponse> BatchDeactivateTargetingPresets(BatchDeactivateTargetingPresetsRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchDeactivateTargetingPresetsRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<BatchDeactivateTargetingPresetsResponse>

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

BatchUpdateTargetingPresets(BatchUpdateTargetingPresetsRequest, ServerCallContext)

Batch updates TargetingPreset objects.

Declaration
public virtual Task<BatchUpdateTargetingPresetsResponse> BatchUpdateTargetingPresets(BatchUpdateTargetingPresetsRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchUpdateTargetingPresetsRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<BatchUpdateTargetingPresetsResponse>

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

CreateTargetingPreset(CreateTargetingPresetRequest, ServerCallContext)

Creates a TargetingPreset object.

Declaration
public virtual Task<TargetingPreset> CreateTargetingPreset(CreateTargetingPresetRequest request, ServerCallContext context)
Parameters
Type Name Description
CreateTargetingPresetRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<TargetingPreset>

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

GetTargetingPreset(GetTargetingPresetRequest, ServerCallContext)

Retrieves a TargetingPreset object. Note: Deactivated targeting presets are "logically deleted" (filtered out) by the get logic in the manager layer, so they will not be returned by the GetTargetingPreset RPC.

Declaration
public virtual Task<TargetingPreset> GetTargetingPreset(GetTargetingPresetRequest request, ServerCallContext context)
Parameters
Type Name Description
GetTargetingPresetRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<TargetingPreset>

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

ListTargetingPresets(ListTargetingPresetsRequest, ServerCallContext)

Lists TargetingPreset objects.

Declaration
public virtual Task<ListTargetingPresetsResponse> ListTargetingPresets(ListTargetingPresetsRequest request, ServerCallContext context)
Parameters
Type Name Description
ListTargetingPresetsRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<ListTargetingPresetsResponse>

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

UpdateTargetingPreset(UpdateTargetingPresetRequest, ServerCallContext)

Updates a TargetingPreset object.

Declaration
public virtual Task<TargetingPreset> UpdateTargetingPreset(UpdateTargetingPresetRequest request, ServerCallContext context)
Parameters
Type Name Description
UpdateTargetingPresetRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<TargetingPreset>

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

In this article
Back to top Generated by DocFX