Ejemplo n.º 1
0
        protected override bool DoShowAd()
        {
            m_IsShowing = true;
            switch (m_AdInterface.adPosition)
            {
            case AdPosition.Bottom:
            case AdPosition.BottomLeft:
            case AdPosition.BottomRight:
                UPSDK.showBannerAdAtBottom(m_Config.unitID);
                break;

            case AdPosition.Top:
            case AdPosition.TopLeft:
            case AdPosition.TopRight:
                UPSDK.showBannerAdAtTop(m_Config.unitID);
                break;
            }
            return(true);
        }
Ejemplo n.º 2
0
 public void onBtnBanner_Top_Click()
 {
     //sample_banner_inland is placementid
     UPSDK.showBannerAdAtTop("sample_banner");
 }