Show / Hide Table of Contents

Class CreativeServiceClientImpl

CreativeService client wrapper implementation, for convenient use.

Inheritance
object
CreativeServiceClient
CreativeServiceClientImpl
Inherited Members
CreativeServiceClient.DefaultEndpoint
CreativeServiceClient.DefaultScopes
CreativeServiceClient.ServiceMetadata
CreativeServiceClient.CreateAsync(CancellationToken)
CreativeServiceClient.Create()
CreativeServiceClient.ShutdownDefaultChannelsAsync()
CreativeServiceClient.GetCreativeAsync(GetCreativeRequest, CancellationToken)
CreativeServiceClient.GetCreative(string, CallSettings)
CreativeServiceClient.GetCreativeAsync(string, CallSettings)
CreativeServiceClient.GetCreativeAsync(string, CancellationToken)
CreativeServiceClient.GetCreative(CreativeName, CallSettings)
CreativeServiceClient.GetCreativeAsync(CreativeName, CallSettings)
CreativeServiceClient.GetCreativeAsync(CreativeName, CancellationToken)
CreativeServiceClient.ListCreatives(string, string, int?, CallSettings)
CreativeServiceClient.ListCreativesAsync(string, string, int?, CallSettings)
CreativeServiceClient.ListCreatives(NetworkName, string, int?, CallSettings)
CreativeServiceClient.ListCreativesAsync(NetworkName, string, int?, CallSettings)
CreativeServiceClient.BatchActivateCreativesAsync(BatchActivateCreativesRequest, CancellationToken)
CreativeServiceClient.BatchActivateCreatives(string, IEnumerable<string>, CallSettings)
CreativeServiceClient.BatchActivateCreativesAsync(string, IEnumerable<string>, CallSettings)
CreativeServiceClient.BatchActivateCreativesAsync(string, IEnumerable<string>, CancellationToken)
CreativeServiceClient.BatchActivateCreatives(NetworkName, IEnumerable<CreativeName>, CallSettings)
CreativeServiceClient.BatchActivateCreativesAsync(NetworkName, IEnumerable<CreativeName>, CallSettings)
CreativeServiceClient.BatchActivateCreativesAsync(NetworkName, IEnumerable<CreativeName>, CancellationToken)
CreativeServiceClient.BatchDeactivateCreativesAsync(BatchDeactivateCreativesRequest, CancellationToken)
CreativeServiceClient.BatchDeactivateCreatives(string, IEnumerable<string>, CallSettings)
CreativeServiceClient.BatchDeactivateCreativesAsync(string, IEnumerable<string>, CallSettings)
CreativeServiceClient.BatchDeactivateCreativesAsync(string, IEnumerable<string>, CancellationToken)
CreativeServiceClient.BatchDeactivateCreatives(NetworkName, IEnumerable<CreativeName>, CallSettings)
CreativeServiceClient.BatchDeactivateCreativesAsync(NetworkName, IEnumerable<CreativeName>, CallSettings)
CreativeServiceClient.BatchDeactivateCreativesAsync(NetworkName, IEnumerable<CreativeName>, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CreativeServiceClientImpl : CreativeServiceClient
Remarks

Provides methods for handling Creative objects.

Constructors

CreativeServiceClientImpl(CreativeServiceClient, CreativeServiceSettings, ILogger)

Constructs a client wrapper for the CreativeService service, with the specified gRPC client and settings.

Declaration
public CreativeServiceClientImpl(CreativeService.CreativeServiceClient grpcClient, CreativeServiceSettings settings, ILogger logger)
Parameters
Type Name Description
CreativeService.CreativeServiceClient grpcClient

The underlying gRPC client.

CreativeServiceSettings settings

The base CreativeServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC CreativeService client

Declaration
public override CreativeService.CreativeServiceClient GrpcClient { get; }
Property Value
Type Description
CreativeService.CreativeServiceClient
Overrides
CreativeServiceClient.GrpcClient

Methods

BatchActivateCreatives(BatchActivateCreativesRequest, CallSettings)

Batch activates Creative objects.

Declaration
public override BatchActivateCreativesResponse BatchActivateCreatives(BatchActivateCreativesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchActivateCreativesRequest 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
BatchActivateCreativesResponse

The RPC response.

Overrides
CreativeServiceClient.BatchActivateCreatives(BatchActivateCreativesRequest, CallSettings)

BatchActivateCreativesAsync(BatchActivateCreativesRequest, CallSettings)

Batch activates Creative objects.

Declaration
public override Task<BatchActivateCreativesResponse> BatchActivateCreativesAsync(BatchActivateCreativesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchActivateCreativesRequest 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<BatchActivateCreativesResponse>

A Task containing the RPC response.

Overrides
CreativeServiceClient.BatchActivateCreativesAsync(BatchActivateCreativesRequest, CallSettings)

BatchDeactivateCreatives(BatchDeactivateCreativesRequest, CallSettings)

Deactivates a list of Creative objects.

Declaration
public override BatchDeactivateCreativesResponse BatchDeactivateCreatives(BatchDeactivateCreativesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchDeactivateCreativesRequest 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
BatchDeactivateCreativesResponse

The RPC response.

Overrides
CreativeServiceClient.BatchDeactivateCreatives(BatchDeactivateCreativesRequest, CallSettings)

BatchDeactivateCreativesAsync(BatchDeactivateCreativesRequest, CallSettings)

Deactivates a list of Creative objects.

Declaration
public override Task<BatchDeactivateCreativesResponse> BatchDeactivateCreativesAsync(BatchDeactivateCreativesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
BatchDeactivateCreativesRequest 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<BatchDeactivateCreativesResponse>

A Task containing the RPC response.

Overrides
CreativeServiceClient.BatchDeactivateCreativesAsync(BatchDeactivateCreativesRequest, CallSettings)

GetCreative(GetCreativeRequest, CallSettings)

Retrieves a Creative object.

Declaration
public override Creative GetCreative(GetCreativeRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetCreativeRequest 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
Creative

The RPC response.

Overrides
CreativeServiceClient.GetCreative(GetCreativeRequest, CallSettings)

GetCreativeAsync(GetCreativeRequest, CallSettings)

Retrieves a Creative object.

Declaration
public override Task<Creative> GetCreativeAsync(GetCreativeRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetCreativeRequest 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<Creative>

A Task containing the RPC response.

Overrides
CreativeServiceClient.GetCreativeAsync(GetCreativeRequest, CallSettings)

ListCreatives(ListCreativesRequest, CallSettings)

Lists Creative objects.

Declaration
public override PagedEnumerable<ListCreativesResponse, Creative> ListCreatives(ListCreativesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListCreativesRequest 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<ListCreativesResponse, Creative>

A pageable sequence of Creative resources.

Overrides
CreativeServiceClient.ListCreatives(ListCreativesRequest, CallSettings)

ListCreativesAsync(ListCreativesRequest, CallSettings)

Lists Creative objects.

Declaration
public override PagedAsyncEnumerable<ListCreativesResponse, Creative> ListCreativesAsync(ListCreativesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListCreativesRequest 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<ListCreativesResponse, Creative>

A pageable asynchronous sequence of Creative resources.

Overrides
CreativeServiceClient.ListCreativesAsync(ListCreativesRequest, CallSettings)
In this article
Back to top Generated by DocFX