Skip to content

Commit

Permalink
Release mobile ads sdk 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mobile-ads-github committed Jan 12, 2021
1 parent 5b91e74 commit c8b1e31
Show file tree
Hide file tree
Showing 72 changed files with 815 additions and 78 deletions.
4 changes: 2 additions & 2 deletions Examples/AdMobBannerAdapterExample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ dependencies {
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.appcompat:appcompat:1.1.0'

implementation 'com.yandex.android:mobmetricalib:3.14.3'
implementation 'com.yandex.android:mobileads:3.1.1'
implementation 'com.yandex.android:mobmetricalib:3.16.2'
implementation 'com.yandex.android:mobileads:3.2.0'
implementation 'com.yandex.ads.adapter:admob-mobileads:0.6.0'

implementation 'com.google.android.gms:play-services-ads:19.3.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:name="androidx.multidex.MultiDexApplication"
android:name=".Application"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* This file is a part of the Yandex Advertising Network
*
* Version for Android (C) 2020 YANDEX
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at https://legal.yandex.com/partner_ch/
*/
package com.yandex.admobadapter.banner.sample;

import android.util.Log;

import androidx.multidex.MultiDexApplication;

import com.yandex.mobile.ads.InitializationListener;
import com.yandex.mobile.ads.MobileAds;

public class Application extends MultiDexApplication {

private static final String YANDEX_MOBILE_ADS_TAG = "YandexMobileAds";

@Override
public void onCreate() {
super.onCreate();

MobileAds.initialize(this, new InitializationListener() {
@Override
public void onInitializationCompleted() {
Log.d(YANDEX_MOBILE_ADS_TAG, "SDK initialized");
}
});
}
}
4 changes: 2 additions & 2 deletions Examples/AdMobInterstitialAdapterExample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ dependencies {
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.appcompat:appcompat:1.1.0'

implementation 'com.yandex.android:mobmetricalib:3.14.3'
implementation 'com.yandex.android:mobileads:3.1.1'
implementation 'com.yandex.android:mobmetricalib:3.16.2'
implementation 'com.yandex.android:mobileads:3.2.0'
implementation 'com.yandex.ads.adapter:admob-mobileads:0.6.0'

implementation 'com.google.android.gms:play-services-ads:19.3.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:name="androidx.multidex.MultiDexApplication"
android:name=".Application"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* This file is a part of the Yandex Advertising Network
*
* Version for Android (C) 2020 YANDEX
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at https://legal.yandex.com/partner_ch/
*/
package com.yandex.admobadapter.interstitial.sample;

import android.util.Log;

import androidx.multidex.MultiDexApplication;

import com.yandex.mobile.ads.InitializationListener;
import com.yandex.mobile.ads.MobileAds;

public class Application extends MultiDexApplication {

private static final String YANDEX_MOBILE_ADS_TAG = "YandexMobileAds";

@Override
public void onCreate() {
super.onCreate();

MobileAds.initialize(this, new InitializationListener() {
@Override
public void onInitializationCompleted() {
Log.d(YANDEX_MOBILE_ADS_TAG, "SDK initialized");
}
});
}
}
4 changes: 2 additions & 2 deletions Examples/AdMobNativeAdapterExample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ dependencies {
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.appcompat:appcompat:1.1.0'

implementation 'com.yandex.android:mobmetricalib:3.14.3'
implementation 'com.yandex.android:mobileads:3.1.1'
implementation 'com.yandex.android:mobmetricalib:3.16.2'
implementation 'com.yandex.android:mobileads:3.2.0'
implementation 'com.yandex.ads.adapter:admob-mobileads:0.6.0'

implementation 'com.google.android.gms:play-services-ads:19.3.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:name="androidx.multidex.MultiDexApplication"
android:name=".Application"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* This file is a part of the Yandex Advertising Network
*
* Version for Android (C) 2020 YANDEX
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at https://legal.yandex.com/partner_ch/
*/
package com.yandex.admobadapter.nativeads.sample;

import android.util.Log;

import androidx.multidex.MultiDexApplication;

import com.yandex.mobile.ads.InitializationListener;
import com.yandex.mobile.ads.MobileAds;

public class Application extends MultiDexApplication {

private static final String YANDEX_MOBILE_ADS_TAG = "YandexMobileAds";

@Override
public void onCreate() {
super.onCreate();

MobileAds.initialize(this, new InitializationListener() {
@Override
public void onInitializationCompleted() {
Log.d(YANDEX_MOBILE_ADS_TAG, "SDK initialized");
}
});
}
}
4 changes: 2 additions & 2 deletions Examples/AdMobRewardedAdapterExample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ dependencies {
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.appcompat:appcompat:1.1.0'

implementation 'com.yandex.android:mobmetricalib:3.14.3'
implementation 'com.yandex.android:mobileads:3.1.1'
implementation 'com.yandex.android:mobmetricalib:3.16.2'
implementation 'com.yandex.android:mobileads:3.2.0'
implementation 'com.yandex.ads.adapter:admob-mobileads:0.6.0'

implementation 'com.google.android.gms:play-services-ads:19.3.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:name="androidx.multidex.MultiDexApplication"
android:name=".Application"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<activity
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* This file is a part of the Yandex Advertising Network
*
* Version for Android (C) 2020 YANDEX
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at https://legal.yandex.com/partner_ch/
*/
package com.yandex.admobadapter.rewarded.sample;

import android.util.Log;

import androidx.multidex.MultiDexApplication;

import com.yandex.mobile.ads.InitializationListener;
import com.yandex.mobile.ads.MobileAds;

public class Application extends MultiDexApplication {

private static final String YANDEX_MOBILE_ADS_TAG = "YandexMobileAds";

@Override
public void onCreate() {
super.onCreate();

MobileAds.initialize(this, new InitializationListener() {
@Override
public void onInitializationCompleted() {
Log.d(YANDEX_MOBILE_ADS_TAG, "SDK initialized");
}
});
}
}
4 changes: 2 additions & 2 deletions Examples/BannerExample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ dependencies {
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.android.support:appcompat-v7:28.0.0'

implementation 'com.yandex.android:mobmetricalib:3.14.3'
implementation 'com.yandex.android:mobileads:3.1.1'
implementation 'com.yandex.android:mobmetricalib:3.16.2'
implementation 'com.yandex.android:mobileads:3.2.0'
}
2 changes: 1 addition & 1 deletion Examples/BannerExample/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:name="android.support.multidex.MultiDexApplication"
android:name=".Application"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* This file is a part of the Yandex Advertising Network
*
* Version for Android (C) 2020 YANDEX
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at https://legal.yandex.com/partner_ch/
*/
package com.yandex.bannerads.sample;

import android.util.Log;

import android.support.multidex.MultiDexApplication;

import com.yandex.mobile.ads.InitializationListener;
import com.yandex.mobile.ads.MobileAds;

public class Application extends MultiDexApplication {

private static final String YANDEX_MOBILE_ADS_TAG = "YandexMobileAds";

@Override
public void onCreate() {
super.onCreate();

MobileAds.initialize(this, new InitializationListener() {
@Override
public void onInitializationCompleted() {
Log.d(YANDEX_MOBILE_ADS_TAG, "SDK initialized");
}
});
}
}
4 changes: 2 additions & 2 deletions Examples/GdprExample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ dependencies {
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:preference-v14:28.0.0'

implementation 'com.yandex.android:mobmetricalib:3.14.3'
implementation 'com.yandex.android:mobileads:3.1.1'
implementation 'com.yandex.android:mobmetricalib:3.16.2'
implementation 'com.yandex.android:mobileads:3.2.0'
}
2 changes: 1 addition & 1 deletion Examples/GdprExample/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:name="android.support.multidex.MultiDexApplication"
android:name=".Application"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* This file is a part of the Yandex Advertising Network
*
* Version for Android (C) 2020 YANDEX
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at https://legal.yandex.com/partner_ch/
*/
package com.yandex.gdpr.sample;

import android.util.Log;

import android.support.multidex.MultiDexApplication;

import com.yandex.mobile.ads.InitializationListener;
import com.yandex.mobile.ads.MobileAds;

public class Application extends MultiDexApplication {

private static final String YANDEX_MOBILE_ADS_TAG = "YandexMobileAds";

@Override
public void onCreate() {
super.onCreate();

MobileAds.initialize(this, new InitializationListener() {
@Override
public void onInitializationCompleted() {
Log.d(YANDEX_MOBILE_ADS_TAG, "SDK initialized");
}
});
}
}
4 changes: 2 additions & 2 deletions Examples/InterstitialExample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ dependencies {
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.android.support:appcompat-v7:28.0.0'

implementation 'com.yandex.android:mobmetricalib:3.14.3'
implementation 'com.yandex.android:mobileads:3.1.1'
implementation 'com.yandex.android:mobmetricalib:3.16.2'
implementation 'com.yandex.android:mobileads:3.2.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:name="android.support.multidex.MultiDexApplication"
android:name=".Application"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* This file is a part of the Yandex Advertising Network
*
* Version for Android (C) 2020 YANDEX
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at https://legal.yandex.com/partner_ch/
*/
package com.yandex.interstitial.sample;

import android.util.Log;

import android.support.multidex.MultiDexApplication;

import com.yandex.mobile.ads.InitializationListener;
import com.yandex.mobile.ads.MobileAds;

public class Application extends MultiDexApplication {

private static final String YANDEX_MOBILE_ADS_TAG = "YandexMobileAds";

@Override
public void onCreate() {
super.onCreate();

MobileAds.initialize(this, new InitializationListener() {
@Override
public void onInitializationCompleted() {
Log.d(YANDEX_MOBILE_ADS_TAG, "SDK initialized");
}
});
}
}
4 changes: 2 additions & 2 deletions Examples/MoPubBannerAdapterExample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ dependencies {
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.appcompat:appcompat:1.1.0'

implementation 'com.yandex.android:mobmetricalib:3.14.3'
implementation 'com.yandex.android:mobileads:3.1.1'
implementation 'com.yandex.android:mobmetricalib:3.16.2'
implementation 'com.yandex.android:mobileads:3.2.0'
implementation 'com.yandex.ads.adapter:mopub-mobileads:0.3.0'

implementation('com.mopub:mopub-sdk-banner:5.13.1@aar') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:name="androidx.multidex.MultiDexApplication"
android:name=".Application"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
android:theme="@style/AppTheme">
Expand Down
Loading

0 comments on commit c8b1e31

Please sign in to comment.