Class PartnerService.PartnerServiceBase
Base class for server-side implementations of PartnerService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(PartnerService), "BindService")]
public abstract class PartnerService.PartnerServiceBase
Methods
BatchUpdatePartners(BatchUpdatePartnersRequest, ServerCallContext)
Batch updates [Partner][google.ads.admanager.v1.Partner] objects.
Declaration
public virtual Task<BatchUpdatePartnersResponse> BatchUpdatePartners(BatchUpdatePartnersRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdatePartnersRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdatePartnersResponse> | The response to send back to the client (wrapped by a task). |
GetPartner(GetPartnerRequest, ServerCallContext)
Retrieves a [Partner][google.ads.admanager.v1.Partner] object.
Declaration
public virtual Task<Partner> GetPartner(GetPartnerRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPartnerRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Partner> | The response to send back to the client (wrapped by a task). |
ListPartners(ListPartnersRequest, ServerCallContext)
Lists [Partner][google.ads.admanager.v1.Partner] objects.
Declaration
public virtual Task<ListPartnersResponse> ListPartners(ListPartnersRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPartnersRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListPartnersResponse> | The response to send back to the client (wrapped by a task). |
UpdatePartner(UpdatePartnerRequest, ServerCallContext)
Updates a [Partner][google.ads.admanager.v1.Partner] object.
Declaration
public virtual Task<Partner> UpdatePartner(UpdatePartnerRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePartnerRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Partner> | The response to send back to the client (wrapped by a task). |