AdMob Ads Plugin API Reference

AdMob Ads Plugin for Android API Reference


//Call once only, initialises the ad banner
public static void StartAds()

//Destroys the ad banner
public static void StopAds()

//Positions the ad banner: xpos = "top", "bottom" ypos = "left", "middle","right"
public static void SetPosition(string xpos,string ypos)

//Shows the ad banner if hidden
public static void ShowAds()

//Hides the ad banner if showing
public static void HideAds()

//Forces an ad refresh
public static void RefreshAd()

//Sets the banner type: "BANNER", "IAB_MRECT", "IAB_BANNER", "IAB_LEADERBOARD", "SMART_BANNER"
public static void SetBanner(string bannertype)

//Call before StartAds() to put into testmode
public static void SetTestMode(string test_device_id)

AdMob Ads Plugin for iOS API Reference


//Call once only, initialises the ad banner
public static void StartAds(string unitID,bool testmode)

//Positions the ad banner: xpos = "top", "bottom" ypos = "left", "middle","right"
public static void SetPosition(string xpos,string ypos)

//Shows the ad banner if hidden
public static void ShowAds()

//Hides the ad banner if showing
public static void HideAds()

//Forces an ad refresh
public static void RefreshAds(bool testmode)

//Sets the banner type: "BANNER", "IAB_MRECT", "IAB_BANNER", "IAB_LEADERBOARD", "SMART_BANNER"
public static void SetBanner(string bannertype)

Leave a Reply

Your email address will not be published. Required fields are marked *