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
GetAudienceSegment(GetAudienceSegmentRequest, ServerCallContext)
API to retrieve 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)
API to retrieve a list of 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). |