Class AudienceSegmentServiceClientImpl
AudienceSegmentService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class AudienceSegmentServiceClientImpl : AudienceSegmentServiceClient
Remarks
Provides methods for handling AudienceSegment objects.
Constructors
AudienceSegmentServiceClientImpl(AudienceSegmentServiceClient, AudienceSegmentServiceSettings, ILogger)
Constructs a client wrapper for the AudienceSegmentService service, with the specified gRPC client and settings.
Declaration
public AudienceSegmentServiceClientImpl(AudienceSegmentService.AudienceSegmentServiceClient grpcClient, AudienceSegmentServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| AudienceSegmentService.AudienceSegmentServiceClient | grpcClient | The underlying gRPC client. |
| AudienceSegmentServiceSettings | settings | The base AudienceSegmentServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC AudienceSegmentService client
Declaration
public override AudienceSegmentService.AudienceSegmentServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| AudienceSegmentService.AudienceSegmentServiceClient |
Overrides
Methods
BatchActivateAudienceSegments(BatchActivateAudienceSegmentsRequest, CallSettings)
Activates AudienceSegment objects.
Declaration
public override BatchActivateAudienceSegmentsResponse BatchActivateAudienceSegments(BatchActivateAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateAudienceSegmentsRequest | 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 |
|---|---|
| BatchActivateAudienceSegmentsResponse | The RPC response. |
Overrides
BatchActivateAudienceSegmentsAsync(BatchActivateAudienceSegmentsRequest, CallSettings)
Activates AudienceSegment objects.
Declaration
public override Task<BatchActivateAudienceSegmentsResponse> BatchActivateAudienceSegmentsAsync(BatchActivateAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateAudienceSegmentsRequest | 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<BatchActivateAudienceSegmentsResponse> | A Task containing the RPC response. |
Overrides
BatchApproveAudienceSegments(BatchApproveAudienceSegmentsRequest, CallSettings)
Approves AudienceSegment objects.
Declaration
public override BatchApproveAudienceSegmentsResponse BatchApproveAudienceSegments(BatchApproveAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchApproveAudienceSegmentsRequest | 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 |
|---|---|
| BatchApproveAudienceSegmentsResponse | The RPC response. |
Overrides
BatchApproveAudienceSegmentsAsync(BatchApproveAudienceSegmentsRequest, CallSettings)
Approves AudienceSegment objects.
Declaration
public override Task<BatchApproveAudienceSegmentsResponse> BatchApproveAudienceSegmentsAsync(BatchApproveAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchApproveAudienceSegmentsRequest | 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<BatchApproveAudienceSegmentsResponse> | A Task containing the RPC response. |
Overrides
BatchCreateAudienceSegments(BatchCreateAudienceSegmentsRequest, CallSettings)
Creates AudienceSegment objects.
Declaration
public override BatchCreateAudienceSegmentsResponse BatchCreateAudienceSegments(BatchCreateAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateAudienceSegmentsRequest | 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 |
|---|---|
| BatchCreateAudienceSegmentsResponse | The RPC response. |
Overrides
BatchCreateAudienceSegmentsAsync(BatchCreateAudienceSegmentsRequest, CallSettings)
Creates AudienceSegment objects.
Declaration
public override Task<BatchCreateAudienceSegmentsResponse> BatchCreateAudienceSegmentsAsync(BatchCreateAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateAudienceSegmentsRequest | 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<BatchCreateAudienceSegmentsResponse> | A Task containing the RPC response. |
Overrides
BatchDeactivateAudienceSegments(BatchDeactivateAudienceSegmentsRequest, CallSettings)
Deactivates AudienceSegment objects.
Declaration
public override BatchDeactivateAudienceSegmentsResponse BatchDeactivateAudienceSegments(BatchDeactivateAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateAudienceSegmentsRequest | 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 |
|---|---|
| BatchDeactivateAudienceSegmentsResponse | The RPC response. |
Overrides
BatchDeactivateAudienceSegmentsAsync(BatchDeactivateAudienceSegmentsRequest, CallSettings)
Deactivates AudienceSegment objects.
Declaration
public override Task<BatchDeactivateAudienceSegmentsResponse> BatchDeactivateAudienceSegmentsAsync(BatchDeactivateAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateAudienceSegmentsRequest | 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<BatchDeactivateAudienceSegmentsResponse> | A Task containing the RPC response. |
Overrides
BatchPopulateAudienceSegments(BatchPopulateAudienceSegmentsRequest, CallSettings)
Populates AudienceSegment objects.
Declaration
public override BatchPopulateAudienceSegmentsResponse BatchPopulateAudienceSegments(BatchPopulateAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPopulateAudienceSegmentsRequest | 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 |
|---|---|
| BatchPopulateAudienceSegmentsResponse | The RPC response. |
Overrides
BatchPopulateAudienceSegmentsAsync(BatchPopulateAudienceSegmentsRequest, CallSettings)
Populates AudienceSegment objects.
Declaration
public override Task<BatchPopulateAudienceSegmentsResponse> BatchPopulateAudienceSegmentsAsync(BatchPopulateAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPopulateAudienceSegmentsRequest | 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<BatchPopulateAudienceSegmentsResponse> | A Task containing the RPC response. |
Overrides
BatchRejectAudienceSegments(BatchRejectAudienceSegmentsRequest, CallSettings)
Rejects AudienceSegment objects.
Declaration
public override BatchRejectAudienceSegmentsResponse BatchRejectAudienceSegments(BatchRejectAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRejectAudienceSegmentsRequest | 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 |
|---|---|
| BatchRejectAudienceSegmentsResponse | The RPC response. |
Overrides
BatchRejectAudienceSegmentsAsync(BatchRejectAudienceSegmentsRequest, CallSettings)
Rejects AudienceSegment objects.
Declaration
public override Task<BatchRejectAudienceSegmentsResponse> BatchRejectAudienceSegmentsAsync(BatchRejectAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRejectAudienceSegmentsRequest | 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<BatchRejectAudienceSegmentsResponse> | A Task containing the RPC response. |
Overrides
CreateAudienceSegment(CreateAudienceSegmentRequest, CallSettings)
Creates an AudienceSegment object.
Declaration
public override AudienceSegment CreateAudienceSegment(CreateAudienceSegmentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAudienceSegmentRequest | 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 |
|---|---|
| AudienceSegment | The RPC response. |
Overrides
CreateAudienceSegmentAsync(CreateAudienceSegmentRequest, CallSettings)
Creates an AudienceSegment object.
Declaration
public override Task<AudienceSegment> CreateAudienceSegmentAsync(CreateAudienceSegmentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAudienceSegmentRequest | 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<AudienceSegment> | A Task containing the RPC response. |
Overrides
GetAudienceSegment(GetAudienceSegmentRequest, CallSettings)
Retrieves an AudienceSegment object.
Declaration
public override AudienceSegment GetAudienceSegment(GetAudienceSegmentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAudienceSegmentRequest | 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 |
|---|---|
| AudienceSegment | The RPC response. |
Overrides
GetAudienceSegmentAsync(GetAudienceSegmentRequest, CallSettings)
Retrieves an AudienceSegment object.
Declaration
public override Task<AudienceSegment> GetAudienceSegmentAsync(GetAudienceSegmentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAudienceSegmentRequest | 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<AudienceSegment> | A Task containing the RPC response. |
Overrides
ListAudienceSegments(ListAudienceSegmentsRequest, CallSettings)
Lists AudienceSegment objects.
Declaration
public override PagedEnumerable<ListAudienceSegmentsResponse, AudienceSegment> ListAudienceSegments(ListAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAudienceSegmentsRequest | 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<ListAudienceSegmentsResponse, AudienceSegment> | A pageable sequence of AudienceSegment resources. |
Overrides
ListAudienceSegmentsAsync(ListAudienceSegmentsRequest, CallSettings)
Lists AudienceSegment objects.
Declaration
public override PagedAsyncEnumerable<ListAudienceSegmentsResponse, AudienceSegment> ListAudienceSegmentsAsync(ListAudienceSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAudienceSegmentsRequest | 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<ListAudienceSegmentsResponse, AudienceSegment> | A pageable asynchronous sequence of AudienceSegment resources. |