-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 3.11.0 of the Google Mobile Ads Unity plugin
- Loading branch information
Showing
47 changed files
with
810 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
# AppLovin Adapter plugin for Google Mobile Ads SDK for Unity 3D Changelog | ||
|
||
## 1.1.0 | ||
- Supports AppLovin Android SDK version 7.7.0. | ||
- Supports AppLovin iOS SDK version 4.7.0. | ||
|
||
## 1.0.0 | ||
|
||
- First release! | ||
- Supports Android adapter version 7.4.1.1. | ||
- Supports iOS adapter version 4.4.1.1. | ||
- Supports AppLovin Android SDK version 7.4.1. | ||
- Supports AppLovin iOS SDK version 4.4.1. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
...on/AppLovin/source/plugin/Assets/GoogleMobileAds/Editor/AppLovinMediationDependencies.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
<dependencies> | ||
<androidPackages> | ||
<androidPackage spec="com.google.ads.mediation:applovin:7.4.1.1"> | ||
<androidPackage spec="com.google.ads.mediation:applovin:7.7.0.0"> | ||
</androidPackage> | ||
<androidPackage spec="com.applovin:applovin-sdk:7.4.1"> | ||
<androidPackage spec="com.applovin:applovin-sdk:7.7.0"> | ||
</androidPackage> | ||
</androidPackages> | ||
|
||
<iosPods> | ||
<iosPod name="GoogleMobileAdsMediationAppLovin" version="4.4.1.1"> | ||
<iosPod name="GoogleMobileAdsMediationAppLovin" version="4.7.0.0"> | ||
<sources> | ||
<source>https://github.com/CocoaPods/Specs</source> | ||
</sources> | ||
</iosPod> | ||
</iosPods> | ||
</dependencies> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# maio Adapter plugin for Google Mobile Ads SDK for Unity 3D Changelog | ||
|
||
## 1.0.0 | ||
|
||
- First release! | ||
- Supports Android adapter version 1.0.6.0. | ||
- Supports iOS adapter version 1.2.18.0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# maio Adapter plugin for Google Mobile Ads SDK for Unity 3D | ||
|
||
This is a plugin to be used in conjunction with the Google Mobile Ads SDK in | ||
Google Play services. For requirements, instructions, and other info, see the | ||
[maio Adapter Integration Guide](https://developers.google.com/admob/unity/mediation/maio). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
/* | ||
* Gradle file to build a Unity package to add maio mediation support to the Google Mobile Ads Unity plugin. | ||
* Usage: ./gradlew exportPackage | ||
*/ | ||
plugins { | ||
id "com.jfrog.bintray" version "1.7.3" | ||
} | ||
|
||
defaultTasks 'exportPackage' | ||
|
||
// Project level variables. | ||
project.ext { | ||
unity_exe = System.getProperty("UNITY_EXE") | ||
if (unity_exe == null || unity_exe.isEmpty()) { | ||
unity_exe = System.getenv("UNITY_EXE") | ||
} | ||
if (unity_exe == null || unity_exe.isEmpty()) { | ||
unity_exe = '/Applications/Unity/Unity.app/Contents/MacOS/Unity' | ||
} | ||
|
||
if (!file(unity_exe).exists()) { | ||
throw new GradleException('Unable to locate installation of Unity. Please create a ' + | ||
'UNITY_EXE environment variable and point it to your Unity installation.') | ||
} | ||
|
||
versionString = '1.0.0' | ||
pluginName = 'GoogleMobileAdsMaioMediation' | ||
pluginFileName = "${pluginName}.unitypackage" | ||
zipName = "${pluginName}-${versionString}" | ||
zipFileName = "${zipName}.zip" | ||
pluginSource = file('source/plugin').absolutePath | ||
pluginBuildDir = file('temp/plugin-build-dir').absolutePath | ||
buildPath = file('temp').absolutePath | ||
exportPath = file(pluginFileName).absolutePath | ||
} | ||
|
||
// Build unity package using through command line interface. | ||
// Create new unity project with files in temporary build directory and export files to a unity package. | ||
// Command line usage and arguments documented at http://docs.unity3d.com/Manual/CommandLineArguments.html. | ||
task exportPackage(type: Exec) { | ||
description = "Creates and exports the Plugin unity package" | ||
executable "${unity_exe}" | ||
args "-g.building", | ||
"-batchmode", | ||
"-projectPath", "${pluginBuildDir}", | ||
"-logFile", "temp/unity.log", | ||
"-exportPackage", | ||
"Assets/GoogleMobileAds/Editor", | ||
"Assets/Plugins", | ||
"${exportPath}", | ||
"-quit" | ||
|
||
ignoreExitValue true | ||
|
||
doLast { | ||
if (execResult.getExitValue() != 0) { | ||
copy { | ||
from "temp/" | ||
into "./" | ||
include "unity.log" | ||
} | ||
} | ||
} | ||
} | ||
|
||
task createTempBuildFolder(type: Copy) { | ||
from { "${pluginSource}" } | ||
into { "${pluginBuildDir}" } | ||
} | ||
|
||
task clearTempBuildFolder(type: Delete) { | ||
delete { "${buildPath}" } | ||
} | ||
|
||
exportPackage.dependsOn(createTempBuildFolder) | ||
exportPackage.finalizedBy(clearTempBuildFolder) | ||
|
||
/** | ||
* Delete task to delete any previously generated .zip files by makeZip task. | ||
* makeZip depends on this task. | ||
*/ | ||
task clearZip(type: Delete) { | ||
// Targets to be deleted. | ||
delete(zipFileName) | ||
} | ||
|
||
/** | ||
* Zip task to make a zip archive. This task depends on exportPackage and clearZip tasks. | ||
*/ | ||
task makeZip(type: Zip) { | ||
// Targets to be added to the zip archive. | ||
from('./' + pluginFileName, './README.md', './CHANGELOG.md') | ||
// Root directory name for the zip archive. | ||
into(zipName) | ||
// Name of the zip archive. | ||
archiveName zipFileName | ||
// Destination directory in which the archive needs to be saved. | ||
destinationDir file('.') | ||
} | ||
|
||
makeZip.dependsOn([clearZip, exportPackage]) | ||
makeZip.mustRunAfter([clearZip, exportPackage]) | ||
|
||
/** | ||
* Bintray closure needed to run the bintrayUpload task. | ||
* | ||
* Usage: | ||
* ./gradlew bintrayUpload -PbintrayUser=YOUR_BINTRAY_USER_ID -PbintrayApiKey=YOUR_BINTRAY_API_KEY | ||
* | ||
* The Bintray User ID and API key can be added to your system environment variables as BINTRAY_USER | ||
* and BINTRAY_API_KEY respectively, and the command can be reduced to: | ||
* ./gradlew bintrayUpload | ||
*/ | ||
bintray { | ||
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') | ||
: System.getenv('BINTRAY_USER') | ||
key = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') | ||
: System.getenv('BINTRAY_API_KEY') | ||
|
||
filesSpec { // 'filesSpec' is a standard Gradle CopySpec | ||
from zipFileName | ||
into "${pluginName}/${versionString}" | ||
} | ||
dryRun = false // Deploy after running. | ||
publish = false // Don't auto publish after deploying. | ||
override = false // Don't override existing version artifacts that are already published. | ||
|
||
pkg { | ||
repo = 'mobile-ads-adapters-unity' | ||
name = pluginName | ||
userOrg = 'google' | ||
desc = 'maio plugin for Google Mobile Ads Mediation.' | ||
websiteUrl = 'https://developers.google.com/admob/unity/mediation/maio' | ||
issueTrackerUrl = 'https://github.com/googleads/googleads-mobile-unity/issues' | ||
vcsUrl = 'https://github.com/googleads/googleads-mobile-unity' | ||
licenses = ['Apache-2.0'] | ||
|
||
version { | ||
name = versionString | ||
} | ||
} | ||
} | ||
|
||
bintrayUpload.dependsOn(makeZip) | ||
bintrayUpload.mustRunAfter(makeZip) |
22 changes: 22 additions & 0 deletions
22
mediation/Maio/source/plugin/Assets/GoogleMobileAds/Editor/MaioMediationDependencies.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<dependencies> | ||
<androidPackages> | ||
<androidPackage spec="com.google.ads.mediation:maio:1.0.6.0"> | ||
<repositories> | ||
<repository>https://jcenter.bintray.com/</repository> | ||
</repositories> | ||
</androidPackage> | ||
<androidPackage spec="com.maio:android-sdk:1.0.6"> | ||
<repositories> | ||
<repository>https://imobile-maio.github.io/maven</repository> | ||
</repositories> | ||
</androidPackage> | ||
</androidPackages> | ||
|
||
<iosPods> | ||
<iosPod name="GoogleMobileAdsMediationMaio" version="1.2.18.0"> | ||
<sources> | ||
<source>https://github.com/CocoaPods/Specs</source> | ||
</sources> | ||
</iosPod> | ||
</iosPods> | ||
</dependencies> |
22 changes: 22 additions & 0 deletions
22
...aio/source/plugin/Assets/Plugins/Android/GoogleMobileAdsMaioMediation/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.google.unity.mediation.maio"> | ||
|
||
<application> | ||
<activity | ||
android:name="jp.maio.sdk.android.AdFullscreenActivity" | ||
android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize" | ||
android:hardwareAccelerated="true" | ||
android:label="maiosdk" | ||
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"> | ||
<intent-filter> | ||
<data android:scheme="jp.maio.sdk.android"/> | ||
<action android:name="android.intent.action.VIEW"/> | ||
|
||
<category android:name="android.intent.category.DEFAULT"/> | ||
<category android:name="android.intent.category.BROWSABLE"/> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
|
||
</manifest> |
2 changes: 2 additions & 0 deletions
2
...Maio/source/plugin/Assets/Plugins/Android/GoogleMobileAdsMaioMediation/project.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
target=android-26 | ||
android.library=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# nend Adapter plugin for Google Mobile Ads SDK for Unity 3D Changelog | ||
|
||
## 1.0.0 | ||
|
||
- First release! | ||
- Supports nend Android SDK version 4.0.2. | ||
- Supports nend iOS SDK version 4.0.2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# nend Adapter plugin for Google Mobile Ads SDK for Unity 3D | ||
|
||
This is a plugin to be used in conjunction with the Google Mobile Ads SDK in | ||
Google Play services. For requirements, instructions, and other info, see the | ||
[nend Adapter Integration Guide](https://developers.google.com/admob/unity/mediation/nend). | ||
|
Oops, something went wrong.