Skip to content

Commit

Permalink
Merge pull request #32 from yandexmobile/release-ironsource-0.2.0,rel…
Browse files Browse the repository at this point in the history
…ease-mytarget-0.4.0

Release ironsource-0.2.0 and mytarget-0.4.0
  • Loading branch information
mobile-ads-github authored Dec 27, 2019
2 parents 74b6997 + 2d81adf commit e40f066
Show file tree
Hide file tree
Showing 17 changed files with 43 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SDK archive: [**download**](https://storage.mds.yandex.net/get-ads-mobile-sdk/28
#### Updated

* Updated minimum supported version to iOS 9. Deployment target is still iOS 8, but ads will only be shown on iOS 9 and above
* Updated `YMAMediaView` to respect the aspect ratio of the content
* Updated `YMANativeMediaView` to respect the aspect ratio of the content

#### Added
* Added improvements and fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
static NSString *const kAdMobBlockID = @"adf-279013/975832";
static NSString *const kFacebookBlockID = @"adf-279013/975836";
static NSString *const kMoPubBlockID = @"adf-279013/975834";
static NSString *const kMyTargetBlockID = @"adf-279013/975835";
static NSString *const kStartAppBlockID = @"adf-279013/1006423";
static NSString *const kYandexBlockID = @"adf-279013/975838";

Expand All @@ -34,6 +35,7 @@ - (void)viewDidLoad
AdMob mediation: kAdMobBlockID
Facebook mediation: kFacebookBlockID
MoPub mediation: kMoPubBlockID
MyTarget mediation: kMyTargetBlockID
StartApp mediation: kStartAppBlockID
Yandex: kYandexBlockID
*/
Expand Down
1 change: 1 addition & 0 deletions Examples/ObjectiveC/AdFoxMediationBannerExample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ target 'AdFoxMediationBannerExample' do
pod 'AdMobYandexMobileAdsAdapters'
pod 'FacebookYandexMobileAdsAdapters'
pod 'MoPubYandexMobileAdsAdapters'
pod 'MyTargetYandexMobileAdsAdapters'
pod 'StartAppYandexMobileAdsAdapters'
pod 'YandexMobileAds'
end
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
static NSString *const kAdMobBlockID = @"adf-279013/975869";
static NSString *const kAppLovinBlockID = @"adf-279013/1052107";
static NSString *const kFacebookBlockID = @"adf-279013/975872";
static NSString *const kIronSourceBlockID = @"adf-279013/1052109";
static NSString *const kMoPubBlockID = @"adf-279013/975870";
static NSString *const kMyTargetBlockID = @"adf-279013/975871";
static NSString *const kStartAppBlockID = @"adf-279013/1006406";
static NSString *const kUnityAdsBlockID = @"adf-279013/1006439";
static NSString *const kYandexBlockID = @"adf-279013/975873";
Expand All @@ -34,7 +36,9 @@ - (void)viewDidLoad
AdMob mediation: kAdMobBlockID
AppLovin mediation: kAppLovinBlockID
Facebook mediation: kFacebookBlockID
IronSource mediation: kIronSourceBlockID
MoPub mediation: kMoPubBlockID
MyTarget mediation: kMyTargetBlockID
StartApp mediation: kStartAppBlockID
UnityAds mediation kUnityAdsBlockID
Yandex: kYandexBlockID
Expand Down
2 changes: 2 additions & 0 deletions Examples/ObjectiveC/AdFoxMediationInterstitialExample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ target 'AdFoxMediationInterstitialExample' do
pod 'AdMobYandexMobileAdsAdapters'
pod 'AppLovinYandexMobileAdsAdapters'
pod 'FacebookYandexMobileAdsAdapters'
pod 'IronSourceYandexMobileAdsAdapters'
pod 'MoPubYandexMobileAdsAdapters'
pod 'MyTargetYandexMobileAdsAdapters'
pod 'StartAppYandexMobileAdsAdapters'
pod 'UnityAdsYandexMobileAdsAdapters'
pod 'YandexMobileAds'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
static NSString *const kAdMobBlockID = @"adf-279013/975874";
static NSString *const kFacebookBlockID = @"adf-279013/975877";
static NSString *const kMoPubBlockID = @"adf-279013/975875";
static NSString *const kMyTargetBlockID = @"adf-279013/975876";
static NSString *const kYandexBlockID = @"adf-279013/975878";

@interface ViewController () <YMANativeAdLoaderDelegate, YMANativeAdDelegate>
Expand Down Expand Up @@ -43,6 +44,7 @@ - (void)viewDidLoad
AdMob mediation: kAdMobBlockID
Facebook mediation: kFacebookBlockID
MoPub mediation: kMoPubBlockID
MyTarget mediation: kMyTargetBlockID
Yandex: kYandexBlockID
*/
YMANativeAdLoaderConfiguration *configuration =
Expand Down
1 change: 1 addition & 0 deletions Examples/ObjectiveC/AdFoxMediationNativeExample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ target 'AdFoxMediationNativeExample' do
pod 'AdMobYandexMobileAdsAdapters'
pod 'FacebookYandexMobileAdsAdapters'
pod 'MoPubYandexMobileAdsAdapters'
pod 'MyTargetYandexMobileAdsAdapters'
pod 'YandexMobileAds'
end
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
static NSString *const kAdMobBlockID = @"adf-279013/966332";
static NSString *const kAppLovinBlockID = @"adf-279013/1052108";
static NSString *const kFacebookBlockID = @"adf-279013/966335";
static NSString *const kIronSourceBlockID = @"adf-279013/1052110";
static NSString *const kMoPubBlockID = @"adf-279013/966333";
static NSString *const kMyTargetBlockID = @"adf-279013/966334";
static NSString *const kStartAppBlockID = @"adf-279013/1006617";
static NSString *const kUnityAdsBlockID = @"adf-279013/1006614";
static NSString *const kYandexBlockID = @"adf-279013/967178";
Expand All @@ -32,7 +34,9 @@ - (IBAction)loadAd
AdMob mediation: kAdMobBlockID
AppLovin mediation: kAppLovinBlockID
Facebook mediation: kFacebookBlockID
IronSource mediation: kIronSourceBlockID
MoPub mediation: kMoPubBlockID
MyTarget mediation: kMyTargetBlockID
StartApp mediation: kStartAppBlockID
UnityAds mediation: kUnityAdsBlockID
Yandex: kYandexBlockID
Expand Down
2 changes: 2 additions & 0 deletions Examples/ObjectiveC/AdFoxMediationRewardedExample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ target 'AdFoxMediationRewardedExample' do
pod 'AdMobYandexMobileAdsAdapters'
pod 'AppLovinYandexMobileAdsAdapters'
pod 'FacebookYandexMobileAdsAdapters'
pod 'IronSourceYandexMobileAdsAdapters'
pod 'MoPubYandexMobileAdsAdapters'
pod 'MyTargetYandexMobileAdsAdapters'
pod 'StartAppYandexMobileAdsAdapters'
pod 'UnityAdsYandexMobileAdsAdapters'
pod 'YandexMobileAds'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class ViewController: UIViewController {
private let adMobBlockID = "adf-279013/975832"
private let facebookBlockID = "adf-279013/975836"
private let moPubBlockID = "adf-279013/975834"
private let myTargetBlockID = "adf-279013/975835"
private let startAppBlockID = "adf-279013/1006423"
private let yandexBlockID = "adf-279013/975838"

Expand All @@ -28,6 +29,7 @@ class ViewController: UIViewController {
AdMob mediation: adMobBlockID
Facebook mediation: facebookBlockID
MoPub mediation: moPubBlockID
MyTarget mediation: myTargetBlockID
StartApp mediation: startAppBlockID
Yandex: yandexBlockID
*/
Expand Down
1 change: 1 addition & 0 deletions Examples/Swift/AdFoxMediationBannerExample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ target 'AdFoxMediationBannerExample' do
pod 'AdMobYandexMobileAdsAdapters/Dynamic'
pod 'FacebookYandexMobileAdsAdapters/Dynamic'
pod 'MoPubYandexMobileAdsAdapters/Dynamic'
pod 'MyTargetYandexMobileAdsAdapters/Dynamic'
pod 'StartAppYandexMobileAdsAdapters/Dynamic'
pod 'YandexMobileAds/Dynamic'
end
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ class ViewController: UIViewController {
private let adMobBlockID = "adf-279013/975869"
private let appLovinBlockID = "adf-279013/1052107"
private let facebookBlockID = "adf-279013/975872"
private let ironSourceBlockID = "adf-279013/1052109"
private let moPubBlockID = "adf-279013/975870"
private let myTargetBlockID = "adf-279013/975871";
private let startAppBlockID = "adf-279013/1006406"
private let unityAdsBlockID = "adf-279013/1006439"
private let yandexBlockID = "adf-279013/975873"
Expand All @@ -29,7 +31,9 @@ class ViewController: UIViewController {
AdMob mediation: adMobBlockID
AppLovin mediation: appLovinBlockID
Facebook mediation: facebookBlockID
IronSource mediation: ironSourceBlockID
MoPub mediation: moPubBlockID
MyTarget mediation: myTargetBlockID
StartApp mediation: startAppBlockID
UnityAds mediation: unityAdsBlockID
Yandex: yandexBlockID
Expand Down
2 changes: 2 additions & 0 deletions Examples/Swift/AdFoxMediationInterstitialExample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ target 'AdFoxMediationInterstitialExample' do
pod 'AdMobYandexMobileAdsAdapters/Dynamic'
pod 'AppLovinYandexMobileAdsAdapters/Dynamic'
pod 'FacebookYandexMobileAdsAdapters/Dynamic'
pod 'IronSourceYandexMobileAdsAdapters/Dynamic'
pod 'MoPubYandexMobileAdsAdapters/Dynamic'
pod 'MyTargetYandexMobileAdsAdapters/Dynamic'
pod 'StartAppYandexMobileAdsAdapters/Dynamic'
pod 'UnityAdsYandexMobileAdsAdapters/Dynamic'
pod 'YandexMobileAds/Dynamic'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class ViewController: UIViewController {
private let adMobBlockID = "adf-279013/975874"
private let facebookBlockID = "adf-279013/975877"
private let moPubBlockID = "adf-279013/975875"
private let myTargetBlockID = "adf-279013/975876"
private let yandexBlockID = "adf-279013/975878"

private var contentAdView: NativeContentAdView?
Expand All @@ -31,6 +32,7 @@ class ViewController: UIViewController {
AdMob mediation: adMobBlockID
Facebook mediation: facebookBlockID
MoPub mediation: moPubBlockID
MyTarget mediation: myTargetBlockID
Yandex: yandexBlockID
*/

Expand All @@ -43,22 +45,22 @@ class ViewController: UIViewController {

private func loadAdViews() {
contentAdView = Bundle.main.loadNibNamed("NativeContentAdView",
owner: nil,
options: nil)?.first as? NativeContentAdView
owner: nil,
options: nil)?.first as? NativeContentAdView
if let myContentAdView = contentAdView {
addAdView(myContentAdView)
}

appInstallView = Bundle.main.loadNibNamed("NativeAppInstallAdView",
owner: nil,
options: nil)?.first as? NativeAppInstallAdView
owner: nil,
options: nil)?.first as? NativeAppInstallAdView
if let myAppInstallView = appInstallView {
addAdView(myAppInstallView)
}

imageAdView = Bundle.main.loadNibNamed("NativeImageAdView",
owner: nil,
options: nil)?.first as? NativeImageAdView
owner: nil,
options: nil)?.first as? NativeImageAdView
if let myImageAdView = imageAdView {
addAdView(myImageAdView)
}
Expand Down
1 change: 1 addition & 0 deletions Examples/Swift/AdFoxMediationNativeExample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ target 'AdFoxMediationNativeExample' do
pod 'AdMobYandexMobileAdsAdapters/Dynamic'
pod 'FacebookYandexMobileAdsAdapters/Dynamic'
pod 'MoPubYandexMobileAdsAdapters/Dynamic'
pod 'MyTargetYandexMobileAdsAdapters/Dynamic'
pod 'YandexMobileAds/Dynamic'
end
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ class ViewController: UIViewController, YMARewardedAdDelegate {
let adMobBlockID = "adf-279013/966332"
let appLovinBlockID = "adf-279013/1052108"
let facebookBlockID = "adf-279013/966335"
let ironSourceBlockID = "adf-279013/1052110"
let moPubBlockID = "adf-279013/966333"
let myTargetBlockID = "adf-279013/966334"
let startAppBlockID = "adf-279013/1006617"
let unityAdsBlockID = "adf-279013/1006614"
let yandexBlockID = "adf-279013/967178"
Expand All @@ -27,7 +29,9 @@ class ViewController: UIViewController, YMARewardedAdDelegate {
AdMob mediation: adMobBlockID
AppLovin mediation: appLovinBlockID
Facebook mediation: facebookBlockID
IronSource mediation: ironSourceBlockID
MoPub mediation: moPubBlockID
MyTarget mediation: myTargetBlockID
StartApp mediation: startAppBlockID
UnityAds mediation: unityAdsBlockID
Yandex: yandexBlockID
Expand Down
2 changes: 2 additions & 0 deletions Examples/Swift/AdFoxMediationRewardedExample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ target 'AdFoxMediationRewardedExample' do
pod 'AdMobYandexMobileAdsAdapters/Dynamic'
pod 'AppLovinYandexMobileAdsAdapters/Dynamic'
pod 'FacebookYandexMobileAdsAdapters/Dynamic'
pod 'IronSourceYandexMobileAdsAdapters/Dynamic'
pod 'MoPubYandexMobileAdsAdapters/Dynamic'
pod 'MyTargetYandexMobileAdsAdapters/Dynamic'
pod 'StartAppYandexMobileAdsAdapters/Dynamic'
pod 'UnityAdsYandexMobileAdsAdapters/Dynamic'
pod 'YandexMobileAds/Dynamic'
Expand Down

0 comments on commit e40f066

Please sign in to comment.