Class GamBannerEventHandler

  • All Implemented Interfaces:
    org.prebid.mobile.eventhandlers.GamAdEventListener , org.prebid.mobile.rendering.bidding.interfaces.BannerEventHandler

    
    public class GamBannerEventHandler
     implements BannerEventHandler, GamAdEventListener
                        

    Banner event handler for communication between Prebid rendering API and the GAM SDK. It implements the Prebid Rendering SDK EventHandler interface. Prebid Rendering SDK notifies (using EventHandler interface) to make a request to GAM SDK and pass the targeting parameters. This class also creates the GAM's PublisherAdViews, initializes them and listens for the callback methods. And pass the GAM ad event to Prebid Rendering SDK via BannerEventListener.