Show / Hide Table of Contents

Class AdUnitService.AdUnitServiceBase

Base class for server-side implementations of AdUnitService

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

Methods

GetAdUnit(GetAdUnitRequest, ServerCallContext)

API to retrieve an AdUnit object.

Declaration
public virtual Task<AdUnit> GetAdUnit(GetAdUnitRequest request, ServerCallContext context)
Parameters
Type Name Description
GetAdUnitRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<AdUnit>

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

ListAdUnitSizes(ListAdUnitSizesRequest, ServerCallContext)

API to retrieve a list of AdUnitSize objects.

Declaration
public virtual Task<ListAdUnitSizesResponse> ListAdUnitSizes(ListAdUnitSizesRequest request, ServerCallContext context)
Parameters
Type Name Description
ListAdUnitSizesRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<ListAdUnitSizesResponse>

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

ListAdUnits(ListAdUnitsRequest, ServerCallContext)

API to retrieve a list of AdUnit objects.

Declaration
public virtual Task<ListAdUnitsResponse> ListAdUnits(ListAdUnitsRequest request, ServerCallContext context)
Parameters
Type Name Description
ListAdUnitsRequest request

The request received from the client.

ServerCallContext context

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

Returns
Type Description
Task<ListAdUnitsResponse>

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

In this article
Back to top Generated by DocFX