admin
2022-09-04 fa05f89529e05078b29606e4beda3de5cfdce485
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//
//  GDTBaseAdNetworkAdapterProtocol.h
//  GDTMobApp
//
//  Created by royqpwang on 2019/7/25.
//  Copyright © 2019 Tencent. All rights reserved.
//
 
#import <Foundation/Foundation.h>
#import "GDTAdProtocol.h"
 
NS_ASSUME_NONNULL_BEGIN
 
@protocol GDTBaseAdNetworkAdapterProtocol <GDTAdProtocol>
 
+ (void)updateAppId:(NSString *)appId extStr:(NSString *)extStr;
 
- (nullable instancetype)initWithAdNetworkConnector:(id)connector
                                     posId:(NSString *)posId;
 
 
@optional
 
- (NSInteger)eCPM;
- (NSString *)eCPMLevel;
- (BOOL)isContractAd;
 
//发送竞胜结果
- (void)sendWinNotification:(NSInteger)price;
 
//发送竞败结果
- (void)sendLossNotification:(NSInteger)price reason:(NSInteger)reason adnId:(NSString *__nullable)adnId;
 
//设置实际结算价
- (void)setBidECPM:(NSInteger)price;
 
@end
 
@protocol GDTBaseAdNetworkConnectorProtocol <NSObject>
 
@optional
- (void)adapter_adComplainSuccess:(id)adapter;
 
@end
 
NS_ASSUME_NONNULL_END