Class CreativeSetService.CreativeSetServiceClient
Client for CreativeSetService
Inheritance
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class CreativeSetService.CreativeSetServiceClient : ClientBase<CreativeSetService.CreativeSetServiceClient>
Constructors
CreativeSetServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected CreativeSetServiceClient()
CreativeSetServiceClient(CallInvoker)
Creates a new client for CreativeSetService that uses a custom CallInvoker.
Declaration
public CreativeSetServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
CreativeSetServiceClient(ChannelBase)
Creates a new client for CreativeSetService
Declaration
public CreativeSetServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
CreativeSetServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected CreativeSetServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
CreateCreativeSet(CreateCreativeSetRequest, CallOptions)
Creates a CreativeSet object.
Declaration
public virtual CreativeSet CreateCreativeSet(CreateCreativeSetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCreativeSetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| CreativeSet | The response received from the server. |
CreateCreativeSet(CreateCreativeSetRequest, Metadata, DateTime?, CancellationToken)
Creates a CreativeSet object.
Declaration
public virtual CreativeSet CreateCreativeSet(CreateCreativeSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCreativeSetRequest | 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 |
|---|---|
| CreativeSet | The response received from the server. |
CreateCreativeSetAsync(CreateCreativeSetRequest, CallOptions)
Creates a CreativeSet object.
Declaration
public virtual AsyncUnaryCall<CreativeSet> CreateCreativeSetAsync(CreateCreativeSetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCreativeSetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<CreativeSet> | The call object. |
CreateCreativeSetAsync(CreateCreativeSetRequest, Metadata, DateTime?, CancellationToken)
Creates a CreativeSet object.
Declaration
public virtual AsyncUnaryCall<CreativeSet> CreateCreativeSetAsync(CreateCreativeSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCreativeSetRequest | 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<CreativeSet> | The call object. |
GetCreativeSet(GetCreativeSetRequest, CallOptions)
Retrieves a CreativeSet object.
Declaration
public virtual CreativeSet GetCreativeSet(GetCreativeSetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCreativeSetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| CreativeSet | The response received from the server. |
GetCreativeSet(GetCreativeSetRequest, Metadata, DateTime?, CancellationToken)
Retrieves a CreativeSet object.
Declaration
public virtual CreativeSet GetCreativeSet(GetCreativeSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCreativeSetRequest | 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 |
|---|---|
| CreativeSet | The response received from the server. |
GetCreativeSetAsync(GetCreativeSetRequest, CallOptions)
Retrieves a CreativeSet object.
Declaration
public virtual AsyncUnaryCall<CreativeSet> GetCreativeSetAsync(GetCreativeSetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCreativeSetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<CreativeSet> | The call object. |
GetCreativeSetAsync(GetCreativeSetRequest, Metadata, DateTime?, CancellationToken)
Retrieves a CreativeSet object.
Declaration
public virtual AsyncUnaryCall<CreativeSet> GetCreativeSetAsync(GetCreativeSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCreativeSetRequest | 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<CreativeSet> | The call object. |
ListCreativeSets(ListCreativeSetsRequest, CallOptions)
Lists CreativeSet objects.
Declaration
public virtual ListCreativeSetsResponse ListCreativeSets(ListCreativeSetsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCreativeSetsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListCreativeSetsResponse | The response received from the server. |
ListCreativeSets(ListCreativeSetsRequest, Metadata, DateTime?, CancellationToken)
Lists CreativeSet objects.
Declaration
public virtual ListCreativeSetsResponse ListCreativeSets(ListCreativeSetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCreativeSetsRequest | 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 |
|---|---|
| ListCreativeSetsResponse | The response received from the server. |
ListCreativeSetsAsync(ListCreativeSetsRequest, CallOptions)
Lists CreativeSet objects.
Declaration
public virtual AsyncUnaryCall<ListCreativeSetsResponse> ListCreativeSetsAsync(ListCreativeSetsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCreativeSetsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListCreativeSetsResponse> | The call object. |
ListCreativeSetsAsync(ListCreativeSetsRequest, Metadata, DateTime?, CancellationToken)
Lists CreativeSet objects.
Declaration
public virtual AsyncUnaryCall<ListCreativeSetsResponse> ListCreativeSetsAsync(ListCreativeSetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCreativeSetsRequest | 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<ListCreativeSetsResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override CreativeSetService.CreativeSetServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| CreativeSetService.CreativeSetServiceClient |
Overrides
UpdateCreativeSet(UpdateCreativeSetRequest, CallOptions)
Updates a CreativeSet object.
Declaration
public virtual CreativeSet UpdateCreativeSet(UpdateCreativeSetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCreativeSetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| CreativeSet | The response received from the server. |
UpdateCreativeSet(UpdateCreativeSetRequest, Metadata, DateTime?, CancellationToken)
Updates a CreativeSet object.
Declaration
public virtual CreativeSet UpdateCreativeSet(UpdateCreativeSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCreativeSetRequest | 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 |
|---|---|
| CreativeSet | The response received from the server. |
UpdateCreativeSetAsync(UpdateCreativeSetRequest, CallOptions)
Updates a CreativeSet object.
Declaration
public virtual AsyncUnaryCall<CreativeSet> UpdateCreativeSetAsync(UpdateCreativeSetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCreativeSetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<CreativeSet> | The call object. |
UpdateCreativeSetAsync(UpdateCreativeSetRequest, Metadata, DateTime?, CancellationToken)
Updates a CreativeSet object.
Declaration
public virtual AsyncUnaryCall<CreativeSet> UpdateCreativeSetAsync(UpdateCreativeSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCreativeSetRequest | 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<CreativeSet> | The call object. |