Class ReachPlanServiceGrpc.ReachPlanServiceBlockingStub

  • Enclosing class:
    ReachPlanServiceGrpc

    public static final class ReachPlanServiceGrpc.ReachPlanServiceBlockingStub
    extends io.grpc.stub.AbstractBlockingStub<ReachPlanServiceGrpc.ReachPlanServiceBlockingStub>
     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 Detail

      • listPlannableLocations

        public ListPlannableLocationsResponse listPlannableLocations​(ListPlannableLocationsRequest request)
         Returns the list of plannable locations (for example, countries & DMAs).
         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]()
         
      • generateProductMixIdeas

        public GenerateProductMixIdeasResponse generateProductMixIdeas​(GenerateProductMixIdeasRequest request)
         Generates a product mix ideas given a set of preferences. This method
         helps the advertiser to obtain a good mix of ad formats and budget
         allocations based on its preferences.
         List of thrown errors:
           [AuthenticationError]()
           [AuthorizationError]()
           [HeaderError]()
           [InternalError]()
           [QuotaError]()
           [ReachPlanError]()
           [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]()