Welcome to PubNative's guite to accessing ads served by AdMob Express on your application. Below, we will guide you through setting up ad placements on the AdMob Express dashboard and connecting AdMob Express' reporting API to PubNative's unified reporting solution.
Before Getting Started
Integrate PubNative's Mediation SDK
Before we can proceed with the AdMob Express-specific steps, you need to integrate PubNative's SDK for one or more of the following ad types:
Integrate the Google Mobile Ads SDK
You also need to integrate the Google Mobile Ads SDK
Setting Up Placements via AdMob Express
Step 1
Login to https://apps.admob.com/#home with your gmail account
Step 2
Insert the name of your app in the input area-- your application should show up if it is available on the play store or on the iTunes app store.
If you can not find your app using this method, you can also add your app manually in the "add your app manually" tab to the left.
Step 3
Now, select the ad format for which you are making a placement.
The following steps are quite clear for Banner, Interstitial, and Rewarded Video, so we will provide instructions for Native.
Step 4 Native
During this step it is important to do as follows:
If you want a PubNative small ad select a small. For both medium and large PubNative-supported ad formats, select large. This is because AdMob's "Large ad" can be scaled to both PubNative's medium and large sized ad layouts.
Step 5 Native
At this point, you can select a template and then do more customization, such as specifiying the colors for the contents of the ad, defining the ad language, and previewing the appearance of your add with all the elements added together.
Here, it is a good idea to preview your customized ad with the default ad sizes outlined below.
Ad Layout Size | Dimension to be Assigned for Native |
---|---|
s | 320x80 |
m | 300x250 |
l | Full Screen (matches device screen) |
Step 6
Now you are almost done! Now make a record of your app id and ad unit id. You will have to add these into the PubNative dashboard later.
AdMob Express' Reporting API
Once integrated, you will need to add AdMob's network to PubNative's dashboard configuration and provide us access to their reports via oauth verification. This process consists of several steps due to Google policy, thus we've provided a detailed video guide below.
The following information is necessary to add AdMob ad unts to our mediation solution:
AUTHORIZED JAVASCRIPT ORIGIN: https://dashboard.pubnative.net
AUTHORIZED REDIRECT URI: https://dashboard.pubnative.net/api/v1/refresh_tokens/callback
AD UNIT ID: ca-app-pub-9176690371168943/9471837715 (EXAMPLE)
CLIENT KEY: <From google API console, after creation>
CLIENT SECRET: <From google API console, after creation>
Please let us know if you have any questions or need any support.