Skip to content

Commit

Permalink
Release 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mobile-ads-github committed Jul 6, 2022
1 parent 7bb1557 commit a4243d1
Show file tree
Hide file tree
Showing 19 changed files with 79 additions and 18 deletions.
1 change: 0 additions & 1 deletion Examples/YandexMobileAdsExample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ platform :ios, :deployment_target => '10.0'
target 'YandexMobileAdsExample' do
pod 'AppLovinYandexMobileAdsAdapters'
pod 'AdMobYandexMobileAdsAdapters'
pod 'FacebookYandexMobileAdsAdapters'
pod 'IronSourceYandexMobileAdsAdapters'
pod 'MyTargetYandexMobileAdsAdapters'
pod 'MintegralYandexMobileAdsAdapters'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class AdFoxBannerViewController: UIViewController {

override func viewDidLoad() {
super.viewDidLoad()
let adSize = YMAAdSize.fixedSize(with: .init(width: 320, height: 100))
let adSize = YMAAdSize.flexibleSize(with: .init(width: 320, height: 100))
// Replace demo R-M-243655-8 with actual Ad Unit ID
self.adView = YMAAdView(adUnitID: "R-M-243655-8", adSize: adSize)
self.adView.delegate = self
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@

import Foundation
import FBAudienceNetwork

class MediationTestsConfigurator {
static func enableTestMode() {
STAStartAppSDK.sharedInstance().testAdsEnabled = true
FBAdSettings.setAdvertiserTrackingEnabled(true)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ import UIKit
import YandexMobileAds

private let adMobAdUnitID = "R-M-338238-9"
private let facebookAdUnitID = "R-M-338238-12"
private let myTargetAdUnitID = "R-M-338238-11"
private let startAppAdUnitID = "R-M-338238-26"
private let yandexAdUnitID = "R-M-338238-13"

class MobileMediationBannerViewController: UIViewController {
private let adUnitIDs = [
(adapter: "AdMob", adUnitID: adMobAdUnitID),
(adapter: "Facebook", adUnitID: facebookAdUnitID),
(adapter: "myTarget", adUnitID: myTargetAdUnitID),
(adapter: "StartApp", adUnitID: startAppAdUnitID),
(adapter: "Yandex", adUnitID: yandexAdUnitID)
Expand All @@ -32,13 +30,12 @@ class MobileMediationBannerViewController: UIViewController {
}

@IBAction func loadAd(_ sender: UIButton) {
let adSize = YMAAdSize.fixedSize(with: YMAAdSizeBanner_320x50)
let adSize = YMAAdSize.flexibleSize(with: YMAAdSizeBanner_320x50)
let selectedBlockIndex = pickerView.selectedRow(inComponent: 0)
/*
Replace adUnitID with actual Ad unitt ID.
Following demo ad unit ids may be used for testing:
AdMob mediation: adMobAdUnitID
Facebook mediation: facebookAdUnitID
MyTarget mediation: myTargetAdUnitID
StartApp mediation: startAppAdUnitID
Yandex: yandexAdUnitID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import YandexMobileAds

private let adMobAdUnitID = "R-M-338238-14"
private let appLovinAdUnitID = "R-M-338238-33"
private let facebookAdUnitID = "R-M-338238-17"
private let ironSourceAdUnitID = "R-M-338238-35"
private let myTargetAdUnitID = "R-M-338238-16";
private let startAppAdUnitID = "R-M-338238-25"
Expand All @@ -21,7 +20,6 @@ class MobileMediationInterstitialViewController: UIViewController {
private let adUnitIDs = [
(adapter: "AdMob", adUnitID: adMobAdUnitID),
(adapter: "AppLovin", adUnitID: appLovinAdUnitID),
(adapter: "Facebook", adUnitID: facebookAdUnitID),
(adapter: "IronSource", adUnitID: ironSourceAdUnitID),
(adapter: "myTarget", adUnitID: myTargetAdUnitID),
(adapter: "StartApp", adUnitID: startAppAdUnitID),
Expand All @@ -46,7 +44,6 @@ class MobileMediationInterstitialViewController: UIViewController {
Following demo ad unit ids may be used for testing:
AdMob mediation: adMobAdUnitID
AppLovin mediation: appLovinAdUnitID
Facebook mediation: facebookAdUnitID
IronSource mediation: ironSourceAdUnitID
MyTarget mediation: myTargetAdUnitID
StartApp mediation: startAppAdUnitID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@
import YandexMobileAds

private let adMobAdUnitID = "R-M-338238-19"
private let facebookAdUnitID = "R-M-338238-22"
private let myTargetAdUnitID = "R-M-338238-21"
private let yandexAdUnitID = "R-M-338238-23"

class MobileMediationNativeViewController: UIViewController {
private let adUnitIDs = [
(adapter: "AdMob", adUnitID: adMobAdUnitID),
(adapter: "Facebook", adUnitID: facebookAdUnitID),
(adapter: "myTarget", adUnitID: myTargetAdUnitID),
(adapter: "Yandex", adUnitID: yandexAdUnitID)
]
Expand Down Expand Up @@ -43,7 +41,6 @@ class MobileMediationNativeViewController: UIViewController {
Replace adUnitID with actual Ad Unit ID.
Following demo ad unit ids may be used for testing:
AdMob mediation: adMobAdUnitID
Facebook mediation: facebookAdUnitID
MyTarget mediation: myTargetAdUnitID
Yandex: yandexAdUnitID
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import YandexMobileAds

private let adMobAdUnitID = "R-M-338238-1"
private let appLovinAdUnitID = "R-M-338238-34"
private let facebookAdUnitID = "R-M-338238-4"
private let ironSourceAdUnitID = "R-M-338238-36"
private let myTargetAdUnitID = "R-M-338238-3"
private let startAppAdUnitID = "R-M-338238-31"
Expand All @@ -21,7 +20,6 @@ class MobileMediationRewardedViewController: UIViewController {
private let adUnitIDs = [
(adapter: "AdMob", adUnitID: adMobAdUnitID),
(adapter: "AppLovin", adUnitID: appLovinAdUnitID),
(adapter: "Facebook", adUnitID: facebookAdUnitID),
(adapter: "IronSource", adUnitID: ironSourceAdUnitID),
(adapter: "myTarget", adUnitID: myTargetAdUnitID),
(adapter: "StartApp", adUnitID: startAppAdUnitID),
Expand All @@ -46,7 +44,6 @@ class MobileMediationRewardedViewController: UIViewController {
Following demo ad unit ids may be used for testing:
AdMob mediation: adMobAdUnitID
AppLovin mediation: appLovinAdUnitID
Facebook mediation: facebookAdUnitID
IronSource mediation: ironSourceAdUnitID
MyTarget mediation: myTargetAdUnitID
StartApp mediation: startAppAdUnitID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class BannerViewController: UIViewController {
super.viewDidLoad()

// Replace demo R-M-DEMO-320x50 with actual Ad Unit ID
let adSize = YMAAdSize.fixedSize(with: .init(width: 320, height: 50))
let adSize = YMAAdSize.flexibleSize(with: .init(width: 320, height: 50))
self.adView = YMAAdView(adUnitID: "R-M-DEMO-320x50", adSize: adSize)
self.adView.delegate = self
}
Expand Down
7 changes: 7 additions & 0 deletions changelog/adapter/admob-mobileads/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log
All notable changes to this project will be documented in this file.

## Version 5.1.0.0

#### Updated
* Added support for Yandex Mobile Ads SDK 5.1.0
* Added support for Google Mobile Ads SDK 9.6.0
* Updated minimum supported Google Mobile Ads SDK version to 9.6.0

## Version 5.0.0.1

#### Updated
Expand Down
7 changes: 7 additions & 0 deletions changelog/adapter/ironsource-mobileads/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log
All notable changes to this project will be documented in this file.

## Version 5.1.0.0

### Updated
* Added support for Yandex Mobile Ads SDK 5.1.0
* Added support for IronSource SDK 7.2.2.1
* Updated minimum supported IronSource SDK version to 7.2.2.1

## Version 5.0.0.1

### Updated
Expand Down
7 changes: 7 additions & 0 deletions changelog/mediation/mobileads-admob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log
All notable changes to this project will be documented in this file.

## Version 9.6.0.0

#### Added
* Added support for AdMob SDK version 9.6.0
* Updated minimum supported AdMob SDK version to 9.6.0
* Updated minimum supported Yandex Mobile Ads SDK version to 5.1.0

## Version 9.2.0.0

#### Added
Expand Down
7 changes: 7 additions & 0 deletions changelog/mediation/mobileads-applovin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log
All notable changes to this project will be documented in this file.

## Version 11.4.2.0

#### Added
* Added support for AppLovin sdk version 11.4.2
* Updated minimum supported AppLovin sdk version to 11.4.2
* Updated minimum supported Yandex Mobile Ads SDK version to 5.1.0

## Version 11.3.2.0

#### Added
Expand Down
5 changes: 5 additions & 0 deletions changelog/mediation/mobileads-facebook/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log
All notable changes to this project will be documented in this file.

## Version 6.9.0.1

#### Updated
* Updated minimum supported Yandex Mobile Ads SDK version to 5.1.0

## Version 6.9.0.0

#### Added
Expand Down
7 changes: 7 additions & 0 deletions changelog/mediation/mobileads-ironsource/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log
All notable changes to this project will be documented in this file.

## Version 7.2.2.0

#### Updated
* Added support for IronSource SDK version 7.2.2.1
* Updated minimum supported IronSource SDK version to 7.2.2.1
* Updated minimum supported Yandex Mobile Ads SDK version to 5.1.0

## Version 7.2.1.2

#### Updated
Expand Down
7 changes: 7 additions & 0 deletions changelog/mediation/mobileads-mintegral/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log
All notable changes to this project will be documented in this file.

## Version 7.1.7.0

#### Updated
* Added support for Mintegral SDK version 7.1.7.0
* Updated minimum supported IronSource SDK version to 7.1.7.0
* Updated minimum supported Yandex Mobile Ads SDK version to 5.1.0

## Version 7.1.0.0

#### Added
Expand Down
7 changes: 7 additions & 0 deletions changelog/mediation/mobileads-mytarget/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log
All notable changes to this project will be documented in this file.

## Version 5.15.2.0

#### Updated
* Added support for MyTarget SDK version 5.15.2
* Updated minimum supported MyTarget SDK version to 5.15.2
* Updated minimum supported Yandex Mobile Ads SDK version to 5.1.0

## Version 5.15.1.0

#### Updated
Expand Down
5 changes: 5 additions & 0 deletions changelog/mediation/mobileads-startapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log
All notable changes to this project will be documented in this file.

## Version 4.7.0.1

#### Updated
* Updated minimum supported Yandex Mobile Ads SDK version to 5.1.0

## Version 4.7.0.0

#### Updated
Expand Down
7 changes: 7 additions & 0 deletions changelog/mediation/mobileads-unityads/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log
All notable changes to this project will be documented in this file.

## Version 4.2.1.0

#### Updated
* Added support for UnityAds SDK version 4.2.1
* Updated minimum supported UnityAds SDK version to 4.2.1
* Updated minimum supported UnityAds SDK version to 5.1.0

## Version 4.1.0.0

#### Updated
Expand Down
10 changes: 10 additions & 0 deletions changelog/mobileads/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Change Log
All notable changes to this project will be documented in this file.

# Version 5.1.0

SDK archive: [**download**](https://storage.mds.yandex.net/get-ads-mobile-sdk/332493/YandexMobileAds-5.1.0-ios-9a36dc03-ad68-4ebf-ae24-c3f9c37465ed.zip)

#### Added
* Added improvements and fixes

#### Deprecated
* Deprecated `fixedSizeWithCGSize` init in `YMAAdSize`

# Version 5.0.2

SDK archive: [**download**](https://storage.mds.yandex.net/get-ads-mobile-sdk/212922/YandexMobileAds-5.0.2-ios-8197cee1-76ee-4740-a109-74d3f16e1560.zip)
Expand Down

0 comments on commit a4243d1

Please sign in to comment.