123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- //
- // EcpmConfigInitExporter.h
- // UUTUtils2.1
- //
- // Created by zhuge on 2020/7/14.
- // Copyright © 2020 dym. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- @class ProjectInfo;
- @interface EcpmConfigInitExporter : NSObject
- @property (strong) NSString *admobFilePath;
- @property (strong) NSString *facebookFilePath;
- @property (strong) ProjectInfo *projectInfo;
- - (NSString*) doExport:(ProjectInfo*)project admobFilePath:(NSString*)admobFilePath facebookFilePath:(NSString*)facebookFilePath;
- @end
- #pragma mark - Admob国家版本信息
- enum EcpmFromType {
- ADMOB, FACEBOOK,
- };
- @interface EcpmCountryAdInfo: NSObject
- @property (strong) NSString *country;
- @property (strong) NSString *adName;
- @property float ecpm;
- @property enum EcpmFromType type;
- - (instancetype) initWithAdmobLine:(NSString *)line;
- - (instancetype) initWithFacebookLine:(NSString *)line;
- @end
- @interface EcpmCountryInfo: NSObject
- @property (strong) NSString *country;
- @property (strong) NSMutableArray<EcpmCountryAdInfo*> *maCountryAdInfos;
- - (float) avgEcpm;
- - (void) addCountryAdInfo:(EcpmCountryAdInfo*) countryAdInfo;
- @end
- NS_ASSUME_NONNULL_END
|