Class AudienceSegmentService.AudienceSegmentServiceBase
Base class for server-side implementations of AudienceSegmentService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(AudienceSegmentService), "BindService")]
public abstract class AudienceSegmentService.AudienceSegmentServiceBase
Methods
BatchActivateAudienceSegments(BatchActivateAudienceSegmentsRequest, ServerCallContext)
Activates AudienceSegment objects.
Declaration
public virtual Task<BatchActivateAudienceSegmentsResponse> BatchActivateAudienceSegments(BatchActivateAudienceSegmentsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateAudienceSegmentsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivateAudienceSegmentsResponse> | The response to send back to the client (wrapped by a task). |
BatchApproveAudienceSegments(BatchApproveAudienceSegmentsRequest, ServerCallContext)
Approves AudienceSegment objects.
Declaration
public virtual Task<BatchApproveAudienceSegmentsResponse> BatchApproveAudienceSegments(BatchApproveAudienceSegmentsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchApproveAudienceSegmentsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchApproveAudienceSegmentsResponse> | The response to send back to the client (wrapped by a task). |
BatchCreateAudienceSegments(BatchCreateAudienceSegmentsRequest, ServerCallContext)
Creates AudienceSegment objects.
Declaration
public virtual Task<BatchCreateAudienceSegmentsResponse> BatchCreateAudienceSegments(BatchCreateAudienceSegmentsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateAudienceSegmentsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateAudienceSegmentsResponse> | The response to send back to the client (wrapped by a task). |
BatchDeactivateAudienceSegments(BatchDeactivateAudienceSegmentsRequest, ServerCallContext)
Deactivates AudienceSegment objects.
Declaration
public virtual Task<BatchDeactivateAudienceSegmentsResponse> BatchDeactivateAudienceSegments(BatchDeactivateAudienceSegmentsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateAudienceSegmentsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivateAudienceSegmentsResponse> | The response to send back to the client (wrapped by a task). |
BatchPopulateAudienceSegments(BatchPopulateAudienceSegmentsRequest, ServerCallContext)
Populates AudienceSegment objects.
Declaration
public virtual Task<BatchPopulateAudienceSegmentsResponse> BatchPopulateAudienceSegments(BatchPopulateAudienceSegmentsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchPopulateAudienceSegmentsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchPopulateAudienceSegmentsResponse> | The response to send back to the client (wrapped by a task). |
BatchRejectAudienceSegments(BatchRejectAudienceSegmentsRequest, ServerCallContext)
Rejects AudienceSegment objects.
Declaration
public virtual Task<BatchRejectAudienceSegmentsResponse> BatchRejectAudienceSegments(BatchRejectAudienceSegmentsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchRejectAudienceSegmentsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchRejectAudienceSegmentsResponse> | The response to send back to the client (wrapped by a task). |
CreateAudienceSegment(CreateAudienceSegmentRequest, ServerCallContext)
Creates an AudienceSegment object.
Declaration
public virtual Task<AudienceSegment> CreateAudienceSegment(CreateAudienceSegmentRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAudienceSegmentRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<AudienceSegment> | The response to send back to the client (wrapped by a task). |
GetAudienceSegment(GetAudienceSegmentRequest, ServerCallContext)
Retrieves an AudienceSegment object.
Declaration
public virtual Task<AudienceSegment> GetAudienceSegment(GetAudienceSegmentRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAudienceSegmentRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<AudienceSegment> | The response to send back to the client (wrapped by a task). |
ListAudienceSegments(ListAudienceSegmentsRequest, ServerCallContext)
Lists AudienceSegment objects.
Declaration
public virtual Task<ListAudienceSegmentsResponse> ListAudienceSegments(ListAudienceSegmentsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAudienceSegmentsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListAudienceSegmentsResponse> | The response to send back to the client (wrapped by a task). |