12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- //
- // GDTBaseAdNetworkAdapterProtocol.h
- // GDTMobApp
- //
- // Created by royqpwang on 2019/7/25.
- // Copyright © 2019 Tencent. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "GDTAdProtocol.h"
- #import "GDTServerBiddingResult.h"
- #import "GDTPrivacyConfiguration.h"
- NS_ASSUME_NONNULL_BEGIN
- @protocol GDTBaseAdNetworkAdapterProtocol <GDTAdProtocol>
- + (void)updateAppId:(NSString *)appId extStr:(NSString *)extStr;
- + (void)updatePrivacyConfig:(GDTPrivacyConfiguration *)privacyConfig;
- - (nullable instancetype)initWithAdNetworkConnector:(id)connector
- posId:(NSString *)posId;
- - (NSString *)bidderToken;
- @optional
- - (NSInteger)eCPM;
- - (NSString *)eCPMLevel;
- - (BOOL)isContractAd;
- - (void)setServerBiddingResponse:(GDTServerBiddingResult *)result;
- //发送竞胜结果
- - (void)sendWinNotification:(NSInteger)price;
- //发送竞败结果
- - (void)sendLossNotification:(NSInteger)price reason:(NSInteger)reason adnId:(NSString *__nullable)adnId;
- //触发了展示回调后发送可计费通知
- - (void)sendExposeNotification:(NSInteger)auctionPrice;
- //设置实际结算价
- - (void)setBidECPM:(NSInteger)price;
- @end
- @protocol GDTBaseAdNetworkConnectorProtocol <NSObject>
- @optional
- - (void)adapter_adComplainSuccess:(id)adapter;
- @end
- NS_ASSUME_NONNULL_END
|