Class AdServiceGrpc.AdServiceImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService
    Enclosing class:
    AdServiceGrpc

    public abstract static class AdServiceGrpc.AdServiceImplBase
    extends java.lang.Object
    implements io.grpc.BindableService
     Service to manage ads.
     
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.grpc.ServerServiceDefinition bindService()  
      void getAd​(GetAdRequest request, io.grpc.stub.StreamObserver<Ad> responseObserver)
      Returns the requested ad in full detail.
      void mutateAds​(MutateAdsRequest request, io.grpc.stub.StreamObserver<MutateAdsResponse> responseObserver)
      Updates ads.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AdServiceImplBase

        public AdServiceImplBase()
    • Method Detail

      • getAd

        public void getAd​(GetAdRequest request,
                          io.grpc.stub.StreamObserver<Ad> responseObserver)
         Returns the requested ad in full detail.
         List of thrown errors:
           [AuthenticationError]()
           [AuthorizationError]()
           [HeaderError]()
           [InternalError]()
           [QuotaError]()
           [RequestError]()
         
      • mutateAds

        public void mutateAds​(MutateAdsRequest request,
                              io.grpc.stub.StreamObserver<MutateAdsResponse> responseObserver)
         Updates ads. Operation statuses are returned. Updating ads is not supported
         for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd.
         List of thrown errors:
           [AdCustomizerError]()
           [AdError]()
           [AdSharingError]()
           [AdxError]()
           [AssetError]()
           [AssetLinkError]()
           [AuthenticationError]()
           [AuthorizationError]()
           [CollectionSizeError]()
           [DatabaseError]()
           [DateError]()
           [DistinctError]()
           [FeedAttributeReferenceError]()
           [FieldError]()
           [FieldMaskError]()
           [FunctionError]()
           [FunctionParsingError]()
           [HeaderError]()
           [IdError]()
           [ImageError]()
           [InternalError]()
           [ListOperationError]()
           [MediaBundleError]()
           [MediaFileError]()
           [MutateError]()
           [NewResourceCreationError]()
           [NotEmptyError]()
           [NullError]()
           [OperatorError]()
           [PolicyFindingError]()
           [PolicyViolationError]()
           [QuotaError]()
           [RangeError]()
           [RequestError]()
           [SizeLimitError]()
           [StringFormatError]()
           [StringLengthError]()
           [UrlFieldError]()
         
      • bindService

        public final io.grpc.ServerServiceDefinition bindService()
        Specified by:
        bindService in interface io.grpc.BindableService