Class ChildPublisherServiceClientImpl
ChildPublisherService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ChildPublisherServiceClientImpl : ChildPublisherServiceClient
Remarks
Provides methods for handling [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Constructors
ChildPublisherServiceClientImpl(ChildPublisherServiceClient, ChildPublisherServiceSettings, ILogger)
Constructs a client wrapper for the ChildPublisherService service, with the specified gRPC client and settings.
Declaration
public ChildPublisherServiceClientImpl(ChildPublisherService.ChildPublisherServiceClient grpcClient, ChildPublisherServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ChildPublisherService.ChildPublisherServiceClient | grpcClient | The underlying gRPC client. |
| ChildPublisherServiceSettings | settings | The base ChildPublisherServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC ChildPublisherService client
Declaration
public override ChildPublisherService.ChildPublisherServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| ChildPublisherService.ChildPublisherServiceClient |
Overrides
Methods
BatchCreateChildPublishers(BatchCreateChildPublishersRequest, CallSettings)
Creates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public override BatchCreateChildPublishersResponse BatchCreateChildPublishers(BatchCreateChildPublishersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateChildPublishersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchCreateChildPublishersResponse | The RPC response. |
Overrides
BatchCreateChildPublishersAsync(BatchCreateChildPublishersRequest, CallSettings)
Creates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public override Task<BatchCreateChildPublishersResponse> BatchCreateChildPublishersAsync(BatchCreateChildPublishersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateChildPublishersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateChildPublishersResponse> | A Task containing the RPC response. |
Overrides
BatchRejectChildPublishers(BatchRejectChildPublishersRequest, CallSettings)
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 override BatchRejectChildPublishersResponse BatchRejectChildPublishers(BatchRejectChildPublishersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRejectChildPublishersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchRejectChildPublishersResponse | The RPC response. |
Overrides
BatchRejectChildPublishersAsync(BatchRejectChildPublishersRequest, CallSettings)
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 override Task<BatchRejectChildPublishersResponse> BatchRejectChildPublishersAsync(BatchRejectChildPublishersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRejectChildPublishersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchRejectChildPublishersResponse> | A Task containing the RPC response. |
Overrides
BatchRenegotiateChildPublisherAgreements(BatchRenegotiateChildPublisherAgreementsRequest, CallSettings)
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 override BatchRenegotiateChildPublisherAgreementsResponse BatchRenegotiateChildPublisherAgreements(BatchRenegotiateChildPublisherAgreementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRenegotiateChildPublisherAgreementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchRenegotiateChildPublisherAgreementsResponse | The RPC response. |
Overrides
BatchRenegotiateChildPublisherAgreementsAsync(BatchRenegotiateChildPublisherAgreementsRequest, CallSettings)
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 override Task<BatchRenegotiateChildPublisherAgreementsResponse> BatchRenegotiateChildPublisherAgreementsAsync(BatchRenegotiateChildPublisherAgreementsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRenegotiateChildPublisherAgreementsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchRenegotiateChildPublisherAgreementsResponse> | A Task containing the RPC response. |
Overrides
BatchResendChildPublisherInvitationEmails(BatchResendChildPublisherInvitationEmailsRequest, CallSettings)
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 override BatchResendChildPublisherInvitationEmailsResponse BatchResendChildPublisherInvitationEmails(BatchResendChildPublisherInvitationEmailsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchResendChildPublisherInvitationEmailsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchResendChildPublisherInvitationEmailsResponse | The RPC response. |
Overrides
BatchResendChildPublisherInvitationEmailsAsync(BatchResendChildPublisherInvitationEmailsRequest, CallSettings)
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 override Task<BatchResendChildPublisherInvitationEmailsResponse> BatchResendChildPublisherInvitationEmailsAsync(BatchResendChildPublisherInvitationEmailsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchResendChildPublisherInvitationEmailsRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchResendChildPublisherInvitationEmailsResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateChildPublishers(BatchUpdateChildPublishersRequest, CallSettings)
Batch updates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public override BatchUpdateChildPublishersResponse BatchUpdateChildPublishers(BatchUpdateChildPublishersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateChildPublishersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchUpdateChildPublishersResponse | The RPC response. |
Overrides
BatchUpdateChildPublishersAsync(BatchUpdateChildPublishersRequest, CallSettings)
Batch updates [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public override Task<BatchUpdateChildPublishersResponse> BatchUpdateChildPublishersAsync(BatchUpdateChildPublishersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateChildPublishersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateChildPublishersResponse> | A Task containing the RPC response. |
Overrides
BatchWithdrawChildPublishers(BatchWithdrawChildPublishersRequest, CallSettings)
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 override BatchWithdrawChildPublishersResponse BatchWithdrawChildPublishers(BatchWithdrawChildPublishersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchWithdrawChildPublishersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| BatchWithdrawChildPublishersResponse | The RPC response. |
Overrides
BatchWithdrawChildPublishersAsync(BatchWithdrawChildPublishersRequest, CallSettings)
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 override Task<BatchWithdrawChildPublishersResponse> BatchWithdrawChildPublishersAsync(BatchWithdrawChildPublishersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchWithdrawChildPublishersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<BatchWithdrawChildPublishersResponse> | A Task containing the RPC response. |
Overrides
CreateChildPublisher(CreateChildPublisherRequest, CallSettings)
Creates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public override ChildPublisher CreateChildPublisher(CreateChildPublisherRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateChildPublisherRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| ChildPublisher | The RPC response. |
Overrides
CreateChildPublisherAsync(CreateChildPublisherRequest, CallSettings)
Creates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public override Task<ChildPublisher> CreateChildPublisherAsync(CreateChildPublisherRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateChildPublisherRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<ChildPublisher> | A Task containing the RPC response. |
Overrides
GetChildPublisher(GetChildPublisherRequest, CallSettings)
Retrieves a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public override ChildPublisher GetChildPublisher(GetChildPublisherRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetChildPublisherRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| ChildPublisher | The RPC response. |
Overrides
GetChildPublisherAsync(GetChildPublisherRequest, CallSettings)
Retrieves a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public override Task<ChildPublisher> GetChildPublisherAsync(GetChildPublisherRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetChildPublisherRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<ChildPublisher> | A Task containing the RPC response. |
Overrides
ListChildPublishers(ListChildPublishersRequest, CallSettings)
Lists [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public override PagedEnumerable<ListChildPublishersResponse, ChildPublisher> ListChildPublishers(ListChildPublishersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListChildPublishersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListChildPublishersResponse, ChildPublisher> | A pageable sequence of ChildPublisher resources. |
Overrides
ListChildPublishersAsync(ListChildPublishersRequest, CallSettings)
Lists [ChildPublisher][google.ads.admanager.v1.ChildPublisher] objects.
Declaration
public override PagedAsyncEnumerable<ListChildPublishersResponse, ChildPublisher> ListChildPublishersAsync(ListChildPublishersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListChildPublishersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListChildPublishersResponse, ChildPublisher> | A pageable asynchronous sequence of ChildPublisher resources. |
Overrides
UpdateChildPublisher(UpdateChildPublisherRequest, CallSettings)
Updates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public override ChildPublisher UpdateChildPublisher(UpdateChildPublisherRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateChildPublisherRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| ChildPublisher | The RPC response. |
Overrides
UpdateChildPublisherAsync(UpdateChildPublisherRequest, CallSettings)
Updates a [ChildPublisher][google.ads.admanager.v1.ChildPublisher] object.
Declaration
public override Task<ChildPublisher> UpdateChildPublisherAsync(UpdateChildPublisherRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateChildPublisherRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<ChildPublisher> | A Task containing the RPC response. |