Class AudienceInsightsServiceGrpc.AudienceInsightsServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AudienceInsightsServiceGrpc.AudienceInsightsServiceBlockingV2Stub>
com.google.ads.googleads.v18.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)
       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 ListAudienceInsightsAttributesResponse listAudienceInsightsAttributes(ListAudienceInsightsAttributesRequest request)
       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 ListInsightsEligibleDatesResponse listInsightsEligibleDates(ListInsightsEligibleDatesRequest request)
       Lists date ranges for which audience insights data can be requested.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RangeError]()
         [RequestError]()
       
    • generateAudienceCompositionInsights

       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

       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 GenerateAudienceOverlapInsightsResponse generateAudienceOverlapInsights(GenerateAudienceOverlapInsightsRequest request)
       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

       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]()