Show / Hide Table of Contents

Class SuggestedAdUnitService.SuggestedAdUnitServiceBase

Base class for server-side implementations of SuggestedAdUnitService

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

Methods

BatchApproveSuggestedAdUnits(BatchApproveSuggestedAdUnitsRequest, ServerCallContext)

Bulk approve SuggestedAdUnit objects.

Declaration
public virtual Task<BatchApproveSuggestedAdUnitsResponse> BatchApproveSuggestedAdUnits(BatchApproveSuggestedAdUnitsRequest request, ServerCallContext context)
Parameters
Type Name Description
BatchApproveSuggestedAdUnitsRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<BatchApproveSuggestedAdUnitsResponse>

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

GetSuggestedAdUnit(GetSuggestedAdUnitRequest, ServerCallContext)

Get a SuggestedAdUnit object.

Declaration
public virtual Task<SuggestedAdUnit> GetSuggestedAdUnit(GetSuggestedAdUnitRequest request, ServerCallContext context)
Parameters
Type Name Description
GetSuggestedAdUnitRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<SuggestedAdUnit>

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

ListSuggestedAdUnits(ListSuggestedAdUnitsRequest, ServerCallContext)

Retrieve a list of SuggestedAdUnit objects.

Declaration
public virtual Task<ListSuggestedAdUnitsResponse> ListSuggestedAdUnits(ListSuggestedAdUnitsRequest request, ServerCallContext context)
Parameters
Type Name Description
ListSuggestedAdUnitsRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<ListSuggestedAdUnitsResponse>

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

In this article
Back to top Generated by DocFX