spotx-mopub-android

MoPub adapter for SpotXchange

License

License

GroupId

GroupId

com.spotxchange
ArtifactId

ArtifactId

spotx-mopub-android
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

aar
Description

Description

spotx-mopub-android
MoPub adapter for SpotXchange
Project URL

Project URL

http://www.spotxchange.com/
Source Code Management

Source Code Management

https://github.com/spotxmobile/spotx-mopub-android

Download spotx-mopub-android

How to add to project

<!-- https://jarcasting.com/artifacts/com.spotxchange/spotx-mopub-android/ -->
<dependency>
    <groupId>com.spotxchange</groupId>
    <artifactId>spotx-mopub-android</artifactId>
    <version>2.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.spotxchange/spotx-mopub-android/
implementation 'com.spotxchange:spotx-mopub-android:2.0.0'
// https://jarcasting.com/artifacts/com.spotxchange/spotx-mopub-android/
implementation ("com.spotxchange:spotx-mopub-android:2.0.0")
'com.spotxchange:spotx-mopub-android:aar:2.0.0'
<dependency org="com.spotxchange" name="spotx-mopub-android" rev="2.0.0">
  <artifact name="spotx-mopub-android" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.spotxchange', module='spotx-mopub-android', version='2.0.0')
)
libraryDependencies += "com.spotxchange" % "spotx-mopub-android" % "2.0.0"
[com.spotxchange/spotx-mopub-android "2.0.0"]

Dependencies

compile (3)

Group / Artifact Type Version
com.mopub : mopub-sdk aar 3.11.0
com.google.android.gms » play-services-ads jar 7.0.0
com.spotxchange : spotx-sdk-android aar 2.0.0

Project Modules

There are no modules declared in this project.

##Who Can Use the Plugin

To use the plugin, you need to be a SpotXchange publisher and have an active account with MoPub.

Become a SpotXchange Publisher

If you are not already a SpotXchange publisher, click here to apply.

Create a MoPub Account

If you don't yet have a MoPub account, click here to sign up.

What the Plugin Does

The plugin allows the SpotX SDK and the MoPub SDK to communicate with each other seamlessly. To use this new plugin, SpotX publishers will need to integrate the SpotX SDK and the MoPub SDK into their App.

How to Install the Plugin

There are three ways to install this plugin:

Gradle Dependency (preferred)

Simply add the following to your build.gradle.

compile 'com.spotxchange:spotx-mopub-android:+'

Maven Dependency

Declare the dependency in Maven:

<dependency>
    <groupId>com.spotxchange</groupId>
    <artifactId>spotx-mopub-android</artifactId>
    <version>1.0</version>
</dependency>

As a Library Project

Download the source code and import it as a library project in Android Studio or Eclipse. The project is available from our GitHub repository here.

Get more information on how to do this here.

Configuration

Use the custom data field to pass configuration parameters to the SpotX plugin. Get more information on MoPub custom events here. The custom data is a JSON object with the following keys:

  • channel_id - Your SpotXchange publisher channel ID
  • playstore_url - URL to your app in the Google Play store.
  • app_domain - Internet domain for your app's website
  • iab_category - IAB category used to classify your app
  • in_app_browser - If true, ad interactions will be displayed in an internal browser rather than the system default

Get step-by-step instructions on how to specify parameters through the MoPub UI here.

com.spotxchange

SPOTX Mobile

Versions

Version
2.0.0
1.0.2
1.0.0