Skip to content

Commit dd95819

Browse files
committed
3.9.0.0 Update
1 parent 5cf0d79 commit dd95819

File tree

93 files changed

+795
-275
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+795
-275
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
dependencies {
2-
implementation 'com.appodeal.ads.sdk.networks:pangle:3.4.0.0'
2+
implementation 'com.appodeal.ads.sdk.networks:pangle:3.9.0.0'
33
}
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
22
// PAGAdClientBiddingProtocol.h
3-
// Pods
3+
// Pangle Ads SDK
44
//
5-
// Created by bytedance on 2021/9/14.
5+
// Copyright 2021 ByteDance Ltd. All rights reserved.
66
//
77

88
#import <Foundation/Foundation.h>
@@ -11,14 +11,14 @@
1111

1212
@optional
1313

14-
/// invoke this method when the bidding succeeds (strongly recommended) 当竞价成功调用此方法(强烈推荐)
15-
/// @param auctionBidToWin the seccond place bidder's price 竞价方第二名的价格
14+
/// invoke this method when the bidding succeeds (strongly recommended)
15+
/// @param auctionBidToWin the seccond place bidder's price
1616
- (void)win:(nullable NSNumber*)auctionBidToWin;
1717

18-
/// invoke this method when the bidding fails (strongly recommended) 当竞价失败调用此方法(强烈推荐)
19-
/// @param auctionPrice auction price 竞价
20-
/// @param lossReason Reasons for failed bidding 失败的原因
21-
/// @param winBidder Who won the bid 谁赢了竞价
18+
/// invoke this method when the bidding fails (strongly recommended)
19+
/// @param auctionPrice auction price
20+
/// @param lossReason Reasons for failed bidding
21+
/// @param winBidder Who won the bid
2222
- (void)loss:(nullable NSNumber*)auctionPrice lossReason:(nullable NSString*)lossReason winBidder:(nullable NSString*)winBidder;
2323

2424
@end

plugins/2018.3326/iphone-sim/PAGAdSDK.framework/Headers/PAGAdDelegate.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
2-
// PAGADDelegate.h
3-
// PAGAdSDK
2+
// PAGAdDelegate.h
3+
// Pangle Ads SDK
44
//
5-
// Created by bytedance on 2022/4/7.
5+
// Copyright 2022 ByteDance Ltd. All rights reserved.
66
//
77

88
#import <Foundation/Foundation.h>
@@ -25,7 +25,7 @@ NS_ASSUME_NONNULL_BEGIN
2525
- (void)adDidDismiss:(id<PAGAdProtocol>)ad;
2626

2727
///This method is called when the ad has been show fail
28-
- (void)adDidShowFail:(id<PAGAdProtocol>)ad error:(NSError *)error;
28+
- (void)adDidShowFail:(id<PAGAdProtocol>)ad error:(NSError *)error DEPRECATED_MSG_ATTRIBUTE("This method is deprecated");
2929

3030
@end
3131

plugins/2018.3326/iphone-sim/PAGAdSDK.framework/Headers/PAGAdProtocol.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
22
// PAGAdProtocol.h
3-
// PangleSDK
3+
// Pangle Ads SDK
44
//
5-
// Created by bytedance on 2022/4/7.
5+
// Copyright 2022 ByteDance Ltd. All rights reserved.
66
//
77

88
#import <Foundation/Foundation.h>
@@ -11,9 +11,6 @@ NS_ASSUME_NONNULL_BEGIN
1111

1212
@protocol PAGAdProtocol <NSObject>
1313

14-
/// return extra info
15-
- (nullable NSDictionary *)getMediaExtraInfo DEPRECATED_MSG_ATTRIBUTE("Use getExtraInfoWithKey: method instead.");
16-
1714
/// Returns the value corresponding to the specified key
1815
/// - Parameter key: The value key
1916
- (nullable id)getExtraInfoWithKey:(NSString *)key;

plugins/2018.3326/iphone-sim/PAGAdSDK.framework/Headers/PAGAdPublicDefine.h

Lines changed: 0 additions & 18 deletions
This file was deleted.

plugins/2018.3326/iphone-sim/PAGAdSDK.framework/Headers/PAGAdSDK.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
22
// PAGAdSDK.h
3-
// PAGAdSDK
3+
// Pangle Ads SDK
44
//
5-
// Copyright © 2017年 bytedance. All rights reserved.
5+
// Copyright 2017 ByteDance Ltd. All rights reserved.
66
//
77

88
#import <UIKit/UIKit.h>
@@ -11,7 +11,6 @@
1111
#import <PAGAdSDK/PAGAdClientBiddingProtocol.h>
1212
#import <PAGAdSDK/PAGAdDelegate.h>
1313
#import <PAGAdSDK/PAGAdProtocol.h>
14-
#import <PAGAdSDK/PAGAdPublicDefine.h>
1514
#import <PAGAdSDK/PAGAdSDK.h>
1615
#import <PAGAdSDK/PAGAdSize.h>
1716
#import <PAGAdSDK/PAGAppOpenRequest.h>
@@ -38,3 +37,4 @@
3837
#import <PAGAdSDK/PAGRewardedAdDelegate.h>
3938
#import <PAGAdSDK/PAGRewardedRequest.h>
4039
#import <PAGAdSDK/PAGSdk.h>
40+
#import <PAGAdSDK/PAGBiddingRequest.h>
Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
//
22
// PAGAdSize.h
3-
// PangleAPI
3+
// Pangle Ads SDK
44
//
5-
// Created by bytedance on 2022/2/25.
5+
// Copyright 2022 ByteDance Ltd. All rights reserved.
66
//
77

88
#import <UIKit/UIKit.h>
99

1010
struct PAGAdSize {
1111
CGSize size;
12+
NSInteger type;
13+
CGFloat maxHeight;
1214
};
1315

1416
typedef struct PAGAdSize PAGBannerAdSize;
@@ -17,3 +19,29 @@ CG_EXTERN PAGBannerAdSize const kPAGBannerSize320x50;
1719
CG_EXTERN PAGBannerAdSize const kPAGBannerSize300x250;
1820
/// Only for iPad banner ad
1921
CG_EXTERN PAGBannerAdSize const kPAGBannerSize728x90;
22+
23+
// MARK: - Anchored Banner Size
24+
25+
/// Returns a PAGBannerAdSize with the given width and height to create a banner ad.
26+
/// - Parameter width: view width
27+
CG_EXTERN PAGBannerAdSize PAGCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth(CGFloat width);
28+
29+
// MARK: - Inline Adaptive Banner Size
30+
31+
/// Returns a PAGBannerAdSize with the given width and the device's current orientation height. This ad size
32+
/// allows Pangle servers to choose an optimal ad size less than or equal to the returned size. The
33+
/// exact size of the ad returned is passed through the banner's ad size delegate and is indicated
34+
/// by the banner's intrinsicContentSize. This ad size is most suitable for ads intended for scroll
35+
/// views.
36+
CG_EXTERN PAGBannerAdSize PAGCurrentOrientationInlineAdaptiveBannerAdSizeWithWidth(CGFloat width);
37+
38+
/// Returns a PAGBannerAdSize with the given width and max height. This ad size allows Pangle servers to
39+
/// choose an optimal ad size less than or equal to the returned size. The exact size of the ad
40+
/// returned is passed through the banner's ad size delegate and is indicated by the banner's
41+
/// intrinsicContentSize. This ad size is most suitable for ads intended for scroll views.
42+
///
43+
/// @param width The ad width.
44+
/// @param maxHeight The maximum height a loaded ad will have. Must be at least 32 px, but a max
45+
/// height of 50 px or higher is recommended.
46+
CG_EXTERN PAGBannerAdSize PAGInlineAdaptiveBannerAdSizeWithWidthAndMaxHeight(CGFloat width, CGFloat maxHeight);
47+

plugins/2018.3326/iphone-sim/PAGAdSDK.framework/Headers/PAGAppOpenRequest.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
22
// PAGAppOpenRequest.h
3-
// PAGAdSDK-PAGAdSDK
3+
// Pangle Ads SDK
44
//
5-
// Created by ByteDance on 2022/4/26.
5+
// Copyright 2022 ByteDance Ltd. All rights reserved.
66
//
77

88
#import "PAGRequest.h"

plugins/2018.3326/iphone-sim/PAGAdSDK.framework/Headers/PAGBannerAd.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
22
// PAGBannerAd.h
3-
// PangleAPI
3+
// Pangle Ads SDK
44
//
5-
// Created by bytedance on 2022/3/23.
5+
// Copyright 2022 ByteDance Ltd. All rights reserved.
66
//
77

88
#import <UIKit/UIKit.h>
@@ -27,6 +27,8 @@ typedef void (^PAGBannerADLoadCompletionHandler)(PAGBannerAd * _Nullable bannerA
2727
@property (nonatomic, weak, nullable) id<PAGBannerAdDelegate> delegate;
2828
/// View of the banner ad.
2929
@property (nonatomic, strong, readonly) UIView *bannerView;
30+
/// Size of the banner ad.
31+
@property (nonatomic, assign, readonly) PAGBannerAdSize adSize;
3032
/// View controller the banner ad will be presented on.
3133
@property (nonatomic, weak, readwrite) UIViewController *rootViewController;
3234

plugins/2018.3326/iphone-sim/PAGAdSDK.framework/Headers/PAGBannerAdDelegate.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//
2-
// PAGBannerADDelegate.h
3-
// PangleAPI
2+
// PAGBannerAdDelegate.h
3+
// Pangle Ads SDK
44
//
5-
// Created by bytedance on 2022/3/23.
5+
// Copyright 2022 ByteDance Ltd. All rights reserved.
66
//
77

88
#import "PAGAdDelegate.h"

0 commit comments

Comments
 (0)