Show / Hide Table of Contents

Class CreativeWrapperService.CreativeWrapperServiceClient

Client for CreativeWrapperService

Inheritance
object
ClientBase
ClientBase<CreativeWrapperService.CreativeWrapperServiceClient>
CreativeWrapperService.CreativeWrapperServiceClient
Inherited Members
ClientBase<CreativeWrapperService.CreativeWrapperServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class CreativeWrapperService.CreativeWrapperServiceClient : ClientBase<CreativeWrapperService.CreativeWrapperServiceClient>

Constructors

CreativeWrapperServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected CreativeWrapperServiceClient()

CreativeWrapperServiceClient(CallInvoker)

Creates a new client for CreativeWrapperService that uses a custom CallInvoker.

Declaration
public CreativeWrapperServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

CreativeWrapperServiceClient(ChannelBase)

Creates a new client for CreativeWrapperService

Declaration
public CreativeWrapperServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

CreativeWrapperServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected CreativeWrapperServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

BatchActivateCreativeWrappers(BatchActivateCreativeWrappersRequest, CallOptions)

Batch activates CreativeWrapper objects.

Declaration
public virtual BatchActivateCreativeWrappersResponse BatchActivateCreativeWrappers(BatchActivateCreativeWrappersRequest request, CallOptions options)
Parameters
Type Name Description
BatchActivateCreativeWrappersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchActivateCreativeWrappersResponse

The response received from the server.

BatchActivateCreativeWrappers(BatchActivateCreativeWrappersRequest, Metadata, DateTime?, CancellationToken)

Batch activates CreativeWrapper objects.

Declaration
public virtual BatchActivateCreativeWrappersResponse BatchActivateCreativeWrappers(BatchActivateCreativeWrappersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchActivateCreativeWrappersRequest 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
BatchActivateCreativeWrappersResponse

The response received from the server.

BatchActivateCreativeWrappersAsync(BatchActivateCreativeWrappersRequest, CallOptions)

Batch activates CreativeWrapper objects.

Declaration
public virtual AsyncUnaryCall<BatchActivateCreativeWrappersResponse> BatchActivateCreativeWrappersAsync(BatchActivateCreativeWrappersRequest request, CallOptions options)
Parameters
Type Name Description
BatchActivateCreativeWrappersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchActivateCreativeWrappersResponse>

The call object.

BatchActivateCreativeWrappersAsync(BatchActivateCreativeWrappersRequest, Metadata, DateTime?, CancellationToken)

Batch activates CreativeWrapper objects.

Declaration
public virtual AsyncUnaryCall<BatchActivateCreativeWrappersResponse> BatchActivateCreativeWrappersAsync(BatchActivateCreativeWrappersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchActivateCreativeWrappersRequest 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<BatchActivateCreativeWrappersResponse>

The call object.

BatchCreateCreativeWrappers(BatchCreateCreativeWrappersRequest, CallOptions)

Creates CreativeWrapper objects.

Declaration
public virtual BatchCreateCreativeWrappersResponse BatchCreateCreativeWrappers(BatchCreateCreativeWrappersRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateCreativeWrappersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchCreateCreativeWrappersResponse

The response received from the server.

BatchCreateCreativeWrappers(BatchCreateCreativeWrappersRequest, Metadata, DateTime?, CancellationToken)

Creates CreativeWrapper objects.

Declaration
public virtual BatchCreateCreativeWrappersResponse BatchCreateCreativeWrappers(BatchCreateCreativeWrappersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateCreativeWrappersRequest 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
BatchCreateCreativeWrappersResponse

The response received from the server.

BatchCreateCreativeWrappersAsync(BatchCreateCreativeWrappersRequest, CallOptions)

Creates CreativeWrapper objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateCreativeWrappersResponse> BatchCreateCreativeWrappersAsync(BatchCreateCreativeWrappersRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateCreativeWrappersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateCreativeWrappersResponse>

The call object.

BatchCreateCreativeWrappersAsync(BatchCreateCreativeWrappersRequest, Metadata, DateTime?, CancellationToken)

Creates CreativeWrapper objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateCreativeWrappersResponse> BatchCreateCreativeWrappersAsync(BatchCreateCreativeWrappersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateCreativeWrappersRequest 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<BatchCreateCreativeWrappersResponse>

The call object.

BatchDeactivateCreativeWrappers(BatchDeactivateCreativeWrappersRequest, CallOptions)

Deactivates a list of CreativeWrapper objects.

Declaration
public virtual BatchDeactivateCreativeWrappersResponse BatchDeactivateCreativeWrappers(BatchDeactivateCreativeWrappersRequest request, CallOptions options)
Parameters
Type Name Description
BatchDeactivateCreativeWrappersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchDeactivateCreativeWrappersResponse

The response received from the server.

BatchDeactivateCreativeWrappers(BatchDeactivateCreativeWrappersRequest, Metadata, DateTime?, CancellationToken)

Deactivates a list of CreativeWrapper objects.

Declaration
public virtual BatchDeactivateCreativeWrappersResponse BatchDeactivateCreativeWrappers(BatchDeactivateCreativeWrappersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchDeactivateCreativeWrappersRequest 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
BatchDeactivateCreativeWrappersResponse

The response received from the server.

BatchDeactivateCreativeWrappersAsync(BatchDeactivateCreativeWrappersRequest, CallOptions)

Deactivates a list of CreativeWrapper objects.

Declaration
public virtual AsyncUnaryCall<BatchDeactivateCreativeWrappersResponse> BatchDeactivateCreativeWrappersAsync(BatchDeactivateCreativeWrappersRequest request, CallOptions options)
Parameters
Type Name Description
BatchDeactivateCreativeWrappersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchDeactivateCreativeWrappersResponse>

The call object.

BatchDeactivateCreativeWrappersAsync(BatchDeactivateCreativeWrappersRequest, Metadata, DateTime?, CancellationToken)

Deactivates a list of CreativeWrapper objects.

Declaration
public virtual AsyncUnaryCall<BatchDeactivateCreativeWrappersResponse> BatchDeactivateCreativeWrappersAsync(BatchDeactivateCreativeWrappersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchDeactivateCreativeWrappersRequest 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<BatchDeactivateCreativeWrappersResponse>

The call object.

BatchUpdateCreativeWrappers(BatchUpdateCreativeWrappersRequest, CallOptions)

Batch updates CreativeWrapper objects.

Declaration
public virtual BatchUpdateCreativeWrappersResponse BatchUpdateCreativeWrappers(BatchUpdateCreativeWrappersRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateCreativeWrappersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchUpdateCreativeWrappersResponse

The response received from the server.

BatchUpdateCreativeWrappers(BatchUpdateCreativeWrappersRequest, Metadata, DateTime?, CancellationToken)

Batch updates CreativeWrapper objects.

Declaration
public virtual BatchUpdateCreativeWrappersResponse BatchUpdateCreativeWrappers(BatchUpdateCreativeWrappersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateCreativeWrappersRequest 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
BatchUpdateCreativeWrappersResponse

The response received from the server.

BatchUpdateCreativeWrappersAsync(BatchUpdateCreativeWrappersRequest, CallOptions)

Batch updates CreativeWrapper objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateCreativeWrappersResponse> BatchUpdateCreativeWrappersAsync(BatchUpdateCreativeWrappersRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateCreativeWrappersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateCreativeWrappersResponse>

The call object.

BatchUpdateCreativeWrappersAsync(BatchUpdateCreativeWrappersRequest, Metadata, DateTime?, CancellationToken)

Batch updates CreativeWrapper objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateCreativeWrappersResponse> BatchUpdateCreativeWrappersAsync(BatchUpdateCreativeWrappersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateCreativeWrappersRequest 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<BatchUpdateCreativeWrappersResponse>

The call object.

CreateCreativeWrapper(CreateCreativeWrapperRequest, CallOptions)

Creates a CreativeWrapper object.

Declaration
public virtual CreativeWrapper CreateCreativeWrapper(CreateCreativeWrapperRequest request, CallOptions options)
Parameters
Type Name Description
CreateCreativeWrapperRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
CreativeWrapper

The response received from the server.

CreateCreativeWrapper(CreateCreativeWrapperRequest, Metadata, DateTime?, CancellationToken)

Creates a CreativeWrapper object.

Declaration
public virtual CreativeWrapper CreateCreativeWrapper(CreateCreativeWrapperRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateCreativeWrapperRequest 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
CreativeWrapper

The response received from the server.

CreateCreativeWrapperAsync(CreateCreativeWrapperRequest, CallOptions)

Creates a CreativeWrapper object.

Declaration
public virtual AsyncUnaryCall<CreativeWrapper> CreateCreativeWrapperAsync(CreateCreativeWrapperRequest request, CallOptions options)
Parameters
Type Name Description
CreateCreativeWrapperRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<CreativeWrapper>

The call object.

CreateCreativeWrapperAsync(CreateCreativeWrapperRequest, Metadata, DateTime?, CancellationToken)

Creates a CreativeWrapper object.

Declaration
public virtual AsyncUnaryCall<CreativeWrapper> CreateCreativeWrapperAsync(CreateCreativeWrapperRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateCreativeWrapperRequest 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<CreativeWrapper>

The call object.

GetCreativeWrapper(GetCreativeWrapperRequest, CallOptions)

Retrieves a CreativeWrapper object.

Declaration
public virtual CreativeWrapper GetCreativeWrapper(GetCreativeWrapperRequest request, CallOptions options)
Parameters
Type Name Description
GetCreativeWrapperRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
CreativeWrapper

The response received from the server.

GetCreativeWrapper(GetCreativeWrapperRequest, Metadata, DateTime?, CancellationToken)

Retrieves a CreativeWrapper object.

Declaration
public virtual CreativeWrapper GetCreativeWrapper(GetCreativeWrapperRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetCreativeWrapperRequest 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
CreativeWrapper

The response received from the server.

GetCreativeWrapperAsync(GetCreativeWrapperRequest, CallOptions)

Retrieves a CreativeWrapper object.

Declaration
public virtual AsyncUnaryCall<CreativeWrapper> GetCreativeWrapperAsync(GetCreativeWrapperRequest request, CallOptions options)
Parameters
Type Name Description
GetCreativeWrapperRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<CreativeWrapper>

The call object.

GetCreativeWrapperAsync(GetCreativeWrapperRequest, Metadata, DateTime?, CancellationToken)

Retrieves a CreativeWrapper object.

Declaration
public virtual AsyncUnaryCall<CreativeWrapper> GetCreativeWrapperAsync(GetCreativeWrapperRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetCreativeWrapperRequest 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<CreativeWrapper>

The call object.

ListCreativeWrappers(ListCreativeWrappersRequest, CallOptions)

Lists CreativeWrapper objects.

Declaration
public virtual ListCreativeWrappersResponse ListCreativeWrappers(ListCreativeWrappersRequest request, CallOptions options)
Parameters
Type Name Description
ListCreativeWrappersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListCreativeWrappersResponse

The response received from the server.

ListCreativeWrappers(ListCreativeWrappersRequest, Metadata, DateTime?, CancellationToken)

Lists CreativeWrapper objects.

Declaration
public virtual ListCreativeWrappersResponse ListCreativeWrappers(ListCreativeWrappersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListCreativeWrappersRequest 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
ListCreativeWrappersResponse

The response received from the server.

ListCreativeWrappersAsync(ListCreativeWrappersRequest, CallOptions)

Lists CreativeWrapper objects.

Declaration
public virtual AsyncUnaryCall<ListCreativeWrappersResponse> ListCreativeWrappersAsync(ListCreativeWrappersRequest request, CallOptions options)
Parameters
Type Name Description
ListCreativeWrappersRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListCreativeWrappersResponse>

The call object.

ListCreativeWrappersAsync(ListCreativeWrappersRequest, Metadata, DateTime?, CancellationToken)

Lists CreativeWrapper objects.

Declaration
public virtual AsyncUnaryCall<ListCreativeWrappersResponse> ListCreativeWrappersAsync(ListCreativeWrappersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListCreativeWrappersRequest 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<ListCreativeWrappersResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override CreativeWrapperService.CreativeWrapperServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
CreativeWrapperService.CreativeWrapperServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.CreativeWrapperService.CreativeWrapperServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateCreativeWrapper(UpdateCreativeWrapperRequest, CallOptions)

Updates a CreativeWrapper object.

Declaration
public virtual CreativeWrapper UpdateCreativeWrapper(UpdateCreativeWrapperRequest request, CallOptions options)
Parameters
Type Name Description
UpdateCreativeWrapperRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
CreativeWrapper

The response received from the server.

UpdateCreativeWrapper(UpdateCreativeWrapperRequest, Metadata, DateTime?, CancellationToken)

Updates a CreativeWrapper object.

Declaration
public virtual CreativeWrapper UpdateCreativeWrapper(UpdateCreativeWrapperRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateCreativeWrapperRequest 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
CreativeWrapper

The response received from the server.

UpdateCreativeWrapperAsync(UpdateCreativeWrapperRequest, CallOptions)

Updates a CreativeWrapper object.

Declaration
public virtual AsyncUnaryCall<CreativeWrapper> UpdateCreativeWrapperAsync(UpdateCreativeWrapperRequest request, CallOptions options)
Parameters
Type Name Description
UpdateCreativeWrapperRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<CreativeWrapper>

The call object.

UpdateCreativeWrapperAsync(UpdateCreativeWrapperRequest, Metadata, DateTime?, CancellationToken)

Updates a CreativeWrapper object.

Declaration
public virtual AsyncUnaryCall<CreativeWrapper> UpdateCreativeWrapperAsync(UpdateCreativeWrapperRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateCreativeWrapperRequest 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<CreativeWrapper>

The call object.

In this article
Back to top Generated by DocFX