// // EcpmConfigInitExporter.h // UUTUtils2.1 // // Created by zhuge on 2020/7/14. // Copyright © 2020 dym. All rights reserved. // #import 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 *maCountryAdInfos; - (float) avgEcpm; - (void) addCountryAdInfo:(EcpmCountryAdInfo*) countryAdInfo; @end NS_ASSUME_NONNULL_END