About :-
The Leading Independent Audience Platform in Digital Advertising
Millennial Media is the leading independent audience platform in digital advertising.
Our approach to audience targeting helps brands connect to consumers in powerful ways and helps developers maximize their revenue. Our robust cross-screen targeting capabilities, enabled by our unique data asset and full technology stack, deliver meaningful results for advertisers and developers.
With our mobile-first roots stretching back to 2006, Millennial Media is uniquely situated to leverage mobile as the foundation for a redefinition of what advertising can be – and what we can deliver. We build upon a mobile foundation, then deliver best-in-class solutions.
Platform :-
- Android
- iOS
- Blackberry
- Symbian
- Windows
- Brew
- Java
- Web OS
Payment Method & Terms :-
- wire
- paypal
Net 30 Day’s Payment Terms.
—> Frist Open millennialmedia Account And Get Banner ID And Interstitial ID.
After Getting All Information Start Eclipse And Create New Project.
For ad mob sdk import project from the J:\android-sdk-windows\extras\google\google_play_services\libproject
—> AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <!-- SDK Activities --> <activity android:name="com.millennialmedia.android.MMActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:configChanges="keyboardHidden|orientation|keyboard" > </activity> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
–> For Banner Ads Open Layout.xml File.
<com.millennialmedia.android.MMAdView android:id="@+id/adView" android:layout_width="320dp" android:layout_height="50dp" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" mm:width="320" mm:height="50" mm:apid="91528" />
open MyActivity.java file…
public class MyActivity extends Activity{ // The ad view object private MMInterstitial fetchAvailableDisplayInterstitial; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.interstitial_layout); // Create the adView fetchAvailableDisplayInterstitial = new MMInterstitial(this); // Set your apid fetchAvailableDisplayInterstitial.setApid("123456"); fetchAvailableDisplayInterstitial.fetch(); boolean isAdAvailable = fetchAvailableDisplayInterstitial.isAdAvailable(); boolean displayed = fetchAvailableDisplayInterstitial.display(); if(!displayed) { message = "Cached ad is not ready to view."; Toast toast = Toast.makeText(InterstitialActivity.this, message, Toast.LENGTH_SHORT); toast.show(); } } }
—> Run Your Code.
Leave a Reply