Class AudienceInsightsServiceGrpc.AudienceInsightsServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<AudienceInsightsServiceGrpc.AudienceInsightsServiceStub>
com.google.ads.googleads.v18.services.AudienceInsightsServiceGrpc.AudienceInsightsServiceStub
- Enclosing class:
- AudienceInsightsServiceGrpc
public static final class AudienceInsightsServiceGrpc.AudienceInsightsServiceStub
extends io.grpc.stub.AbstractAsyncStub<AudienceInsightsServiceGrpc.AudienceInsightsServiceStub>
A stub to allow clients to do asynchronous rpc calls to service AudienceInsightsService.
Audience Insights Service helps users find information about groups of people and how they can be reached with Google Ads. Accessible to allowlisted customers only.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidgenerateAudienceCompositionInsights(GenerateAudienceCompositionInsightsRequest request, io.grpc.stub.StreamObserver<GenerateAudienceCompositionInsightsResponse> responseObserver) Returns a collection of attributes that are represented in an audience of interest, with metrics that compare each attribute's share of the audience with its share of a baseline audience.voidgenerateAudienceOverlapInsights(GenerateAudienceOverlapInsightsRequest request, io.grpc.stub.StreamObserver<GenerateAudienceOverlapInsightsResponse> responseObserver) Returns a collection of audience attributes along with estimates of the overlap between their potential YouTube reach and that of a given input attribute.voidgenerateInsightsFinderReport(GenerateInsightsFinderReportRequest request, io.grpc.stub.StreamObserver<GenerateInsightsFinderReportResponse> responseObserver) Creates a saved report that can be viewed in the Insights Finder tool.voidgenerateSuggestedTargetingInsights(GenerateSuggestedTargetingInsightsRequest request, io.grpc.stub.StreamObserver<GenerateSuggestedTargetingInsightsResponse> responseObserver) Returns a collection of targeting insights (e.g.voidgenerateTargetingSuggestionMetrics(GenerateTargetingSuggestionMetricsRequest request, io.grpc.stub.StreamObserver<GenerateTargetingSuggestionMetricsResponse> responseObserver) Returns potential reach metrics for targetable audiences.voidlistAudienceInsightsAttributes(ListAudienceInsightsAttributesRequest request, io.grpc.stub.StreamObserver<ListAudienceInsightsAttributesResponse> responseObserver) Searches for audience attributes that can be used to generate insights.voidlistInsightsEligibleDates(ListInsightsEligibleDatesRequest request, io.grpc.stub.StreamObserver<ListInsightsEligibleDatesResponse> responseObserver) Lists date ranges for which audience insights data can be requested.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AudienceInsightsServiceGrpc.AudienceInsightsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AudienceInsightsServiceGrpc.AudienceInsightsServiceStub>
-
generateInsightsFinderReport
public void generateInsightsFinderReport(GenerateInsightsFinderReportRequest request, io.grpc.stub.StreamObserver<GenerateInsightsFinderReportResponse> responseObserver) Creates a saved report that can be viewed in the Insights Finder tool. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]()
-
listAudienceInsightsAttributes
public void listAudienceInsightsAttributes(ListAudienceInsightsAttributesRequest request, io.grpc.stub.StreamObserver<ListAudienceInsightsAttributesResponse> responseObserver) Searches for audience attributes that can be used to generate insights. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]()
-
listInsightsEligibleDates
public void listInsightsEligibleDates(ListInsightsEligibleDatesRequest request, io.grpc.stub.StreamObserver<ListInsightsEligibleDatesResponse> responseObserver) Lists date ranges for which audience insights data can be requested. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]()
-
generateAudienceCompositionInsights
public void generateAudienceCompositionInsights(GenerateAudienceCompositionInsightsRequest request, io.grpc.stub.StreamObserver<GenerateAudienceCompositionInsightsResponse> responseObserver) Returns a collection of attributes that are represented in an audience of interest, with metrics that compare each attribute's share of the audience with its share of a baseline audience. List of thrown errors: [AudienceInsightsError]() [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]()
-
generateSuggestedTargetingInsights
public void generateSuggestedTargetingInsights(GenerateSuggestedTargetingInsightsRequest request, io.grpc.stub.StreamObserver<GenerateSuggestedTargetingInsightsResponse> responseObserver) Returns a collection of targeting insights (e.g. targetable audiences) that are relevant to the requested audience. List of thrown errors: [AudienceInsightsError]() [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]()
-
generateAudienceOverlapInsights
public void generateAudienceOverlapInsights(GenerateAudienceOverlapInsightsRequest request, io.grpc.stub.StreamObserver<GenerateAudienceOverlapInsightsResponse> responseObserver) Returns a collection of audience attributes along with estimates of the overlap between their potential YouTube reach and that of a given input attribute. List of thrown errors: [AudienceInsightsError]() [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]()
-
generateTargetingSuggestionMetrics
public void generateTargetingSuggestionMetrics(GenerateTargetingSuggestionMetricsRequest request, io.grpc.stub.StreamObserver<GenerateTargetingSuggestionMetricsResponse> responseObserver) Returns potential reach metrics for targetable audiences. This method helps answer questions like "How many Men aged 18+ interested in Camping can be reached on YouTube?" List of thrown errors: [AudienceInsightsError]() [AuthenticationError]() [AuthorizationError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]()
-