Show / Hide Table of Contents

Class CreativeTemplateService.CreativeTemplateServiceClient

Client for CreativeTemplateService

Inheritance
object
ClientBase
ClientBase<CreativeTemplateService.CreativeTemplateServiceClient>
CreativeTemplateService.CreativeTemplateServiceClient
Inherited Members
ClientBase<CreativeTemplateService.CreativeTemplateServiceClient>.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 CreativeTemplateService.CreativeTemplateServiceClient : ClientBase<CreativeTemplateService.CreativeTemplateServiceClient>

Constructors

CreativeTemplateServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected CreativeTemplateServiceClient()

CreativeTemplateServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

CreativeTemplateServiceClient(ChannelBase)

Creates a new client for CreativeTemplateService

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

The channel to use to make remote calls.

CreativeTemplateServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

GetCreativeTemplate(GetCreativeTemplateRequest, CallOptions)

API to retrieve a CreativeTemplate object.

Declaration
public virtual CreativeTemplate GetCreativeTemplate(GetCreativeTemplateRequest request, CallOptions options)
Parameters
Type Name Description
GetCreativeTemplateRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
CreativeTemplate

The response received from the server.

GetCreativeTemplate(GetCreativeTemplateRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a CreativeTemplate object.

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

The response received from the server.

GetCreativeTemplateAsync(GetCreativeTemplateRequest, CallOptions)

API to retrieve a CreativeTemplate object.

Declaration
public virtual AsyncUnaryCall<CreativeTemplate> GetCreativeTemplateAsync(GetCreativeTemplateRequest request, CallOptions options)
Parameters
Type Name Description
GetCreativeTemplateRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<CreativeTemplate>

The call object.

GetCreativeTemplateAsync(GetCreativeTemplateRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a CreativeTemplate object.

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

The call object.

ListCreativeTemplates(ListCreativeTemplatesRequest, CallOptions)

API to retrieve a list of CreativeTemplate objects.

Declaration
public virtual ListCreativeTemplatesResponse ListCreativeTemplates(ListCreativeTemplatesRequest request, CallOptions options)
Parameters
Type Name Description
ListCreativeTemplatesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListCreativeTemplatesResponse

The response received from the server.

ListCreativeTemplates(ListCreativeTemplatesRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of CreativeTemplate objects.

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

The response received from the server.

ListCreativeTemplatesAsync(ListCreativeTemplatesRequest, CallOptions)

API to retrieve a list of CreativeTemplate objects.

Declaration
public virtual AsyncUnaryCall<ListCreativeTemplatesResponse> ListCreativeTemplatesAsync(ListCreativeTemplatesRequest request, CallOptions options)
Parameters
Type Name Description
ListCreativeTemplatesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListCreativeTemplatesResponse>

The call object.

ListCreativeTemplatesAsync(ListCreativeTemplatesRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of CreativeTemplate objects.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override CreativeTemplateService.CreativeTemplateServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
CreativeTemplateService.CreativeTemplateServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.CreativeTemplateService.CreativeTemplateServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)
In this article
Back to top Generated by DocFX