Package 

Interface Placement

    • Method Detail

      • loadAd

         abstract Unit loadAd()

        Checks to see if there is an ad available

        This will call back to: PlacementListener.onAdNotAvailable PlacementListener.onAdAvailable

      • showAd

         abstract Unit showAd()

        Shows the ad associated with this placement.

        this will call back to

        For rewarded placement: PlacementListener.onAdStarted PlacementListener.onAdRewarded PlacementListener.onAdClosed

        For interstitial placement: PlacementListener.onAdStarted PlacementListener.onAdClosed

        For placement: PlacementListener.onAdStarted PlacementListener.onAdDisplayError PlacementListener.onAdClosed

        No ad to display PlacementListener.onAdDisplayError

      • loadAdWithBidResponse

         abstract Boolean loadAdWithBidResponse(String bidResponse)

        Load the placement with the bid response

        Parameters:
        bidResponse - The bid response from the bidding mediator