Class ProgrammaticBuyerService.ProgrammaticBuyerServiceBase
Base class for server-side implementations of ProgrammaticBuyerService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(ProgrammaticBuyerService), "BindService")]
public abstract class ProgrammaticBuyerService.ProgrammaticBuyerServiceBase
Methods
GetProgrammaticBuyer(GetProgrammaticBuyerRequest, ServerCallContext)
API to retrieve a ProgrammaticBuyer object.
Declaration
public virtual Task<ProgrammaticBuyer> GetProgrammaticBuyer(GetProgrammaticBuyerRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetProgrammaticBuyerRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ProgrammaticBuyer> | The response to send back to the client (wrapped by a task). |
ListProgrammaticBuyers(ListProgrammaticBuyersRequest, ServerCallContext)
API to retrieve a list of ProgrammaticBuyer objects.
Declaration
public virtual Task<ListProgrammaticBuyersResponse> ListProgrammaticBuyers(ListProgrammaticBuyersRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListProgrammaticBuyersRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListProgrammaticBuyersResponse> | The response to send back to the client (wrapped by a task). |