Follow

How to Set Up Tremor (SDK) as an Ad Source

Step 1: Adding an Ad Source

To add Tremor (SDK) as a mediated ad source, you will need to:

  1. Create an account with Tremor
  2. Create a Tremor (SDK) ad source on the AerServ platform using the appId available from your Tremor account

For detailed instructions on setting up an ad source, click here. After setting up your ad source, please continue to the following steps to complete the integration with your Android/iOS app.

Step 2: Android Integration

To integrate this mediated ad source to your app, you will need to:

  1. Add the provided TremorVideo.jar file to your project
  2. Update your manifest file

Step 2.1: Add TremorVideo.jar to your project

On the aerserv-android-sdk-x.xx.x-zip file download, copy the following jar file to the app/libs directory of your project:

aerserv-android-sdk/network-support/Tremor/TremorVideo.jar

Step 2.2: Update manifest file

Add the following activity to your manifest file:

<activity android:name="com.tremorvideo.sdk.android.videoad.Playvideo"
        android:configChanges="keyboardHidden|orientation|screenSize"
        android:hardwareAccelerated="false" android:exported="false">
    <intent-filter>
        <action android:name="com.tremorvideo.sdk.android.videoad.Playvideo" />
        <category android:name="android.intent.category.EMBED" />
    </intent-filter>
</activity>
 
Step 2.3: Configure Proguard (Optional)
If your application uses Proguard, you will need to include an entry for Tremor in your configuration:
 
-keep class com.tremorvideo.sdk.android.videoad.** { *; }
 
This is in addition to the other AerServ SDK classes that need to be configured. For more information, click here
 

Step 3: iOS Integration

To integrate this mediated ad source to your app, you will need to:

  1. Add the TremorVideoAd.framework file
  2. Verify or add the frameworks and libraries required by Tremor

Step 3.1: Add TremorVideoAd.framework file

On the aerserv-ios-sdk-x.xx.x-zip file download, add the following framework:

aerserv-ios-sdk/network-support/Tremor/TremorVideoAd.framework

Additionally, you can add the directory path to the above framework to the project's Build Settings for Framework Search Paths.

Step 3.2: Verify or add required frameworks and libraries

Verify or add the following frameworks and libraries:

Accounts.framework
AdSupport.framework
AssetsLibrary.framework
AudioToolbox.framework
AVFoundation.framework
CoreGraphics.framework
CoreLocation.framework
CoreMedia.framework
CoreTelephony.framework
libz.tbd
libSystem.tbd
MapKit.framework
MediaPlayer.framework
MessageUI.framework
QuartzCore.framework
SystemConfiguration.framework
Twitter.framework 

Step 4: Next Steps

Once you've completed these steps, you are now ready to test. AerServ's optimization engine will automatically return the highest paying ads to you. In order to test this integration, you can either temporarily put in a high expected CPM for this mediated ad source or you can prioritize that ad source through pinning. 

For instructions on how to find your ad source's CPM, click here.  

For instructions on how to pin your ad source, click here

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk