Startapp Interstitial

  • Description

      Startapp Interstitial

      The Startapp Ads Interstitial component allows to place ads in your application. Interstitial are full-screen ads that cover the interface of your application. They are usually displayed at natural transition points in the flow of an application, such as between activities or during the break between levels in a game. When an application shows an interstitial ad, the user has the option to see the ad or close it and return to the application.
      In order to use Startapp Ads we must create an account in Startapp.

  • Events

    • On Ad Clicked
    • This event fires when the player clicks the interstitial ad.
    • On Ad Displayed
    • This event fires when the ad has been shown correctly.
    • On Ad Hidden
    • This event is called when the ad has closed.
    • On Ad Not Displayed
    • >This event is called when there was an error when showing an ad.
    • On Failed To Receive Ad
    • This method is called when there was an error while trying to receive an ad.
    • On Receive Ad
    • This method is called when we receive an ad. We can show the loaded ad when this event triggers using method "Show Ad".
  • Procedures

    • Load Ad
    • This method allows us to receive an ad. For this to work there is that add the 'App id' in designer or in the property 'App id'.
    • Show Ad
    • Shows an interstitial ad. After the ad is shown, the event 'On Ad Displayed' will be called.
  • Properties

    • App Id
    • This property The applicaction identifier. This can be found listed under your project in the Startapp Dashboard.
      .
    • Splash Ad Enabled
    • Enables the Splash Ad. When activating the splash ad, a splash will be generated whenever our app is opened, just after showing the splash an ad will be shown.
  • Example

    • Adding Startapp Interstitial
    • In this case we added 'App Id' and method 'Load Ad' in the Event 'Initialize' from Screen.

    • Next, we use the Event 'On Received Ad' for show Ad.

    • We compile and we already have our ad: