Class AdReviewCenterAdService.AdReviewCenterAdServiceClient
Client for AdReviewCenterAdService
Inheritance
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class AdReviewCenterAdService.AdReviewCenterAdServiceClient : ClientBase<AdReviewCenterAdService.AdReviewCenterAdServiceClient>
Constructors
AdReviewCenterAdServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected AdReviewCenterAdServiceClient()
AdReviewCenterAdServiceClient(CallInvoker)
Creates a new client for AdReviewCenterAdService that uses a custom CallInvoker.
Declaration
public AdReviewCenterAdServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
AdReviewCenterAdServiceClient(ChannelBase)
Creates a new client for AdReviewCenterAdService
Declaration
public AdReviewCenterAdServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
AdReviewCenterAdServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected AdReviewCenterAdServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
BatchAllowAdReviewCenterAds(BatchAllowAdReviewCenterAdsRequest, CallOptions)
API to batch allow AdReviewCenterAds. This method supports partial success. Some operations may succeed while others fail. Callers should check the failedRequests field in the response to determine which operations failed.
Declaration
public virtual Operation BatchAllowAdReviewCenterAds(BatchAllowAdReviewCenterAdsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchAllowAdReviewCenterAdsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
BatchAllowAdReviewCenterAds(BatchAllowAdReviewCenterAdsRequest, Metadata, DateTime?, CancellationToken)
API to batch allow AdReviewCenterAds. This method supports partial success. Some operations may succeed while others fail. Callers should check the failedRequests field in the response to determine which operations failed.
Declaration
public virtual Operation BatchAllowAdReviewCenterAds(BatchAllowAdReviewCenterAdsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchAllowAdReviewCenterAdsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
BatchAllowAdReviewCenterAdsAsync(BatchAllowAdReviewCenterAdsRequest, CallOptions)
API to batch allow AdReviewCenterAds. This method supports partial success. Some operations may succeed while others fail. Callers should check the failedRequests field in the response to determine which operations failed.
Declaration
public virtual AsyncUnaryCall<Operation> BatchAllowAdReviewCenterAdsAsync(BatchAllowAdReviewCenterAdsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchAllowAdReviewCenterAdsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
BatchAllowAdReviewCenterAdsAsync(BatchAllowAdReviewCenterAdsRequest, Metadata, DateTime?, CancellationToken)
API to batch allow AdReviewCenterAds. This method supports partial success. Some operations may succeed while others fail. Callers should check the failedRequests field in the response to determine which operations failed.
Declaration
public virtual AsyncUnaryCall<Operation> BatchAllowAdReviewCenterAdsAsync(BatchAllowAdReviewCenterAdsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchAllowAdReviewCenterAdsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
BatchBlockAdReviewCenterAds(BatchBlockAdReviewCenterAdsRequest, CallOptions)
API to batch block AdReviewCenterAds. This method supports partial success. Some operations may succeed while others fail. Callers should check the failedRequests field in the response to determine which operations failed.
Declaration
public virtual Operation BatchBlockAdReviewCenterAds(BatchBlockAdReviewCenterAdsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchBlockAdReviewCenterAdsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
BatchBlockAdReviewCenterAds(BatchBlockAdReviewCenterAdsRequest, Metadata, DateTime?, CancellationToken)
API to batch block AdReviewCenterAds. This method supports partial success. Some operations may succeed while others fail. Callers should check the failedRequests field in the response to determine which operations failed.
Declaration
public virtual Operation BatchBlockAdReviewCenterAds(BatchBlockAdReviewCenterAdsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchBlockAdReviewCenterAdsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
BatchBlockAdReviewCenterAdsAsync(BatchBlockAdReviewCenterAdsRequest, CallOptions)
API to batch block AdReviewCenterAds. This method supports partial success. Some operations may succeed while others fail. Callers should check the failedRequests field in the response to determine which operations failed.
Declaration
public virtual AsyncUnaryCall<Operation> BatchBlockAdReviewCenterAdsAsync(BatchBlockAdReviewCenterAdsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchBlockAdReviewCenterAdsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
BatchBlockAdReviewCenterAdsAsync(BatchBlockAdReviewCenterAdsRequest, Metadata, DateTime?, CancellationToken)
API to batch block AdReviewCenterAds. This method supports partial success. Some operations may succeed while others fail. Callers should check the failedRequests field in the response to determine which operations failed.
Declaration
public virtual AsyncUnaryCall<Operation> BatchBlockAdReviewCenterAdsAsync(BatchBlockAdReviewCenterAdsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchBlockAdReviewCenterAdsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
CreateOperationsClient()
Creates a new instance of Google.LongRunning.Operations.OperationsClient using the same call invoker as this client.
Declaration
public virtual Operations.OperationsClient CreateOperationsClient()
Returns
| Type | Description |
|---|---|
| Operations.OperationsClient | A new Operations client for the same target as this client. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override AdReviewCenterAdService.AdReviewCenterAdServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| AdReviewCenterAdService.AdReviewCenterAdServiceClient |
Overrides
SearchAdReviewCenterAds(SearchAdReviewCenterAdsRequest, CallOptions)
API to search for AdReviewCenterAds.
Declaration
public virtual SearchAdReviewCenterAdsResponse SearchAdReviewCenterAds(SearchAdReviewCenterAdsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchAdReviewCenterAdsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| SearchAdReviewCenterAdsResponse | The response received from the server. |
SearchAdReviewCenterAds(SearchAdReviewCenterAdsRequest, Metadata, DateTime?, CancellationToken)
API to search for AdReviewCenterAds.
Declaration
public virtual SearchAdReviewCenterAdsResponse SearchAdReviewCenterAds(SearchAdReviewCenterAdsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchAdReviewCenterAdsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| SearchAdReviewCenterAdsResponse | The response received from the server. |
SearchAdReviewCenterAdsAsync(SearchAdReviewCenterAdsRequest, CallOptions)
API to search for AdReviewCenterAds.
Declaration
public virtual AsyncUnaryCall<SearchAdReviewCenterAdsResponse> SearchAdReviewCenterAdsAsync(SearchAdReviewCenterAdsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchAdReviewCenterAdsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<SearchAdReviewCenterAdsResponse> | The call object. |
SearchAdReviewCenterAdsAsync(SearchAdReviewCenterAdsRequest, Metadata, DateTime?, CancellationToken)
API to search for AdReviewCenterAds.
Declaration
public virtual AsyncUnaryCall<SearchAdReviewCenterAdsResponse> SearchAdReviewCenterAdsAsync(SearchAdReviewCenterAdsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchAdReviewCenterAdsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<SearchAdReviewCenterAdsResponse> | The call object. |