-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b91e74
commit c8b1e31
Showing
72 changed files
with
815 additions
and
78 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
33 changes: 33 additions & 0 deletions
33
...erAdapterExample/app/src/main/java/com/yandex/admobadapter/banner/sample/Application.java
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,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"); | ||
} | ||
}); | ||
} | ||
} |
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
33 changes: 33 additions & 0 deletions
33
...terExample/app/src/main/java/com/yandex/admobadapter/interstitial/sample/Application.java
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,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"); | ||
} | ||
}); | ||
} | ||
} |
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
33 changes: 33 additions & 0 deletions
33
...dapterExample/app/src/main/java/com/yandex/admobadapter/nativeads/sample/Application.java
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,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"); | ||
} | ||
}); | ||
} | ||
} |
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
33 changes: 33 additions & 0 deletions
33
...AdapterExample/app/src/main/java/com/yandex/admobadapter/rewarded/sample/Application.java
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,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"); | ||
} | ||
}); | ||
} | ||
} |
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
33 changes: 33 additions & 0 deletions
33
Examples/BannerExample/app/src/main/java/com/yandex/bannerads/sample/Application.java
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,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"); | ||
} | ||
}); | ||
} | ||
} |
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
33 changes: 33 additions & 0 deletions
33
Examples/GdprExample/app/src/main/java/com/yandex/gdpr/sample/Application.java
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,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"); | ||
} | ||
}); | ||
} | ||
} |
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
33 changes: 33 additions & 0 deletions
33
...les/InterstitialExample/app/src/main/java/com/yandex/interstitial/sample/Application.java
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,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"); | ||
} | ||
}); | ||
} | ||
} |
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
Oops, something went wrong.