Ad Source Details:
- Ad Source:
- Ad Formats Supported: Interstitial HTML, Banner HTML, Video, SmartBanner, Rewarded Video
- Ad Source Type: SDK
- Website: https://www.google.com/admob/
- Sign Up Page: https://apps.admob.com/signup
- Support: https://support.google.com/admob/
Requirements:
How to Set Up the AdMob Ad Source
Step 1: Log on to http://platform.aerserv.com/ and click on the Ad Sources link at the top of the page.
Step 2: Click the + or the Add New Ad Source button on the page.
Step 3: Enter a Name for the ad source (example: AdMob Interstitial).
Step 4: Select AdMob (SDK) as the ad source.
Step 5: Select Interstitial HTML, Banner HTML, Video, SmartBanner, or Rewarded Video in the Ad Type drop down menu.
Step 6: Enter the following fields that are specific to the AdMob ad source:
FIELD | DESCRIPTION | REQUIRED/OPTIONAL |
---|---|---|
Ad Unit ID |
A unique ID number assigned to each of your ad units when they're created in AdMob. The ad unit ID is added to your apps code and used to identify ad requests from the ad unit. |
Required |
Step 7: Enter in the appropriate banner size in "AdMob Banner Size" field if you chose "Banner HTML" as the Ad Type.
Step 8: Enter estimated CPM (e.g. 3.50). This value is used as the default CPM, not the floor.
Step 9: Select desired Placement.
Step 10: Select Country or DMA targeting.
Step 11: Select Device targeting.
Step 12: Click Save.
Locating the AdMob Credentials
Step 1: On your AdMob dashboard, click Apps in the sidebar
Step 2: Click the name of the app associated with the ad unit. Note: If you don't see it in the list of recent apps, you can click View All Apps, then click the name of the app
Step 3: Click Ad units in the sidebar
Step 4: Click the icon in the Ad unit ID (1) column to copy the ID of the ad unit
Android
AerServ SDK |
Step 1. Add the following settings inside your application's build.gradle
:
dependencies {
compile 'com.google.android.gms:play-services-ads:10.2.1'
}
Step 2. Add the following activity to your AndroidManifest.xml
:
<activity
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
iOS
AerServ SDK |
Step 1. Add the AdMob SDK in the folder network-support/AdMob/GoogleMobileAds.framework
into your project frameworks.
Add the following libraries and frameworks to Target > Build Phases > Link Binary With Libraries:
AdSupport.framework (Set to Optional)
AudioToolbox.framework
AVFoundation.framework
CoreGraphics.framework
CoreMedia.framework
CoreMotion.framework
CoreTelephony.framework
CoreVideo.framework
EventKit.framework
EventKitUI.framework
GoogleMobilesAds.framework
GLKit.framework
JavaScriptCore.framework (Set to Optional)
MediaPlayer.framework
MessageUI.framework
OpenGLES.framework
SafariServices.framework (Set to Optional)
StoreKit.framework
SystemConfiguration.framework
MobileCoreServices.framework
Step 2. Add the following entry into your info.plist:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoadsForMedia</key>
<true/>
<key>NSAllowsArbitraryLoadsInWebContent</key>
<true/>
</dict>
Comments