Class AudienceInsightsServiceGrpc.AudienceInsightsServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AudienceInsightsServiceGrpc.AudienceInsightsServiceBlockingV2Stub>
com.google.ads.googleads.v23.services.AudienceInsightsServiceGrpc.AudienceInsightsServiceBlockingV2Stub
Enclosing class:
AudienceInsightsServiceGrpc

public static final class AudienceInsightsServiceGrpc.AudienceInsightsServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<AudienceInsightsServiceGrpc.AudienceInsightsServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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.
 
  • Method Details

    • build

      protected AudienceInsightsServiceGrpc.AudienceInsightsServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AudienceInsightsServiceGrpc.AudienceInsightsServiceBlockingV2Stub>
    • generateInsightsFinderReport

      public GenerateInsightsFinderReportResponse generateInsightsFinderReport(GenerateInsightsFinderReportRequest request) throws io.grpc.StatusException
       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]()
       
      Throws:
      io.grpc.StatusException
    • listAudienceInsightsAttributes

      public ListAudienceInsightsAttributesResponse listAudienceInsightsAttributes(ListAudienceInsightsAttributesRequest request) throws io.grpc.StatusException
       Searches for audience attributes that can be used to generate insights.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RangeError]()
         [RequestError]()
       
      Throws:
      io.grpc.StatusException
    • listInsightsEligibleDates

      public ListInsightsEligibleDatesResponse listInsightsEligibleDates(ListInsightsEligibleDatesRequest request) throws io.grpc.StatusException
       Lists date ranges for which audience insights data can be requested.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RangeError]()
         [RequestError]()
       
      Throws:
      io.grpc.StatusException
    • generateAudienceCompositionInsights

      public GenerateAudienceCompositionInsightsResponse generateAudienceCompositionInsights(GenerateAudienceCompositionInsightsRequest request) throws io.grpc.StatusException
       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]()
       
      Throws:
      io.grpc.StatusException
    • generateAudienceDefinition

      public GenerateAudienceDefinitionResponse generateAudienceDefinition(GenerateAudienceDefinitionRequest request) throws io.grpc.StatusException
       Returns a collection of audience attributes using generative AI based on
       the provided audience description.
       List of thrown errors:
         [AudienceInsightsError]()
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
      Throws:
      io.grpc.StatusException
    • generateSuggestedTargetingInsights

      public GenerateSuggestedTargetingInsightsResponse generateSuggestedTargetingInsights(GenerateSuggestedTargetingInsightsRequest request) throws io.grpc.StatusException
       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]()
       
      Throws:
      io.grpc.StatusException
    • generateAudienceOverlapInsights

      public GenerateAudienceOverlapInsightsResponse generateAudienceOverlapInsights(GenerateAudienceOverlapInsightsRequest request) throws io.grpc.StatusException
       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]()
       
      Throws:
      io.grpc.StatusException
    • generateTargetingSuggestionMetrics

      public GenerateTargetingSuggestionMetricsResponse generateTargetingSuggestionMetrics(GenerateTargetingSuggestionMetricsRequest request) throws io.grpc.StatusException
       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]()
       
      Throws:
      io.grpc.StatusException