Class POBManager

  • All Implemented Interfaces:
    com.pubmatic.sdk.common.base.POBBidding

    
    public class POBManager
    extends POBBaseBidder<T>
                        

    This class is responsible for fetching the bids from PubMatic ad server. It gives callback to Publisher application via PMWrapperManagerListener. It also manages the bids for future rendering.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public String identifier
    • Constructor Summary

      Constructors 
      Constructor Description
      POBManager(POBCommunicator<POBBid> communicator) Constructs Manager Deprecate in favour of <, > Deprecated a v3.0.0 and the support of this will be removed soon.
      POBManager(Context context, POBCommunicator<POBBid> communicator) Constructs the POBManager by initialising the required params
      POBManager(POBRequest adRequest, Context context) Constructor
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void requestBid() Execute the PubMatic ad request and notify via PMWrapperManagerListener instance
      POBAdResponse<POBBid> getAdResponse()
      void destroy() Release resources, clear maps and reset the adViews used.
      Map<String, POBBidderResult<POBBid>> getBidderResults()
      void setCountryFilterConfig(@Nullable() POBBaseBidder.CountryFilterConfig countryFilterConfig)
      • Methods inherited from class com.pubmatic.sdk.common.base.POBBaseBidder

        getIdentifier, setBidderListener, setIdentifier
      • Methods inherited from class java.lang.Object

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

      • POBManager

        POBManager(POBCommunicator<POBBid> communicator)
        Constructs Manager Deprecate in favour of <, > Deprecated a v3.0.0 and the support of this will be removed soon.
        Parameters:
        communicator - the instance of PMCommunicator
      • POBManager

        POBManager(Context context, POBCommunicator<POBBid> communicator)
        Constructs the POBManager by initialising the required params
        Parameters:
        context - the app context
        communicator - the the communicator
      • POBManager

        POBManager(POBRequest adRequest, Context context)
        Constructor
        Parameters:
        adRequest - Valid POBRequest object
        context - android context