Class ChildPublisherService.ChildPublisherServiceBase
Base class for server-side implementations of ChildPublisherService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(ChildPublisherService), "BindService")]
public abstract class ChildPublisherService.ChildPublisherServiceBase
Methods
BatchCreateChildPublishers(BatchCreateChildPublishersRequest, ServerCallContext)
Creates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual Task<BatchCreateChildPublishersResponse> BatchCreateChildPublishers(BatchCreateChildPublishersRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateChildPublishersRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateChildPublishersResponse> | The response to send back to the client (wrapped by a task). |
BatchRejectChildPublishers(BatchRejectChildPublishersRequest, ServerCallContext)
Batch rejects [ChildPublisher][google.ads.admanager.v1.ChildPublisher]s.
Only pending or active [ChildPublisher][google.ads.admanager.v1.ChildPublisher]s can be rejected. Expired, rejected, and withdrawn [ChildPublisher][google.ads.admanager.v1.ChildPublisher]s will be ignored.
This method is only intended to be called in response to a child user rejecting an invitation and exists to support the rejection of [ChildPublisher][google.ads.admanager.v1.ChildPublisher]s that are not yet associated with an Ad Manager network.
To sever the relationship from the parent publisher's side, use [BatchWithdrawChildPublisher][].
Declaration
public virtual Task<BatchRejectChildPublishersResponse> BatchRejectChildPublishers(BatchRejectChildPublishersRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRejectChildPublishersRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchRejectChildPublishersResponse> | The response to send back to the client (wrapped by a task). |
BatchRenegotiateChildPublisherAgreements(BatchRenegotiateChildPublisherAgreementsRequest, ServerCallContext)
Batch renegotiates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] agreements (i.e., invite with updated terms).
Only the agreements of rejected or withdrawn [ChildPublisher][google.ads.admanager.v1.ChildPublisher]s can be renegotiated. Expired, pending, and accepted [ChildPublisher][google.ads.admanager.v1.ChildPublisher]s will be ignored.
Declaration
public virtual Task<BatchRenegotiateChildPublisherAgreementsResponse> BatchRenegotiateChildPublisherAgreements(BatchRenegotiateChildPublisherAgreementsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRenegotiateChildPublisherAgreementsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchRenegotiateChildPublisherAgreementsResponse> | The response to send back to the client (wrapped by a task). |
BatchResendChildPublisherInvitationEmails(BatchResendChildPublisherInvitationEmailsRequest, ServerCallContext)
Batch resends invitation emails to [ChildPublisher][google.ads.admanager.v1.ChildPublisher]s.
Only expired and pending [ChildPublisher][google.ads.admanager.v1.ChildPublisher]s can be sent invitation emails. Rejected, withdrawn, and accepted [ChildPublisher][google.ads.admanager.v1.ChildPublisher]s will be ignored.
Declaration
public virtual Task<BatchResendChildPublisherInvitationEmailsResponse> BatchResendChildPublisherInvitationEmails(BatchResendChildPublisherInvitationEmailsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchResendChildPublisherInvitationEmailsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchResendChildPublisherInvitationEmailsResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateChildPublishers(BatchUpdateChildPublishersRequest, ServerCallContext)
Batch updates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual Task<BatchUpdateChildPublishersResponse> BatchUpdateChildPublishers(BatchUpdateChildPublishersRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateChildPublishersRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateChildPublishersResponse> | The response to send back to the client (wrapped by a task). |
BatchWithdrawChildPublishers(BatchWithdrawChildPublishersRequest, ServerCallContext)
Batch withdraws [ChildPublisher][google.ads.admanager.v1.ChildPublisher]s.
Only expired, pending, and accepted [ChildPublisher][google.ads.admanager.v1.ChildPublisher]s can be withdrawn. Rejected or withdrawn [ChildPublisher][google.ads.admanager.v1.ChildPublisher]s will be ignored.
Declaration
public virtual Task<BatchWithdrawChildPublishersResponse> BatchWithdrawChildPublishers(BatchWithdrawChildPublishersRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchWithdrawChildPublishersRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchWithdrawChildPublishersResponse> | The response to send back to the client (wrapped by a task). |
CreateChildPublisher(CreateChildPublisherRequest, ServerCallContext)
Creates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual Task<ChildPublisher> CreateChildPublisher(CreateChildPublisherRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateChildPublisherRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ChildPublisher> | The response to send back to the client (wrapped by a task). |
GetChildPublisher(GetChildPublisherRequest, ServerCallContext)
Retrieves a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual Task<ChildPublisher> GetChildPublisher(GetChildPublisherRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetChildPublisherRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ChildPublisher> | The response to send back to the client (wrapped by a task). |
ListChildPublishers(ListChildPublishersRequest, ServerCallContext)
Lists [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public virtual Task<ListChildPublishersResponse> ListChildPublishers(ListChildPublishersRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListChildPublishersRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListChildPublishersResponse> | The response to send back to the client (wrapped by a task). |
UpdateChildPublisher(UpdateChildPublisherRequest, ServerCallContext)
Updates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public virtual Task<ChildPublisher> UpdateChildPublisher(UpdateChildPublisherRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateChildPublisherRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ChildPublisher> | The response to send back to the client (wrapped by a task). |