Class CreativeServiceClientImpl
CreativeService client wrapper implementation, for convenient use.
Inherited Members
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
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
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
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
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
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
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
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
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. |