Skip to content

Commit

Permalink
Update to 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrules44 committed Dec 2, 2024
1 parent 00a986b commit 90fcccc
Show file tree
Hide file tree
Showing 172 changed files with 40,410 additions and 15,637 deletions.
2 changes: 1 addition & 1 deletion plugins/2018.3326/android/corona.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dependencies {
implementation 'com.appodeal.ads.sdk.networks:my_target:3.3.1.0'
implementation 'com.appodeal.ads.sdk.networks:my_target:3.4.0.0'
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAdChoicesPlacement.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Andrey Seredkin on 10/02/2020.
// Copyright © 2020 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAdChoicesView.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Andrey Seredkin on 10.03.2021.
// Copyright © 2021 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAdNetworkConfigProtocol.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Andrey Seredkin on 07.04.2022.
// Copyright © 2022 VK. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAdSize.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Andrey Seredkin on 01.07.2020.
// Copyright © 2020 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAdView.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Timur on 3/22/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAppwallAdView.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Timur on 4/12/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAppwallBannerAdView.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Anton Bulankin on 15.01.15.
// Copyright (c) 2015 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGAudioData.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Timur on 2/9/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGBaseAd.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Timur on 2/1/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGBaseInterstitialAd.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Andrey Seredkin on 31.07.2020.
// Copyright © 2020 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGCachePolicy.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Andrey Seredkin on 25/02/2020.
// Copyright © 2020 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGConfig.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Andrey Seredkin on 19.01.2021.
// Copyright © 2021 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGCustomParams.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Anton Bulankin on 22.12.14.
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGIconAdView.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Andrey Seredkin on 18/02/2020.
// Copyright © 2020 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGImageData.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Timur on 2/9/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGInstreamAd.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Timur on 5/4/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down Expand Up @@ -75,6 +75,16 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property(nonatomic, readonly) NSString *advertisingLabel;

/**
@discussion Disclaimer for the banner.
*/
@property(nonatomic, readonly, nullable) NSString *disclaimer;

/**
@discussion Age restrictions for the banner.
*/
@property(nonatomic, readonly, nullable) NSString *ageRestrictions;

/**
@discussion AdChoices image.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGInstreamAdCompanionBanner.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Andrey Seredkin on 12.01.2022.
// Copyright © 2022 Mail.ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGInstreamAdPlayer.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Anton Bulankin on 21.09.16.
// Copyright © 2016 Mail.ru. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGInstreamAudioAd.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Timur on 5/25/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down Expand Up @@ -286,6 +286,13 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)skipBanner;

/**
@discussion Method to handle click with specific controller.
@param controller Instance of UIViewController.
*/
- (void)handleClickWithController:(UIViewController *)controller;

/**
@discussion Method to handle companion click.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGInstreamAudioAdPlayer.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Timur on 5/25/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGInstreamResearch.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Andrey Seredkin on 19/02/2019.
// Copyright © 2019 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGInterstitialAd.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Timur on 3/5/18.
// Copyright (c) 2018 MailRu Group. All rights reserved.
Expand Down Expand Up @@ -70,6 +70,13 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)onDisplayWithInterstitialAd:(MTRGInterstitialAd *)interstitialAd;

/**
@discussion Calls when interstitial ad failed to show.
@param interstitialAd Current ad.
*/
- (void)onFailedToShowWithInterstitialAd:(MTRGInterstitialAd *)interstitialAd;

/**
@discussion Calls on leave application while ad is showing.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGMediaAdView.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Andrey Seredkin on 19.08.16.
// Copyright © 2016 Mail.ru. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGMediaData.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Created by Timur on 2/9/18.
// Copyright (c) 2018 Mail.Ru Group. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
//
// MTRGMediationAdConfig.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Copyright (c) 2019 Mail.Ru Group. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MyTargetSDK/MTRGCustomParams.h>

@class MTRGPrivacy;
@protocol MTRGAdNetworkConfigProtocol;
#import <MyTargetSDK/MTRGMediationAdConfigProtocol.h>

NS_ASSUME_NONNULL_BEGIN

/**
@discussion Class describes configuration of mediation
*/
@interface MTRGMediationAdConfig : NSObject
@interface MTRGMediationAdConfig : NSObject <MTRGMediationAdConfigProtocol>

/**
@discussion Placement ID
Expand Down Expand Up @@ -51,7 +48,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
@discussion Instance of object MTRGPrivacy. Describes privacy settings
*/
@property(nonatomic, readonly) MTRGPrivacy *privacy;
@property(nonatomic, readonly) id <MTRGPrivacyProtocol> privacy;

/**
@discussion Additional data for mediation
Expand All @@ -75,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN
serverParams:(NSDictionary<NSString *, NSString *> *)serverParams
age:(nullable NSNumber *)age
gender:(MTRGGender)gender
privacy:(MTRGPrivacy *)privacy
privacy:(id <MTRGPrivacyProtocol>)privacy
adNetworkConfig:(nullable id <MTRGAdNetworkConfigProtocol>)adNetworkConfig;

- (instancetype)init NS_UNAVAILABLE;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
//
// MTRGMediationAdConfigProtocol.h
// myTargetSDK 5.21.8
//
// Created by Andrey Seredkin on 11.03.2024.
// Copyright © 2024 VK. All rights reserved.
//

#import <MyTargetSDK/MTRGCustomParams.h>

@protocol MTRGPrivacyProtocol;
@protocol MTRGAdNetworkConfigProtocol;

@protocol MTRGMediationAdConfigProtocol <NSObject>

/**
@discussion Placement ID
*/
@property(nonatomic, readonly, copy, nonnull) NSString *placementId;

/**
@discussion Payload
*/
@property(nonatomic, readonly, copy, nullable) NSString *payload;

/**
@discussion Server parameters
*/
@property(nonatomic, readonly, nonnull) NSDictionary<NSString *, NSString *> *serverParams;

/**
@discussion User's age
*/
@property(nonatomic, readonly, nullable) NSNumber *age;

/**
@discussion User's gender
*/
@property(nonatomic, readonly) MTRGGender gender;

/**
@discussion Instance of object MTRGPrivacy. Describes privacy settings
*/
@property(nonatomic, readonly, nonnull) id <MTRGPrivacyProtocol> privacy;

/**
@discussion Additional data for mediation
*/
@property(nonatomic, readonly, nullable) id <MTRGAdNetworkConfigProtocol> adNetworkConfig;

@end
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// MTRGMediationAdapter.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Copyright (c) 2019 Mail.Ru Group. All rights reserved.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
//
// MTRGMediationInterstitialAdAdapter.h
// myTargetSDK 5.20.1
// myTargetSDK 5.21.8
//
// Copyright (c) 2019 Mail.Ru Group. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MyTargetSDK/MTRGMediationAdapter.h>

@class MTRGMediationAdConfig;
@protocol MTRGMediationAdConfigProtocol;
@protocol MTRGMediationInterstitialAdAdapter;

NS_ASSUME_NONNULL_BEGIN
Expand Down Expand Up @@ -62,6 +62,13 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)onDisplayWithAdapter:(id <MTRGMediationInterstitialAdAdapter>)adapter;

/**
@discussion Calls when ad failed to show by adapter.
@param adapter Current adapter.
*/
- (void)onFailedToShowWithAdapter:(id <MTRGMediationInterstitialAdAdapter>)adapter;

/**
@discussion Calls on leave the application while ad is showing.
Expand Down Expand Up @@ -97,7 +104,7 @@ NS_ASSUME_NONNULL_BEGIN
@param mediationAdConfig Configuration for the adapter.
*/
- (void)loadWithMediationAdConfig:(MTRGMediationAdConfig *)mediationAdConfig;
- (void)loadWithMediationAdConfig:(id <MTRGMediationAdConfigProtocol>)mediationAdConfig NS_SWIFT_NAME(load(with:));

/**
@discussion Show on the controller.
Expand Down
Loading

0 comments on commit 90fcccc

Please sign in to comment.