Adding AdMob ads to your iOS app

The App Monetization feature enables you to display ads in your mobile app. In this section, we will discuss the steps required to display Google AdMob ads on your mobile device. 

Note: You will need a Google AdMob account and Ad Unit ID for the pages you want to display your ad on. Click on the Google AdMob icon to access your account and get the Ad Unit ID. Continue to set up your ad and preview the changes in real-time on the emulator. 

iOS

The steps for setting up ads for your iOS apps are as follows:

  • Go to your AppMySite account and click on App Monetization. 
  • Select iOS to open the App Monetization screen for iOS.
  • Here you will see three screen options: Home Screen, Page List and Page or Blog Details. Turn the toggle on for the screens you want to display your ad on. 
  • Next, click on the Settings icon of the screen you want to display the ad on, and enter the following details:

Ad unit ID: Enter the Ad unit ID for this page from your Google AdMob account

Ad Position: Select where you want to place the ad on the screen (Top or Bottom)

Ad Type: Select the ad type. (Currently AppMySite only supports Banner ads)

Ad Size: Select the size of the ad (width x height = 320 x 50)

  • Repeat the above step for all the screens you want to display the ad on.
  • Click on Save when done. 
Note: Remember, you will have to enter different ad unit ids for different screens. You will get this ad unit id from your Google AdMob account. Click here for more information on displaying ads on iOS apps.