Class ReachPlanServiceGrpc.ReachPlanServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ReachPlanServiceGrpc.ReachPlanServiceBlockingV2Stub>
com.google.ads.googleads.v21.services.ReachPlanServiceGrpc.ReachPlanServiceBlockingV2Stub
Enclosing class:
ReachPlanServiceGrpc

public static final class ReachPlanServiceGrpc.ReachPlanServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<ReachPlanServiceGrpc.ReachPlanServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service ReachPlanService.
 Reach Plan Service gives users information about audience size that can
 be reached through advertisement on YouTube. In particular,
 GenerateReachForecast provides estimated number of people of specified
 demographics that can be reached by an ad in a given market by a campaign of
 certain duration with a defined budget.
 
  • Method Details

    • build

      protected ReachPlanServiceGrpc.ReachPlanServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ReachPlanServiceGrpc.ReachPlanServiceBlockingV2Stub>
    • generateConversionRates

      public GenerateConversionRatesResponse generateConversionRates(GenerateConversionRatesRequest request)
       Returns a collection of conversion rate suggestions for supported plannable
       products.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • listPlannableLocations

      public ListPlannableLocationsResponse listPlannableLocations(ListPlannableLocationsRequest request)
       Returns the list of plannable locations (for example, countries).
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • listPlannableProducts

      public ListPlannableProductsResponse listPlannableProducts(ListPlannableProductsRequest request)
       Returns the list of per-location plannable YouTube ad formats with allowed
       targeting.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • generateReachForecast

      public GenerateReachForecastResponse generateReachForecast(GenerateReachForecastRequest request)
       Generates a reach forecast for a given targeting / product mix.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RangeError]()
         [ReachPlanError]()
         [RequestError]()
       
    • listPlannableUserLists

      public ListPlannableUserListsResponse listPlannableUserLists(ListPlannableUserListsRequest request)
       Returns the list of plannable user lists with their plannable status.
       User lists may not be plannable for a number of reasons, including:
       - They are less than 10 days old.
       - They have a membership lifespan that is less than 30 days
       - They have less than 10,000 or more than 700,000 users.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RangeError]()
         [ReachPlanError]()
         [RequestError]()
       
    • listPlannableUserInterests

      public ListPlannableUserInterestsResponse listPlannableUserInterests(ListPlannableUserInterestsRequest request)
       Returns the list of plannable user interests.
       A plannable user interest is one that can be targeted in a reach forecast
       using
       [ReachPlanService.GenerateReachForecast][google.ads.googleads.v21.services.ReachPlanService.GenerateReachForecast].
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [FieldError]()
         [HeaderError]()
         [InternalError]()
         [ListOperationError]()
         [QuotaError]()
         [RequestError]()
         [StringLengthError]()