├── .gitignore
├── LICENSE
├── OMAdColonyAdapter
├── Info.plist
├── OMAdColonyAdapter.h
├── OMAdColonyAdapter.m
├── OMAdColonyClass.h
├── OMAdColonyRewardedVideo.h
├── OMAdColonyRewardedVideo.m
└── include
│ └── Empty.h
├── OMAdMobAdapter
├── Info.plist
├── OMAdMobAdapter.h
├── OMAdMobAdapter.m
├── OMAdMobBanner.h
├── OMAdMobBanner.m
├── OMAdMobBannerClass.h
├── OMAdMobClass.h
├── OMAdMobInterstitial.h
├── OMAdMobInterstitial.m
├── OMAdMobInterstitialClass.h
├── OMAdMobNative.h
├── OMAdMobNative.m
├── OMAdMobNativeAd.h
├── OMAdMobNativeAd.m
├── OMAdMobNativeClass.h
├── OMAdMobNativeView.h
├── OMAdMobNativeView.m
├── OMAdMobRewardedVideo.h
├── OMAdMobRewardedVideo.m
├── OMAdMobRewardedVideoClass.h
├── OMAdMobSplash.h
├── OMAdMobSplash.m
├── OMAdMobSplashClass.h
└── include
│ └── Empty.h
├── OMAdTimingAdapter
├── Info.plist
├── OMAdTimingAdapter.h
├── OMAdTimingAdapter.m
├── OMAdTimingBanner.h
├── OMAdTimingBanner.m
├── OMAdTimingBannerClass.h
├── OMAdTimingBid.h
├── OMAdTimingBid.m
├── OMAdTimingClass.h
├── OMAdTimingInterstitial.h
├── OMAdTimingInterstitial.m
├── OMAdTimingInterstitialClass.h
├── OMAdTimingNative.h
├── OMAdTimingNative.m
├── OMAdTimingNativeAd.h
├── OMAdTimingNativeAd.m
├── OMAdTimingNativeClass.h
├── OMAdTimingNativeView.h
├── OMAdTimingNativeView.m
├── OMAdTimingRewardedVideo.h
├── OMAdTimingRewardedVideo.m
├── OMAdTimingRewardedVideoClass.h
└── include
│ └── Empty.h
├── OMAdmostAdapter
├── Info.plist
├── OMAdMostNativeAdView.h
├── OMAdMostNativeAdView.m
├── OMAdmostAdapter.h
├── OMAdmostAdapter.m
├── OMAdmostBanner.h
├── OMAdmostBanner.m
├── OMAdmostBannerClass.h
├── OMAdmostBid.h
├── OMAdmostBid.m
├── OMAdmostClass.h
├── OMAdmostInterstitial.h
├── OMAdmostInterstitial.m
├── OMAdmostInterstitialClass.h
├── OMAdmostNative.h
├── OMAdmostNative.m
├── OMAdmostRewardedVideo.h
├── OMAdmostRewardedVideo.m
├── OMAdmostRewardedVideoClass.h
└── include
│ └── Empty.h
├── OMAppLovinAdapter
├── Info.plist
├── OMAppLovinAdapter.h
├── OMAppLovinAdapter.m
├── OMAppLovinBanner.h
├── OMAppLovinBanner.m
├── OMAppLovinBannerClass.h
├── OMAppLovinClass.h
├── OMAppLovinInterstitial.h
├── OMAppLovinInterstitial.m
├── OMAppLovinInterstitialClass.h
├── OMAppLovinRewardedVideo.h
├── OMAppLovinRewardedVideo.m
├── OMAppLovinRewardedVideoClass.h
└── include
│ └── Empty.h
├── OMChartboostAdapter
├── Info.plist
├── OMChartboostAdapter.h
├── OMChartboostAdapter.m
├── OMChartboostClass.h
├── OMChartboostInterstitial.h
├── OMChartboostInterstitial.m
├── OMChartboostRewardedVideo.h
├── OMChartboostRewardedVideo.m
└── include
│ └── Empty.h
├── OMFacebookAdapter
├── Info.plist
├── OMFacebookAdapter.h
├── OMFacebookAdapter.m
├── OMFacebookBanner.h
├── OMFacebookBanner.m
├── OMFacebookBannerClass.h
├── OMFacebookBid.h
├── OMFacebookBid.m
├── OMFacebookBidClass.h
├── OMFacebookClass.h
├── OMFacebookInterstitial.h
├── OMFacebookInterstitial.m
├── OMFacebookInterstitialClass.h
├── OMFacebookNative.h
├── OMFacebookNative.m
├── OMFacebookNativeAd.h
├── OMFacebookNativeAd.m
├── OMFacebookNativeClass.h
├── OMFacebookNativeView.h
├── OMFacebookNativeView.m
├── OMFacebookRewardedVideo.h
├── OMFacebookRewardedVideo.m
├── OMFacebookRewardedVideoClass.h
└── include
│ └── Empty.h
├── OMFyberAdapter
├── Info.plist
├── OMFyberAdapter.h
├── OMFyberAdapter.m
├── OMFyberBanner.h
├── OMFyberBanner.m
├── OMFyberBannerClass.h
├── OMFyberClass.h
└── include
│ └── Empty.h
├── OMGoogleAdAdapter
├── Info.plist
├── OMGoogleAdAdapter.h
├── OMGoogleAdAdapter.m
├── OMGoogleAdBanner.h
├── OMGoogleAdBanner.m
├── OMGoogleAdBannerClass.h
├── OMGoogleAdClass.h
├── OMGoogleAdInterstitial.h
├── OMGoogleAdInterstitial.m
├── OMGoogleAdInterstitialClass.h
├── OMGoogleAdNative.h
├── OMGoogleAdNative.m
├── OMGoogleAdNativeAd.h
├── OMGoogleAdNativeAd.m
├── OMGoogleAdNativeClass.h
├── OMGoogleAdNativeView.h
├── OMGoogleAdNativeView.m
├── OMGoogleAdRewardedVideo.h
├── OMGoogleAdRewardedVideo.m
├── OMGoogleAdRewardedVideoClass.h
├── OMGoogleAdSplash.h
├── OMGoogleAdSplash.m
├── OMGoogleAdSplashClass.h
└── include
│ └── Empty.h
├── OMHeliumAdapter
├── Info.plist
├── OMHeliumAdapter.h
├── OMHeliumAdapter.m
├── OMHeliumBid.h
├── OMHeliumBid.m
├── OMHeliumClass.h
├── OMHeliumInterstitial.h
├── OMHeliumInterstitial.m
├── OMHeliumRewardedVideo.h
├── OMHeliumRewardedVideo.m
├── OMHeliumRouter.h
├── OMHeliumRouter.m
└── include
│ └── Empty.h
├── OMInMobiAdapter
├── Info.plist
├── OMInMobiAdapter.h
├── OMInMobiAdapter.m
├── OMInMobiBanner.h
├── OMInMobiBanner.m
├── OMInMobiBannerClass.h
├── OMInMobiBid.h
├── OMInMobiBid.m
├── OMInMobiClass.h
├── OMInMobiInterstitial.h
├── OMInMobiInterstitial.m
├── OMInMobiInterstitialClass.h
├── OMInMobiRewardedVideo.h
├── OMInMobiRewardedVideo.m
└── include
│ └── Empty.h
├── OMIronSourceAdapter
├── Info.plist
├── OMIronSourceAdapter.h
├── OMIronSourceAdapter.m
├── OMIronSourceBanner.h
├── OMIronSourceBanner.m
├── OMIronSourceClass.h
├── OMIronSourceInterstitial.h
├── OMIronSourceInterstitial.m
├── OMIronSourceRewardedVideo.h
├── OMIronSourceRewardedVideo.m
├── OMIronSourceRouter.h
├── OMIronSourceRouter.m
└── include
│ └── Empty.h
├── OMKuaiShouAdapter
├── Info.plist
├── OMKuaiShouAdapter.h
├── OMKuaiShouAdapter.m
├── OMKuaiShouAdapterClass.h
├── OMKuaiShouInterstitial.h
├── OMKuaiShouInterstitial.m
├── OMKuaiShouInterstitialClass.h
├── OMKuaiShouRewardedVideo.h
├── OMKuaiShouRewardedVideo.m
├── OMKuaiShouRewardedVideoClass.h
└── include
│ └── Empty.h
├── OMMintegralAdapter
├── Info.plist
├── OMMintegralAdapter.h
├── OMMintegralAdapter.m
├── OMMintegralBanner.h
├── OMMintegralBanner.m
├── OMMintegralBannerClass.h
├── OMMintegralBid.h
├── OMMintegralBid.m
├── OMMintegralBidClass.h
├── OMMintegralClass.h
├── OMMintegralInterstitial.h
├── OMMintegralInterstitial.m
├── OMMintegralInterstitialClass.h
├── OMMintegralNative.h
├── OMMintegralNative.m
├── OMMintegralNativeAd.h
├── OMMintegralNativeAd.m
├── OMMintegralNativeClass.h
├── OMMintegralNativeView.h
├── OMMintegralNativeView.m
├── OMMintegralRewardedVideo.h
├── OMMintegralRewardedVideo.m
├── OMMintegralRewardedVideoClass.h
├── OMMintegralRouter.h
├── OMMintegralRouter.m
├── OMMintegralSplash.h
├── OMMintegralSplash.m
├── OMMintegralSplashClass.h
└── include
│ └── Empty.h
├── OMMoPubAdapter
├── Info.plist
├── OMMopubAdapter.h
├── OMMopubAdapter.m
├── OMMopubBanner.h
├── OMMopubBanner.m
├── OMMopubBannerClass.h
├── OMMopubClass.h
├── OMMopubInterstitial.h
├── OMMopubInterstitial.m
├── OMMopubInterstitialClass.h
├── OMMopubNative.h
├── OMMopubNative.m
├── OMMopubNativeAd.h
├── OMMopubNativeAd.m
├── OMMopubNativeClass.h
├── OMMopubNativeView.h
├── OMMopubNativeView.m
├── OMMopubRewardedVideo.h
├── OMMopubRewardedVideo.m
├── OMMopubRewardedVideoClass.h
└── include
│ └── Empty.h
├── OMPangleAdapter
├── Info.plist
├── OMPangleAdapter.h
├── OMPangleAdapter.m
├── OMPangleBanner.h
├── OMPangleBanner.m
├── OMPangleBannerClass.h
├── OMPangleClass.h
├── OMPangleInterstitial.h
├── OMPangleInterstitial.m
├── OMPangleInterstitialClass.h
├── OMPangleNative.h
├── OMPangleNative.m
├── OMPangleNativeAd.h
├── OMPangleNativeAd.m
├── OMPangleNativeClass.h
├── OMPangleNativeView.h
├── OMPangleNativeView.m
├── OMPangleRewardedVideo.h
├── OMPangleRewardedVideo.m
├── OMPangleRewardedVideoClass.h
├── OMPangleSplash.h
├── OMPangleSplash.m
├── OMPangleSplashClass.h
└── include
│ └── Empty.h
├── OMPubNativeAdapter
├── Info.plist
├── OMPubNativeAdapter.h
├── OMPubNativeAdapter.m
├── OMPubNativeBanner.h
├── OMPubNativeBanner.m
├── OMPubNativeBid.h
├── OMPubNativeBid.m
├── OMPubNativeClass.h
├── OMPubNativeInterstitial.h
├── OMPubNativeInterstitial.m
├── OMPubNativeInterstitialClass.h
├── OMPubNativeNative.h
├── OMPubNativeNative.m
├── OMPubNativeNativeAd.h
├── OMPubNativeNativeAd.m
├── OMPubNativeNativeClass.h
├── OMPubNativeNativeView.h
├── OMPubNativeNativeView.m
├── OMPubNativeRewardedVideo.h
├── OMPubNativeRewardedVideo.m
├── OMPubNativeRewardedVideoClass.h
└── include
│ └── Empty.h
├── OMSigMobAdapter
├── Info.plist
├── OMSigMobAdapter.h
├── OMSigMobAdapter.m
├── OMSigMobClass.h
├── OMSigMobInterstitial.h
├── OMSigMobInterstitial.m
├── OMSigMobInterstitialClass.h
├── OMSigMobRewardedVideo.h
├── OMSigMobRewardedVideo.m
├── OMSigMobRewardedVideoClass.h
└── include
│ └── Empty.h
├── OMTapjoyAdapter
├── Info.plist
├── OMTapjoyAdapter.h
├── OMTapjoyAdapter.m
├── OMTapjoyClass.h
├── OMTapjoyRewardedVideo.h
├── OMTapjoyRewardedVideo.m
└── include
│ └── Empty.h
├── OMTencentAdAdapter
├── Info.plist
├── OMTencentAdAdapter.h
├── OMTencentAdAdapter.m
├── OMTencentAdBanner.h
├── OMTencentAdBanner.m
├── OMTencentAdBannerClass.h
├── OMTencentAdClass.h
├── OMTencentAdInterstitial.h
├── OMTencentAdInterstitial.m
├── OMTencentAdInterstitialClass.h
├── OMTencentAdNative.h
├── OMTencentAdNative.m
├── OMTencentAdNativeAd.h
├── OMTencentAdNativeAd.m
├── OMTencentAdNativeClass.h
├── OMTencentAdNativeView.h
├── OMTencentAdNativeView.m
├── OMTencentAdRewardedVideo.h
├── OMTencentAdRewardedVideo.m
├── OMTencentAdRewardedVideoClass.h
├── OMTencentAdSplash.h
├── OMTencentAdSplash.m
├── OMTencentAdSplashClass.h
└── include
│ └── Empty.h
├── OMUnityAdapter
├── Info.plist
├── OMUnityAdapter.h
├── OMUnityAdapter.m
├── OMUnityBanner.h
├── OMUnityBanner.m
├── OMUnityBannerClass.h
├── OMUnityClass.h
├── OMUnityRewardedVideo.h
├── OMUnityRewardedVideo.m
├── OMUnityRouter.h
├── OMUnityRouter.m
└── include
│ └── Empty.h
├── OMVungleAdapter
├── Info.plist
├── OMVungleAdapter.h
├── OMVungleAdapter.m
├── OMVungleBanner.h
├── OMVungleBanner.m
├── OMVungleBid.h
├── OMVungleBid.m
├── OMVungleClass.h
├── OMVungleInterstitial.h
├── OMVungleInterstitial.m
├── OMVungleRewardedVideo.h
├── OMVungleRewardedVideo.m
└── include
│ └── Empty.h
├── OpenMediation.xcodeproj
├── project.pbxproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
└── xcshareddata
│ └── xcschemes
│ ├── OpenMediation.xcscheme
│ └── OpenMediationDemo.xcscheme
├── OpenMediation
├── Info.plist
├── OpenMediation.h
├── OpenMediation.m
├── OpenMediation.modulemap
├── OpenMediationAdFormats.h
├── OpenMediationBanner
│ ├── OMBanner.h
│ ├── OMBanner.m
│ ├── OMBannerAd.h
│ ├── OMBannerAd.m
│ └── OMBannerDelegate.h
├── OpenMediationBid
│ ├── OMBid.h
│ ├── OMBid.m
│ ├── OMBidCustomEvent.h
│ ├── OMBidNetworkItem.h
│ ├── OMBidNetworkItem.m
│ ├── OMBidResponse.h
│ └── OMBidResponse.m
├── OpenMediationConstant.h
├── OpenMediationCrossPromotion
│ ├── OMCrossPromotion.h
│ ├── OMCrossPromotion.m
│ ├── OMCrossPromotionAd.h
│ ├── OMCrossPromotionAd.m
│ ├── OMCrossPromotionAdDelegate.h
│ └── OMCrossPromotionDelegate.h
├── OpenMediationCustomEvent
│ ├── OMBannerCustomEvent.h
│ ├── OMCrossPromotionCustomEvent.h
│ ├── OMCustomEventDelegate.h
│ ├── OMInterstitialCustomEvent.h
│ ├── OMMediatedNativeAd.h
│ ├── OMMediationAdapter.h
│ ├── OMNativeCustomEvent.h
│ ├── OMNativeViewCustomEvent.h
│ ├── OMRewardedVideoCustomEvent.h
│ └── OMSplashCustomEvent.h
├── OpenMediationImpressionData
│ ├── OMImpressionData.h
│ ├── OMImpressionData.m
│ ├── OMImpressionDataDelegate.h
│ ├── OMImpressionDataRouter.h
│ └── OMImpressionDataRouter.m
├── OpenMediationInterstitial
│ ├── OMInterstitial.h
│ ├── OMInterstitial.m
│ ├── OMInterstitialAd.h
│ ├── OMInterstitialAd.m
│ └── OMInterstitialDelegate.h
├── OpenMediationModel
│ ├── OMConfig.h
│ ├── OMConfig.m
│ ├── OMInstance.h
│ ├── OMInstance.m
│ ├── OMModelUmbrella.h
│ ├── OMScene.h
│ ├── OMScene.m
│ ├── OMUnit.h
│ └── OMUnit.m
├── OpenMediationNative
│ ├── OMNative.h
│ ├── OMNative.m
│ ├── OMNativeAd.h
│ ├── OMNativeAd.m
│ ├── OMNativeAdView.h
│ ├── OMNativeAdView.m
│ ├── OMNativeDelegate.h
│ ├── OMNativeManager.h
│ ├── OMNativeManager.m
│ ├── OMNativeMediaView.h
│ ├── OMNativeMediaView.m
│ ├── OMNativeView.h
│ └── OMNativeView.m
├── OpenMediationNetwork
│ ├── OMBaseRequest.h
│ ├── OMBaseRequest.m
│ ├── OMCDRequest.h
│ ├── OMCDRequest.m
│ ├── OMErrorRequest.h
│ ├── OMErrorRequest.m
│ ├── OMEventRequest.h
│ ├── OMEventRequest.m
│ ├── OMIAPRequest.h
│ ├── OMIAPRequest.m
│ ├── OMIcRequest.h
│ ├── OMIcRequest.m
│ ├── OMInitRequest.h
│ ├── OMInitRequest.m
│ ├── OMLrRequest.h
│ ├── OMLrRequest.m
│ ├── OMNetworkUmbrella.h
│ ├── OMRequest.h
│ ├── OMRequest.m
│ ├── OMWaterfallRequest.h
│ └── OMWaterfallRequest.m
├── OpenMediationPromotion
│ ├── OMCrossPromotionBanner.h
│ ├── OMCrossPromotionBanner.m
│ ├── OMCrossPromotionBid.h
│ ├── OMCrossPromotionBid.m
│ ├── OMCrossPromotionCP.h
│ ├── OMCrossPromotionCP.m
│ ├── OMCrossPromotionCacheFile.h
│ ├── OMCrossPromotionCacheFile.m
│ ├── OMCrossPromotionCampaign.h
│ ├── OMCrossPromotionCampaign.m
│ ├── OMCrossPromotionCampaignManager.h
│ ├── OMCrossPromotionCampaignManager.m
│ ├── OMCrossPromotionCampaignModel.h
│ ├── OMCrossPromotionCampaignModel.m
│ ├── OMCrossPromotionClRequest.h
│ ├── OMCrossPromotionClRequest.m
│ ├── OMCrossPromotionClickHandler.h
│ ├── OMCrossPromotionClickHandler.m
│ ├── OMCrossPromotionDownloadManager.h
│ ├── OMCrossPromotionDownloadManager.m
│ ├── OMCrossPromotionDownloader.h
│ ├── OMCrossPromotionDownloader.m
│ ├── OMCrossPromotionExposureMonitor.h
│ ├── OMCrossPromotionExposureMonitor.m
│ ├── OMCrossPromotionHTTPCacheControl.h
│ ├── OMCrossPromotionHTTPCacheControl.m
│ ├── OMCrossPromotionJSBridge.h
│ ├── OMCrossPromotionJSBridge.m
│ ├── OMCrossPromotionNative.h
│ ├── OMCrossPromotionNative.m
│ ├── OMCrossPromotionNativeAd.h
│ ├── OMCrossPromotionNativeAd.m
│ ├── OMCrossPromotionNativeMediaView.h
│ ├── OMCrossPromotionNativeMediaView.m
│ ├── OMCrossPromotionNativeView.h
│ ├── OMCrossPromotionNativeView.m
│ ├── OMCrossPromotionRewardedVideo.h
│ ├── OMCrossPromotionRewardedVideo.m
│ ├── OMCrossPromotionVideoController.h
│ ├── OMCrossPromotionVideoController.m
│ ├── OMCrossPromotionWebController.h
│ ├── OMCrossPromotionWebController.m
│ ├── OMPromotionConfig.h
│ ├── OMPromotionConfig.m
│ ├── OMPromotionUnit.h
│ └── OMPromotionUnit.m
├── OpenMediationRewardedVideo
│ ├── OMRewardedVideo.h
│ ├── OMRewardedVideo.m
│ ├── OMRewardedVideoAd.h
│ ├── OMRewardedVideoAd.m
│ └── OMRewardedVideoDelegate.h
├── OpenMediationSegments
│ ├── OMAdBase.h
│ ├── OMAdBase.m
│ ├── OMAdBasePrivate.h
│ ├── OMAdSingletonInterface.h
│ ├── OMAdSingletonInterface.m
│ ├── OMAdSingletonInterfacePrivate.h
│ ├── OMEventManager.h
│ ├── OMEventManager.m
│ ├── OMHybridLoad.h
│ ├── OMHybridLoad.m
│ ├── OMInstanceContainer.h
│ ├── OMInstanceContainer.m
│ ├── OMLoad.h
│ ├── OMLoad.m
│ ├── OMLoadFrequencryControl.h
│ ├── OMLoadFrequencryControl.m
│ ├── OMMediations.h
│ ├── OMMediations.m
│ ├── OMSmartLoad.h
│ ├── OMSmartLoad.m
│ ├── OMUserData.h
│ └── OMUserData.m
├── OpenMediationSplash
│ ├── OMSplash.h
│ ├── OMSplash.m
│ ├── OMSplashAd.h
│ ├── OMSplashAd.m
│ └── OMSplashDelegate.h
├── OpenMediationTool
│ ├── NSData+OMGzip.h
│ ├── NSData+OMGzip.m
│ ├── NSDate+OMExtension.h
│ ├── NSDate+OMExtension.m
│ ├── NSError+OMExtension.h
│ ├── NSError+OMExtension.m
│ ├── NSNumber+OMExtension.h
│ ├── NSNumber+OMExtension.m
│ ├── NSString+OMEncrypt.h
│ ├── NSString+OMEncrypt.m
│ ├── NSString+OMExtension.h
│ ├── NSString+OMExtension.m
│ ├── OMBacktrace.h
│ ├── OMBacktrace.m
│ ├── OMCrashHandle.h
│ ├── OMCrashHandle.m
│ ├── OMDependTask.h
│ ├── OMDependTask.m
│ ├── OMError.h
│ ├── OMError.m
│ ├── OMExposureMonitor.h
│ ├── OMExposureMonitor.m
│ ├── OMKeychain.h
│ ├── OMKeychain.m
│ ├── OMLogMoudle.h
│ ├── OMLogMoudle.m
│ ├── OMMacros.h
│ ├── OMNetMonitor.h
│ ├── OMNetMonitor.m
│ ├── OMReachability+OMExtentsion.h
│ ├── OMReachability+OMExtentsion.m
│ ├── OMReachability.h
│ ├── OMReachability.m
│ ├── OMSDKError.h
│ ├── OMSDKError.m
│ ├── OMToolUmbrella.h
│ ├── OMWeakObject.h
│ ├── OMWeakObject.m
│ ├── UIDevice+OMExtension.h
│ ├── UIDevice+OMExtension.m
│ ├── UIView+OMExtentsion.h
│ ├── UIView+OMExtentsion.m
│ ├── UIViewController+OMExtension.h
│ └── UIViewController+OMExtension.m
├── OpenMediationUmbrella.h
└── include
│ ├── OMAdBase.h
│ ├── OMAdSingletonInterface.h
│ ├── OMBanner.h
│ ├── OMBannerDelegate.h
│ ├── OMCrossPromotion.h
│ ├── OMCrossPromotionDelegate.h
│ ├── OMImpressionData.h
│ ├── OMImpressionDataDelegate.h
│ ├── OMInterstitial.h
│ ├── OMInterstitialDelegate.h
│ ├── OMNative.h
│ ├── OMNativeAd.h
│ ├── OMNativeDelegate.h
│ ├── OMNativeMediaView.h
│ ├── OMNativeView.h
│ ├── OMRewardedVideo.h
│ ├── OMRewardedVideoDelegate.h
│ ├── OMScene.h
│ ├── OMSplash.h
│ ├── OMSplashDelegate.h
│ ├── OpenMediation.h
│ ├── OpenMediationAdFormats.h
│ └── OpenMediation_Ref.h
├── OpenMediationDemo
├── AppDelegate.h
├── AppDelegate.m
├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-1024.png
│ │ ├── Icon-20.png
│ │ ├── Icon-20@2x-1.png
│ │ ├── Icon-20@2x.png
│ │ ├── Icon-20@3x.png
│ │ ├── Icon-29.png
│ │ ├── Icon-29@2x-1.png
│ │ ├── Icon-29@2x.png
│ │ ├── Icon-29@3x.png
│ │ ├── Icon-40.png
│ │ ├── Icon-40@2x-1.png
│ │ ├── Icon-40@2x.png
│ │ ├── Icon-40@3x.png
│ │ ├── Icon-60@2x.png
│ │ ├── Icon-60@3x.png
│ │ ├── Icon-76.png
│ │ ├── Icon-76@2x.png
│ │ └── Icon-83.5@2x.png
│ ├── Contents.json
│ ├── noSelectIcon.imageset
│ │ ├── Contents.json
│ │ ├── noSelectIcon@2x.png
│ │ └── noSelectIcon@3x.png
│ └── selectIcon.imageset
│ │ ├── Contents.json
│ │ ├── selectIcon@2x.png
│ │ └── selectIcon@3x.png
├── BannerViewController.h
├── BannerViewController.m
├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
├── BaseViewController.h
├── BaseViewController.m
├── CrossPromotionViewController.h
├── CrossPromotionViewController.m
├── CustomXibs
│ ├── AdmostCustomNative4937-inter.xib
│ ├── AdmostCustomNative4937.xib
│ ├── AdmostCustomNative5950.xib
│ ├── amr-adchoices.png
│ ├── native_int_close.png
│ └── random-grey-variations.png
├── Info.plist
├── InitSettingViewController.h
├── InitSettingViewController.m
├── InterstitialViewController.h
├── InterstitialViewController.m
├── MainViewController.h
├── MainViewController.m
├── NativeViewController.h
├── NativeViewController.m
├── RewardedVideoViewController.h
├── RewardedVideoViewController.m
├── SplashViewController.h
├── SplashViewController.m
├── WelcomeViewController.h
├── WelcomeViewController.m
└── main.m
├── OpenMediationSwiftDemo
├── AppDelegate.swift
├── Assets.xcassets
│ ├── AccentColor.colorset
│ │ └── Contents.json
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-1024.png
│ │ ├── Icon-20.png
│ │ ├── Icon-20@2x-1.png
│ │ ├── Icon-20@2x.png
│ │ ├── Icon-20@3x.png
│ │ ├── Icon-29.png
│ │ ├── Icon-29@2x-1.png
│ │ ├── Icon-29@2x.png
│ │ ├── Icon-29@3x.png
│ │ ├── Icon-40.png
│ │ ├── Icon-40@2x-1.png
│ │ ├── Icon-40@2x.png
│ │ ├── Icon-40@3x.png
│ │ ├── Icon-60@2x.png
│ │ ├── Icon-60@3x.png
│ │ ├── Icon-76.png
│ │ ├── Icon-76@2x.png
│ │ └── Icon-83.5@2x.png
│ └── Contents.json
├── BannerViewController.swift
├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
├── CrossPromotViewController.swift
├── Info.plist
├── InterstitialViewController.swift
├── NativeViewController.swift
├── SplashViewController.swift
├── VideoViewController.swift
├── ViewController.swift
└── WelcomeViewController.swift
├── Package.swift
├── Podfile
└── README.md
/OMAdColonyAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMAdColonyAdapter/OMAdColonyAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMAdColonyClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | static NSString * const AdColonyAdapterVersion = @"2.0.7";
11 |
12 | @interface OMAdColonyAdapter : NSObject
13 |
14 | + (NSString*)adapterVerison;
15 |
16 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
17 | + (void)setConsent:(BOOL)consent;
18 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
19 | + (void)setUserAgeRestricted:(BOOL)restricted;
20 | + (void)setUserAge:(NSInteger)userAge;
21 | + (void)setUserGender:(NSInteger)userGender;
22 | + (NSInteger)getUserAge;
23 | + (NSInteger)getUserGender;
24 |
25 | @end
26 |
27 | NS_ASSUME_NONNULL_END
28 |
--------------------------------------------------------------------------------
/OMAdColonyAdapter/OMAdColonyRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMAdColonyClass.h"
6 | #import "OMRewardedVideoCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMAdColonyRewardedVideo : NSObject
11 | @property (nonatomic, copy) NSString *pid;
12 | @property (nonatomic, strong) AdColonyInterstitial *adColonyAd;
13 | @property (nonatomic, weak) id delegate;
14 | @property (nonatomic, strong) AdColonyZone *zone;
15 |
16 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
17 | - (void)loadAd;
18 | - (BOOL)isReady;
19 | - (void)show:(UIViewController*)vc;
20 | @end
21 |
22 | NS_ASSUME_NONNULL_END
23 |
--------------------------------------------------------------------------------
/OMAdColonyAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMAdMobAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMAdMobAdapter/OMAdMobAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMAdMobClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMAdMobAdapter : NSObject
11 |
12 | + (NSString*)adapterVerison;
13 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
14 | + (void)setConsent:(BOOL)consent;
15 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
16 | + (void)setUserAgeRestricted:(BOOL)restricted;
17 | + (BOOL)npaAd;
18 | @end
19 |
20 | NS_ASSUME_NONNULL_END
21 |
--------------------------------------------------------------------------------
/OMAdMobAdapter/OMAdMobBanner.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import
6 | #import "OMBannerCustomEvent.h"
7 | #import "OMAdMobBannerClass.h"
8 |
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMAdMobBanner : UIView
13 |
14 | @property(nonatomic, weak, nullable) id delegate;
15 | @property (nonatomic, strong) GADBannerView *admobBannerView;
16 | - (instancetype)initWithFrame:(CGRect)frame adParameter:(NSDictionary *)adParameter rootViewController:(UIViewController *)rootViewController;
17 | - (void)loadAd;
18 | @end
19 |
20 | NS_ASSUME_NONNULL_END
21 |
--------------------------------------------------------------------------------
/OMAdMobAdapter/OMAdMobInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMInterstitialCustomEvent.h"
6 | #import "OMAdMobInterstitialClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 |
11 |
12 | @interface OMAdMobInterstitial : NSObject
13 |
14 | @property (nonatomic, strong) GADInterstitialAd *admobInterstitial;
15 | @property (nonatomic, copy) NSString *pid;
16 | @property (nonatomic, weak) id delegate;
17 | @property (nonatomic, assign) BOOL ready;
18 |
19 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
20 | - (void)loadAd;
21 | - (BOOL)isReady;
22 | - (void)show:(UIViewController*)vc;
23 | @end
24 |
25 | NS_ASSUME_NONNULL_END
26 |
--------------------------------------------------------------------------------
/OMAdMobAdapter/OMAdMobNative.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import
6 | #import "OMNativeCustomEvent.h"
7 | #import "OMAdMobNativeClass.h"
8 |
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMAdMobNative : NSObject
13 |
14 | @property (nonatomic, strong) GADAdLoader *adLoader;
15 | @property (nonatomic, weak) id delegate;
16 | @property (nonatomic, assign) BOOL canLoadRequest;
17 |
18 | - (instancetype)initWithParameter:(NSDictionary*)adParameter rootVC:(UIViewController*)rootViewController;
19 | - (void)loadAd;
20 |
21 | @end
22 |
23 | NS_ASSUME_NONNULL_END
24 |
--------------------------------------------------------------------------------
/OMAdMobAdapter/OMAdMobNativeAd.m:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import "OMAdMobNativeAd.h"
5 |
6 | @implementation OMAdMobNativeAd
7 | - (instancetype)initWithGadNativeAd:(GADNativeAd*)gadNativeAd {
8 | self = [super init];
9 | if (self) {
10 | _adObject = gadNativeAd;
11 | _title = [gadNativeAd headline];
12 | _body= [gadNativeAd body];
13 | id icon = [gadNativeAd icon];
14 | NSURL * url =(NSURL *) [icon imageURL];
15 | _iconUrl = [url absoluteString];
16 | _rating = [gadNativeAd starRating].doubleValue;
17 | _callToAction = [gadNativeAd callToAction];
18 | _nativeViewClass = @"OMAdMobNativeView";
19 | }
20 | return self;
21 | }
22 | @end
23 |
--------------------------------------------------------------------------------
/OMAdMobAdapter/OMAdMobNativeView.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMNativeViewCustomEvent.h"
6 | #import "OMAdMobNativeAd.h"
7 | #import "OMAdMobNativeClass.h"
8 |
9 | NS_ASSUME_NONNULL_BEGIN
10 |
11 | @interface OMAdMobNativeView : UIView
12 | @property (nonatomic, strong) OMAdMobNativeAd *nativeAd;
13 | @property (nonatomic, strong) GADNativeAdView *gadNativeView;
14 | @property (nonatomic, strong) GADMediaView *mediaView;
15 | @property(nonatomic, strong) NSLayoutConstraint *heightConstraint;
16 | - (instancetype)initWithFrame:(CGRect)frame;
17 |
18 |
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMAdMobAdapter/OMAdMobRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMRewardedVideoCustomEvent.h"
6 | #import "OMAdMobRewardedVideoClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 |
11 | @interface OMAdMobRewardedVideo : NSObject
12 | @property (nonatomic, copy) NSString *pid;
13 | @property (nonatomic, strong) GADRewardedAd *videoAd;
14 | @property (nonatomic, strong) GADAdReward *reward;
15 | @property (nonatomic, weak) id delegate;
16 | @property (nonatomic, assign) BOOL ready;
17 |
18 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
19 | - (void)loadAd;
20 | - (BOOL)isReady;
21 | - (void)show:(UIViewController*)vc;
22 | @end
23 |
24 | NS_ASSUME_NONNULL_END
25 |
--------------------------------------------------------------------------------
/OMAdMobAdapter/OMAdMobSplash.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMSplashCustomEvent.h"
6 | #import "OMAdMobSplashClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMAdMobSplash : NSObject
11 |
12 | @property (nonatomic, weak) id delegate;
13 | @property (nonatomic, copy) NSString *pid;
14 | @property (nonatomic, strong) GADAppOpenAd *appOpenAd;
15 | @property (nonatomic, assign) CGSize adSize;
16 | @property (nonatomic, strong) NSDate *loadTime;
17 | @property (nonatomic, assign) BOOL ready;
18 |
19 | - (instancetype)initWithParameter:(NSDictionary *)adParameter adSize:(CGSize)size;
20 | - (void)loadAd;
21 | - (BOOL)isReady;
22 | - (void)showWithWindow:(UIWindow *)window customView:(UIView *)customView;
23 |
24 | @end
25 |
26 | NS_ASSUME_NONNULL_END
27 |
--------------------------------------------------------------------------------
/OMAdMobAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMAdTimingAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMAdTimingAdapter/OMAdTimingAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 |
7 | NS_ASSUME_NONNULL_BEGIN
8 |
9 | static NSString *const AdTimingAdapterVersion = @"2.0.4";
10 |
11 | @interface OMAdTimingAdapter : NSObject
12 |
13 | + (NSString*)adapterVerison;
14 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
15 |
16 |
17 | @end
18 |
19 | NS_ASSUME_NONNULL_END
20 |
--------------------------------------------------------------------------------
/OMAdTimingAdapter/OMAdTimingBanner.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMAdTimingBannerClass.h"
6 | #import "OMBannerCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMAdTimingBanner : UIView
11 |
12 | @property(nonatomic, weak, nullable) id delegate;
13 | @property (nonatomic, strong) AdTimingBidBanner *banner;
14 | @property (nonatomic, assign) BOOL impr;
15 | - (instancetype)initWithFrame:(CGRect)frame adParameter:(NSDictionary *)adParameter rootViewController:(UIViewController *)rootViewController;
16 | - (void)loadAdWithBidPayload:(NSString *)bidPayload;
17 |
18 | @end
19 |
20 | NS_ASSUME_NONNULL_END
21 |
--------------------------------------------------------------------------------
/OMAdTimingAdapter/OMAdTimingBid.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMBidCustomEvent.h"
6 |
7 | NS_ASSUME_NONNULL_BEGIN
8 |
9 | @interface OMAdTimingBid : NSObject
10 |
11 | + (NSString*)bidderToken;
12 |
13 | @end
14 |
15 | NS_ASSUME_NONNULL_END
16 |
--------------------------------------------------------------------------------
/OMAdTimingAdapter/OMAdTimingBid.m:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import "OMAdTimingBid.h"
5 | #import "OMAdTimingClass.h"
6 |
7 | @implementation OMAdTimingBid
8 |
9 | + (NSString*)bidderToken {
10 | NSString *token = @"";
11 | Class adtimingClass = NSClassFromString(@"AdTimingBid");
12 | if (adtimingClass && [adtimingClass respondsToSelector:@selector(bidderToken)]) {
13 | token = [adtimingClass bidderToken];
14 | }
15 | return token;
16 | }
17 |
18 | @end
19 |
--------------------------------------------------------------------------------
/OMAdTimingAdapter/OMAdTimingClass.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #ifndef OMAdTimingClass_h
5 | #define OMAdTimingClass_h
6 |
7 | typedef NS_ENUM(NSInteger, AdTimingBidAdType) {
8 | AdTimingBidAdTypeBanner = (1 << 0),
9 | AdTimingBidAdTypeNative = (1 << 1),
10 | AdTimingBidAdTypeRewardedVideo = (1 << 2),
11 | AdTimingBidAdTypeInterstitial = (1 << 4),
12 | };
13 |
14 |
15 | @interface AdTimingBid : NSObject
16 | + (NSString *)SDKVersion;
17 | + (void)initWithAppKey:(NSString*)appKey;
18 | + (NSString*)bidderToken;
19 | + (void)setGDPRConsent:(BOOL)consent;
20 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
21 | + (void)setUserAge:(NSInteger)userAge;
22 | + (void)setUserGender:(NSInteger)userGender;
23 | @end
24 |
25 | #endif /* OMAdTimingClass_h */
26 |
--------------------------------------------------------------------------------
/OMAdTimingAdapter/OMAdTimingInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMAdTimingInterstitialClass.h"
6 | #import "OMInterstitialCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMAdTimingInterstitial : NSObject
11 |
12 | @property (nonatomic, copy) NSString *pid;
13 | @property (nonatomic, weak) id delegate;
14 |
15 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
16 | - (void)loadAdWithBidPayload:(NSString *)bidPayload;
17 | - (BOOL)isReady;
18 | - (void)show:(UIViewController*)vc;
19 |
20 | @end
21 |
22 | NS_ASSUME_NONNULL_END
23 |
--------------------------------------------------------------------------------
/OMAdTimingAdapter/OMAdTimingNative.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMAdTimingNativeClass.h"
6 | #import "OMNativeCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMAdTimingNative : NSObject
11 |
12 | @property (nonatomic, strong) AdTimingBidNative *native;
13 | @property (nonatomic, strong) NSString *pid;
14 | @property (nonatomic, weak) id delegate;
15 | @property (nonatomic, weak) UIViewController *rootVC;
16 |
17 | - (instancetype)initWithParameter:(NSDictionary*)adParameter rootVC:(UIViewController*)rootViewController;
18 | - (void)loadAdWithBidPayload:(NSString *)bidPayload;
19 |
20 | @end
21 |
22 | NS_ASSUME_NONNULL_END
23 |
--------------------------------------------------------------------------------
/OMAdTimingAdapter/OMAdTimingNativeAd.m:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import "OMAdTimingNativeAd.h"
5 |
6 | @interface OMAdTimingNativeAd()
7 |
8 | @property (nonatomic, strong) id mediatedAd;
9 | @property (nonatomic, assign) BOOL rendering;
10 | @property (nonatomic, assign) BOOL impr;
11 | @end
12 |
13 |
14 | @implementation OMAdTimingNativeAd
15 |
16 | - (instancetype)initWithAdTimingNativeAd:(AdTimingBidNativeAd*)adtNativeAd {
17 | if (self = [super init]) {
18 | _adObject = adtNativeAd;
19 | _title = [adtNativeAd title];
20 | _body = [adtNativeAd body];
21 | _iconUrl = [NSString stringWithFormat:@"%@",[adtNativeAd iconUrl]];
22 | _callToAction = [adtNativeAd callToAction];
23 | _rating = [adtNativeAd rating];
24 | _nativeViewClass = @"OMAdTimingNativeView";
25 | }
26 | return self;
27 | }
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/OMAdTimingAdapter/OMAdTimingNativeView.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMNativeViewCustomEvent.h"
6 | #import "OMAdTimingNativeClass.h"
7 | #import "OMAdTimingNativeAd.h"
8 | #import "OMAdTimingNativeView.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMAdTimingNativeView : UIView
13 |
14 | @property (nonatomic, strong) OMAdTimingNativeAd *nativeAd;
15 | @property (nonatomic, strong) AdTimingBidNativeView *adtNativeView;
16 | @property (nonatomic, strong) AdTimingBidNativeMediaView *mediaView;
17 |
18 | /// This is a method to initialize an AdTimingNativeView.
19 | /// Parameter frame: the AdTimingNativeView frame.
20 | - (instancetype)initWithFrame:(CGRect)frame;
21 |
22 | @end
23 |
24 | NS_ASSUME_NONNULL_END
25 |
--------------------------------------------------------------------------------
/OMAdTimingAdapter/OMAdTimingRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMAdTimingRewardedVideoClass.h"
6 | #import "OMRewardedVideoCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMAdTimingRewardedVideo : NSObject
11 |
12 | @property (nonatomic, copy) NSString *pid;
13 | @property (nonatomic, weak) id delegate;
14 |
15 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
16 | - (void)loadAdWithBidPayload:(NSString *)bidPayload;
17 | - (BOOL)isReady;
18 | - (void)show:(UIViewController*)vc;
19 |
20 | @end
21 |
22 | NS_ASSUME_NONNULL_END
23 |
--------------------------------------------------------------------------------
/OMAdTimingAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMAdmostAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMAdmostAdapter/OMAdMostNativeAdView.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMAdmostBannerClass.h"
6 | NS_ASSUME_NONNULL_BEGIN
7 |
8 | @interface OMAdMostNativeAdView : UIView
9 | @property (nonatomic, strong) AMRBanner *nativeAd;
10 |
11 | - (instancetype)initWithAdmostNativeAd:(AMRBanner*)nativeAd;
12 |
13 | @end
14 |
15 | NS_ASSUME_NONNULL_END
16 |
--------------------------------------------------------------------------------
/OMAdmostAdapter/OMAdMostNativeAdView.m:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import "OMAdMostNativeAdView.h"
5 |
6 | @implementation OMAdMostNativeAdView
7 |
8 | - (instancetype)initWithAdmostNativeAd:(AMRBanner*)nativeAd {
9 | if (self = [super initWithFrame:nativeAd.bannerView.bounds]) {
10 | self.nativeAd = nativeAd;
11 | [self addSubview:nativeAd.bannerView];
12 | }
13 | return self;
14 | }
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/OMAdmostAdapter/OMAdmostAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMAdmostClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | static NSString * const AdmostAdapterVersion = @"2.0.9";
11 |
12 | @interface OMAdmostAdapter : NSObject
13 |
14 | + (NSString*)adapterVerison;
15 |
16 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
17 |
18 | + (void)setConsent:(BOOL)consent;
19 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
20 | + (void)setUserAgeRestricted:(BOOL)restricted;
21 |
22 | @end
23 |
24 | NS_ASSUME_NONNULL_END
25 |
--------------------------------------------------------------------------------
/OMAdmostAdapter/OMAdmostBanner.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import
6 | #import "OMBannerCustomEvent.h"
7 | #import "OMAdmostBannerClass.h"
8 | #import "OMBidCustomEvent.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMAdmostBanner : UIView
13 |
14 | @property (nonatomic, strong) AMRBanner *banner;
15 | @property (nonatomic, copy) NSString *pid;
16 | @property(nonatomic, weak, nullable) id delegate;
17 | @property (nonatomic, weak) id bidDelegate;
18 |
19 | - (instancetype)initWithFrame:(CGRect)frame adParameter:(NSDictionary *)adParameter rootViewController:(UIViewController *)rootViewController;
20 | - (void)loadAd;
21 |
22 | @end
23 |
24 | NS_ASSUME_NONNULL_END
25 |
--------------------------------------------------------------------------------
/OMAdmostAdapter/OMAdmostBid.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import
6 | #import "OMBidCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMAdmostBid : NSObject
11 | + (void)bidWithNetworkItem:(OMBidNetworkItem*)networkItem adFormat:(NSString*)format adSize:(CGSize)size responseCallback:(void(^)(NSDictionary *bidResponseData))callback;
12 | @end
13 |
14 | NS_ASSUME_NONNULL_END
15 |
--------------------------------------------------------------------------------
/OMAdmostAdapter/OMAdmostInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMInterstitialCustomEvent.h"
6 | #import "OMAdmostInterstitialClass.h"
7 | #import "OMBidCustomEvent.h"
8 |
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMAdmostInterstitial : NSObject
13 |
14 | @property (nonatomic, copy) NSString *pid;
15 | @property (nonatomic, strong) AMRInterstitial *interstitial;
16 | @property (nonatomic, weak) id delegate;
17 | @property (nonatomic, weak) id bidDelegate;
18 |
19 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
20 | - (void)loadAd;
21 | - (BOOL)isReady;
22 | - (void)show:(UIViewController*)vc;
23 |
24 | @end
25 |
26 | NS_ASSUME_NONNULL_END
27 |
--------------------------------------------------------------------------------
/OMAdmostAdapter/OMAdmostNative.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import
6 | #import "OMNativeCustomEvent.h"
7 | #import "OMAdmostBannerClass.h"
8 | #import "OMBidCustomEvent.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMAdmostNative : NSObject
13 |
14 | @property (nonatomic, strong, nullable) AMRBanner *native;
15 | @property (nonatomic, copy) NSString *uid;
16 | @property (nonatomic, copy) NSString *pid;
17 | @property(nonatomic, weak, nullable) id delegate;
18 | @property (nonatomic, weak) id bidDelegate;
19 | @property (nonatomic, strong) NSObject *baseView;
20 |
21 | - (instancetype)initWithParameter:(NSDictionary*)adParameter rootVC:(UIViewController*)rootViewController;
22 | - (void)loadAd;
23 |
24 | @end
25 |
26 | NS_ASSUME_NONNULL_END
27 |
--------------------------------------------------------------------------------
/OMAdmostAdapter/OMAdmostRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMRewardedVideoCustomEvent.h"
6 | #import "OMAdmostRewardedVideoClass.h"
7 | #import "OMBidCustomEvent.h"
8 |
9 | NS_ASSUME_NONNULL_BEGIN
10 |
11 | @interface OMAdmostRewardedVideo : NSObject
12 | @property (nonatomic, copy) NSString *pid;
13 | @property (nonatomic, strong) AMRRewardedVideo *rewardedVideo;
14 | @property (nonatomic, weak) id delegate;
15 | @property (nonatomic, weak) id bidDelegate;
16 |
17 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
18 | - (void)loadAd;
19 | - (BOOL)isReady;
20 | - (void)show:(UIViewController*)vc;
21 |
22 | @end
23 |
24 | NS_ASSUME_NONNULL_END
25 |
--------------------------------------------------------------------------------
/OMAdmostAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMAppLovinAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMAppLovinAdapter/OMAppLovinAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMAppLovinClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | static NSString * const AppLovinAdapterVersion = @"2.0.5";
11 |
12 | @interface OMAppLovinAdapter : NSObject
13 | + (NSString*)adapterVerison;
14 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
15 | + (ALSdk*)alShareSdk;
16 | + (UIWindow *)currentWindow;
17 | + (void)setConsent:(BOOL)consent;
18 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
19 | + (void)setUserAgeRestricted:(BOOL)restricted;
20 | @end
21 |
22 | NS_ASSUME_NONNULL_END
23 |
--------------------------------------------------------------------------------
/OMAppLovinAdapter/OMAppLovinBanner.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMAppLovinBannerClass.h"
6 | #import "OMBannerCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMAppLovinBanner : UIView
11 |
12 | @property(nonatomic, weak, nullable) id delegate;
13 | @property (nonatomic, strong) ALAdView *bannerAdView;
14 | @property (nonatomic, assign) BOOL impr;
15 | @property (nonatomic, strong, nullable) ALAd *alAd;
16 | - (instancetype)initWithFrame:(CGRect)frame adParameter:(NSDictionary *)adParameter rootViewController:(UIViewController *)rootViewController;
17 | - (void)loadAd;
18 |
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMAppLovinAdapter/OMAppLovinInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMInterstitialCustomEvent.h"
6 | #import "OMAppLovinInterstitialClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMAppLovinInterstitial : NSObject
11 |
12 | @property (nonatomic, copy) NSString *pid;
13 | @property (nonatomic, weak) id delegate;
14 | @property (nonatomic, strong) ALInterstitialAd *appLovinInterstitial;
15 | @property (nonatomic, strong, nullable) ALAd *alAd;
16 | @property (nonatomic, assign) BOOL ready;
17 |
18 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
19 | - (void)loadAd;
20 | - (BOOL)isReady;
21 | - (void)show:(UIViewController*)vc;
22 |
23 | @end
24 |
25 | NS_ASSUME_NONNULL_END
26 |
--------------------------------------------------------------------------------
/OMAppLovinAdapter/OMAppLovinRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMAppLovinRewardedVideoClass.h"
6 | #import "OMRewardedVideoCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMAppLovinRewardedVideo : NSObject
11 | @property (nonatomic, strong, nullable) ALIncentivizedInterstitialAd *alAd;
12 | @property (nonatomic, strong) ALAd *ad;
13 | @property (nonatomic, copy) NSString *pid;
14 | @property (nonatomic, weak) id delegate;
15 | @property (nonatomic, assign) NSInteger playPercent;
16 |
17 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
18 | - (void)loadAd;
19 | - (BOOL)isReady;
20 | - (void)show:(UIViewController*)vc;
21 | @end
22 |
23 | NS_ASSUME_NONNULL_END
24 |
--------------------------------------------------------------------------------
/OMAppLovinAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMChartboostAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMChartboostAdapter/OMChartboostAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMChartboostClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | static NSString * const ChartboostAdapterVersion = @"2.0.5";
11 |
12 | @interface OMChartboostAdapter : NSObject
13 |
14 | + (NSString*)adapterVerison;
15 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
16 | + (void)setConsent:(BOOL)consent;
17 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
18 | + (void)setUserAgeRestricted:(BOOL)restricted;
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMChartboostAdapter/OMChartboostInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMChartboostClass.h"
6 | #import "OMInterstitialCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMChartboostInterstitial : NSObject
11 | @property (nonatomic, copy) NSString *pid;
12 | @property (nonatomic, weak) id delegate;
13 | @property (nonatomic,strong) CHBInterstitial *chbInterstitial;
14 |
15 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
16 | - (void)loadAd;
17 | - (BOOL)isReady;
18 | - (void)show:(UIViewController*)vc;
19 |
20 | @end
21 |
22 | NS_ASSUME_NONNULL_END
23 |
--------------------------------------------------------------------------------
/OMChartboostAdapter/OMChartboostRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMChartboostClass.h"
6 | #import "OMRewardedVideoCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMChartboostRewardedVideo : NSObject
11 | @property (nonatomic, copy) NSString *pid;
12 | @property (nonatomic, weak) id delegate;
13 | @property (nonatomic,strong) CHBRewarded *chbRewarded;
14 |
15 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
16 | - (void)loadAd;
17 | - (BOOL)isReady;
18 | - (void)show:(UIViewController*)vc;
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMChartboostAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMFacebookAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMFacebookAdapter/OMFacebookAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 |
7 | static NSString * const FacebookAdapterVersion = @"2.0.8";
8 |
9 | @interface OMFacebookAdapter : NSObject
10 |
11 | + (NSString*)adapterVerison;
12 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
13 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
14 | +(void)setUserAgeRestricted:(BOOL)restricted;
15 | @end
16 |
--------------------------------------------------------------------------------
/OMFacebookAdapter/OMFacebookBanner.h:
--------------------------------------------------------------------------------
1 | #import
2 | #import "OMFacebookBannerClass.h"
3 | #import "OMBannerCustomEvent.h"
4 |
5 | NS_ASSUME_NONNULL_BEGIN
6 |
7 | @interface OMFacebookBanner : UIView
8 | @property (nonatomic, strong) FBAdView *facebookBannerView;
9 | @property(nonatomic, weak, nullable) id delegate;
10 | - (instancetype)initWithFrame:(CGRect)frame adParameter:(NSDictionary *)adParameter rootViewController:(UIViewController *)rootViewController;
11 | - (void)loadAd;
12 | - (void)loadAdWithBidPayload:(NSString *)bidPayload;
13 | @end
14 |
15 | NS_ASSUME_NONNULL_END
16 |
--------------------------------------------------------------------------------
/OMFacebookAdapter/OMFacebookBid.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMBidCustomEvent.h"
6 |
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMFacebookBid : NSObject
11 |
12 | + (NSString*)bidderToken;
13 |
14 | @end
15 |
16 | NS_ASSUME_NONNULL_END
17 |
--------------------------------------------------------------------------------
/OMFacebookAdapter/OMFacebookBid.m:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import "OMFacebookBid.h"
5 | #import "OMFacebookClass.h"
6 | #import "OMFacebookBidClass.h"
7 |
8 | @implementation OMFacebookBid
9 |
10 | + (NSString*)bidderToken {
11 | NSString *token = @"";
12 | Class fbSetting = NSClassFromString(@"FBAdSettings");
13 | if (fbSetting && [fbSetting respondsToSelector:@selector(bidderToken)]) {
14 | token = [fbSetting bidderToken];
15 | }
16 | return token;
17 | }
18 |
19 | @end
20 |
--------------------------------------------------------------------------------
/OMFacebookAdapter/OMFacebookInterstitial.h:
--------------------------------------------------------------------------------
1 | #import
2 | #import "OMFacebookInterstitialClass.h"
3 | #import "OMInterstitialCustomEvent.h"
4 |
5 |
6 | NS_ASSUME_NONNULL_BEGIN
7 |
8 | @interface OMFacebookInterstitial : NSObject
9 | @property (nonatomic, strong) FBInterstitialAd *facebookInterstitial;
10 | @property (nonatomic, copy) NSString *pid;
11 | @property (nonatomic, weak) id delegate;
12 | @property (nonatomic, assign) BOOL ready;
13 | @property (nonatomic, getter=isAdValid, readonly) BOOL adValid;
14 |
15 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
16 | - (void)loadAd;
17 | - (void)loadAdWithBidPayload:(NSString *)bidPayload;
18 | - (BOOL)isReady;
19 | - (void)show:(UIViewController*)vc;
20 |
21 | @end
22 |
23 | NS_ASSUME_NONNULL_END
24 |
--------------------------------------------------------------------------------
/OMFacebookAdapter/OMFacebookNative.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMFacebookNativeClass.h"
6 | #import "OMNativeCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMFacebookNative : NSObject
11 |
12 | @property (nonatomic, strong) FBNativeAd *fbNativeAd;
13 | @property (nonatomic, weak) UIViewController *rootVC;
14 | @property (nonatomic, weak) id delegate;
15 |
16 | - (instancetype)initWithParameter:(NSDictionary*)adParameter rootVC:(UIViewController*)rootViewController;
17 | - (void)loadAd;
18 | - (void)loadAdWithBidPayload:(NSString *)bidPayload;
19 |
20 | @end
21 |
22 | NS_ASSUME_NONNULL_END
23 |
--------------------------------------------------------------------------------
/OMFacebookAdapter/OMFacebookNativeAd.m:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import "OMFacebookNativeAd.h"
5 |
6 | @implementation OMFacebookNativeAd
7 | - (instancetype)initWithFBNativeAd:(FBNativeAd*)fbNativeAd {
8 | if (self = [super init]) {
9 | _adObject = fbNativeAd;
10 | _title = [fbNativeAd headline];
11 | _body = [fbNativeAd bodyText];
12 | FBAdImage *fbIcon = [fbNativeAd adChoicesIcon];
13 | _iconUrl = [NSString stringWithFormat:@"%@",[fbIcon url]];
14 | if ([fbNativeAd respondsToSelector:@selector(starRating)]) {
15 | struct FBAdStarRating star = [fbNativeAd starRating];
16 | _rating = star.value;
17 | }
18 | _callToAction = [fbNativeAd callToAction];
19 | _nativeViewClass = @"OMFacebookNativeView";
20 | }
21 | return self;
22 | }
23 | @end
24 |
--------------------------------------------------------------------------------
/OMFacebookAdapter/OMFacebookNativeView.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMFacebookNativeClass.h"
6 | #import "OMFacebookNativeAd.h"
7 | #import "OMNativeViewCustomEvent.h"
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMFacebookNativeView : UIView
11 |
12 | @property (nonatomic, strong) OMFacebookNativeAd *nativeAd;
13 | @property (nonatomic, strong) FBAdChoicesView *adChoicesView;
14 | @property (nonatomic, strong) FBMediaView *mediaView;
15 |
16 | - (instancetype)initWithFrame:(CGRect)frame;
17 |
18 |
19 |
20 | @end
21 |
22 | NS_ASSUME_NONNULL_END
23 |
--------------------------------------------------------------------------------
/OMFacebookAdapter/OMFacebookRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMFacebookRewardedVideoClass.h"
6 | #import "OMRewardedVideoCustomEvent.h"
7 | NS_ASSUME_NONNULL_BEGIN
8 |
9 | @interface OMFacebookRewardedVideo : NSObject
10 | @property (nonatomic, copy) NSString *pid;
11 | @property (nonatomic, strong) FBRewardedVideoAd *faceBookPlacement;
12 | @property (nonatomic, weak) id delegate;
13 | @property (nonatomic, assign) BOOL ready;
14 | @property (nonatomic, getter=isAdValid, readonly) BOOL adValid;
15 |
16 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
17 | - (void)loadAd;
18 | - (void)loadAdWithBidPayload:(NSString *)bidPayload;
19 | - (BOOL)isReady;
20 | - (void)show:(UIViewController*)vc;
21 | @end
22 |
23 | NS_ASSUME_NONNULL_END
24 |
--------------------------------------------------------------------------------
/OMFacebookAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMFyberAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMFyberAdapter/OMFyberAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMFyberClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | static NSString * const FyberAdapterVersion = @"2.0.3";
11 |
12 | @interface OMFyberAdapter : NSObject
13 |
14 | + (NSString*)adapterVerison;
15 |
16 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
17 |
18 | @end
19 |
20 | NS_ASSUME_NONNULL_END
21 |
--------------------------------------------------------------------------------
/OMFyberAdapter/OMFyberBanner.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMFyberBannerClass.h"
6 | #import "OMBannerCustomEvent.h"
7 | NS_ASSUME_NONNULL_BEGIN
8 |
9 | @interface OMFyberBanner : UIView
10 |
11 | @property(nonatomic, weak, nullable) id delegate;
12 | - (instancetype)initWithFrame:(CGRect)frame adParameter:(NSDictionary *)adParameter rootViewController:(UIViewController *)rootViewController;
13 | - (void)loadAd;
14 |
15 | @end
16 |
17 | NS_ASSUME_NONNULL_END
18 |
--------------------------------------------------------------------------------
/OMFyberAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMGoogleAdAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMGoogleAdAdapter/OMGoogleAdAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMGoogleAdClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMGoogleAdAdapter : NSObject
11 |
12 | + (NSString*)adapterVerison;
13 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
14 | + (void)setConsent:(BOOL)consent;
15 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
16 | + (void)setUserAgeRestricted:(BOOL)restricted;
17 | + (BOOL)npaAd;
18 | @end
19 |
20 | NS_ASSUME_NONNULL_END
21 |
--------------------------------------------------------------------------------
/OMGoogleAdAdapter/OMGoogleAdBanner.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import
6 | #import "OMBannerCustomEvent.h"
7 | #import "OMGoogleAdBannerClass.h"
8 |
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMGoogleAdBanner : UIView
13 |
14 | @property(nonatomic, weak, nullable) id delegate;
15 | @property (nonatomic, strong) GAMBannerView *admobBannerView;
16 | - (instancetype)initWithFrame:(CGRect)frame adParameter:(NSDictionary *)adParameter rootViewController:(UIViewController *)rootViewController;
17 | - (void)loadAd;
18 | @end
19 |
20 | NS_ASSUME_NONNULL_END
21 |
--------------------------------------------------------------------------------
/OMGoogleAdAdapter/OMGoogleAdInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMInterstitialCustomEvent.h"
6 | #import "OMGoogleAdInterstitialClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 |
11 |
12 | @interface OMGoogleAdInterstitial : NSObject
13 |
14 | @property (nonatomic, strong) GAMInterstitialAd *admobInterstitial;
15 | @property (nonatomic, copy) NSString *pid;
16 | @property (nonatomic, weak) id delegate;
17 | @property (nonatomic, assign) BOOL ready;
18 |
19 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
20 | - (void)loadAd;
21 | - (BOOL)isReady;
22 | - (void)show:(UIViewController*)vc;
23 | @end
24 |
25 | NS_ASSUME_NONNULL_END
26 |
--------------------------------------------------------------------------------
/OMGoogleAdAdapter/OMGoogleAdNative.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import
6 | #import "OMNativeCustomEvent.h"
7 | #import "OMGoogleAdNativeClass.h"
8 |
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMGoogleAdNative : NSObject
13 |
14 | @property (nonatomic, strong) GADAdLoader *adLoader;
15 | @property (nonatomic, weak) id delegate;
16 | @property (nonatomic, assign) BOOL canLoadRequest;
17 |
18 | - (instancetype)initWithParameter:(NSDictionary*)adParameter rootVC:(UIViewController*)rootViewController;
19 | - (void)loadAd;
20 |
21 | @end
22 |
23 | NS_ASSUME_NONNULL_END
24 |
--------------------------------------------------------------------------------
/OMGoogleAdAdapter/OMGoogleAdNativeAd.m:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import "OMGoogleAdNativeAd.h"
5 |
6 | @implementation OMGoogleAdNativeAd
7 | - (instancetype)initWithGadNativeAd:(GADNativeAd*)gadNativeAd {
8 | self = [super init];
9 | if (self) {
10 | _adObject = gadNativeAd;
11 | _title = [gadNativeAd headline];
12 | _body= [gadNativeAd body];
13 | id icon = [gadNativeAd icon];
14 | NSURL * url =(NSURL *) [icon imageURL];
15 | _iconUrl = [url absoluteString];
16 | _rating = [gadNativeAd starRating].doubleValue;
17 | _callToAction = [gadNativeAd callToAction];
18 | _nativeViewClass = @"OMGoogleAdNativeView";
19 | }
20 | return self;
21 | }
22 | @end
23 |
--------------------------------------------------------------------------------
/OMGoogleAdAdapter/OMGoogleAdNativeView.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMNativeViewCustomEvent.h"
6 | #import "OMGoogleAdNativeAd.h"
7 | #import "OMGoogleAdNativeClass.h"
8 |
9 | NS_ASSUME_NONNULL_BEGIN
10 |
11 | @interface OMGoogleAdNativeView : UIView
12 | @property (nonatomic, strong) OMGoogleAdNativeAd *nativeAd;
13 | @property (nonatomic, strong) GADNativeAdView *gadNativeView;
14 | @property (nonatomic, strong) GADMediaView *mediaView;
15 | @property(nonatomic, strong) NSLayoutConstraint *heightConstraint;
16 | - (instancetype)initWithFrame:(CGRect)frame;
17 |
18 |
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMGoogleAdAdapter/OMGoogleAdRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMRewardedVideoCustomEvent.h"
6 | #import "OMGoogleAdRewardedVideoClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 |
11 | @interface OMGoogleAdRewardedVideo : NSObject
12 | @property (nonatomic, copy) NSString *pid;
13 | @property (nonatomic, strong) GADRewardedAd *videoAd;
14 | @property (nonatomic, strong) GADAdReward *reward;
15 | @property (nonatomic, weak) id delegate;
16 | @property (nonatomic, assign) BOOL ready;
17 |
18 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
19 | - (void)loadAd;
20 | - (BOOL)isReady;
21 | - (void)show:(UIViewController*)vc;
22 | @end
23 |
24 | NS_ASSUME_NONNULL_END
25 |
--------------------------------------------------------------------------------
/OMGoogleAdAdapter/OMGoogleAdSplash.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMSplashCustomEvent.h"
6 | #import "OMGoogleAdSplashClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMGoogleAdSplash : NSObject
11 |
12 | @property (nonatomic, weak) id delegate;
13 | @property (nonatomic, copy) NSString *pid;
14 | @property (nonatomic, strong) GADAppOpenAd *appOpenAd;
15 | @property (nonatomic, assign) CGSize adSize;
16 | @property (nonatomic, strong) NSDate *loadTime;
17 | @property (nonatomic, assign) BOOL ready;
18 |
19 | - (instancetype)initWithParameter:(NSDictionary *)adParameter adSize:(CGSize)size;
20 | - (void)loadAd;
21 | - (BOOL)isReady;
22 | - (void)showWithWindow:(UIWindow *)window customView:(UIView *)customView;
23 |
24 | @end
25 |
26 | NS_ASSUME_NONNULL_END
27 |
--------------------------------------------------------------------------------
/OMGoogleAdAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMHeliumAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMHeliumAdapter/OMHeliumAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMHeliumClass.h"
7 | NS_ASSUME_NONNULL_BEGIN
8 |
9 | static NSString * const HeliumAdapterVersion = @"2.1.3";
10 |
11 |
12 | @interface OMHeliumAdapter : NSObject
13 |
14 | @property (nonatomic, copy, nullable) OMMediationAdapterInitCompletionBlock initBlock;
15 |
16 | + (NSString*)adapterVerison;
17 |
18 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
19 | +(void)setConsent:(BOOL)consent;
20 | +(void)setUSPrivacyLimit:(BOOL)privacyLimit;
21 | +(void)setUserAgeRestricted:(BOOL)restricted;
22 | @end
23 |
24 |
25 | NS_ASSUME_NONNULL_END
26 |
--------------------------------------------------------------------------------
/OMHeliumAdapter/OMHeliumBid.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import
6 | #import "OMBidCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMHeliumBid : NSObject
11 | + (void)bidWithNetworkItem:(id)networkItem adFormat:(NSString*)format adSize:(CGSize)size responseCallback:(void(^)(NSDictionary *bidResponseData))callback;
12 |
13 | @end
14 |
15 | NS_ASSUME_NONNULL_END
16 |
--------------------------------------------------------------------------------
/OMHeliumAdapter/OMHeliumInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMHeliumRouter.h"
6 | #import "OMInterstitialCustomEvent.h"
7 | #import "OMBidCustomEvent.h"
8 |
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMHeliumInterstitial : NSObject
13 |
14 | @property (nonatomic, copy) NSString *pid;
15 | @property (nonatomic, weak) id delegate;
16 | @property (nonatomic, weak) id bidDelegate;
17 | @property (nonatomic, strong) NSDictionary *biInfo;
18 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
19 | - (void)loadAd;
20 | - (BOOL)isReady;
21 | - (void)show:(UIViewController*)vc;
22 |
23 | @end
24 |
25 | NS_ASSUME_NONNULL_END
26 |
--------------------------------------------------------------------------------
/OMHeliumAdapter/OMHeliumRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMHeliumRouter.h"
6 | #import "OMRewardedVideoCustomEvent.h"
7 | #import "OMBidCustomEvent.h"
8 |
9 | NS_ASSUME_NONNULL_BEGIN
10 |
11 | @interface OMHeliumRewardedVideo : NSObject
12 |
13 | @property (nonatomic, copy) NSString *pid;
14 | @property (nonatomic, weak) id delegate;
15 | @property (nonatomic, weak) id bidDelegate;
16 | @property (nonatomic, strong) NSDictionary *biInfo;
17 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
18 | - (void)loadAd;
19 | - (BOOL)isReady;
20 | - (void)show:(UIViewController*)vc;
21 |
22 | @end
23 |
24 | NS_ASSUME_NONNULL_END
25 |
--------------------------------------------------------------------------------
/OMHeliumAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMInMobiAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMInMobiAdapter/OMInMobiAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMInMobiClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | static NSString * const InMobiAdapterVersion = @"2.0.5";
11 |
12 | @interface OMInMobiAdapter : NSObject
13 |
14 | + (NSString*)adapterVerison;
15 |
16 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
17 |
18 | + (void)setConsent:(BOOL)consent;
19 | + (void)setUserAgeRestricted:(BOOL)restricted;
20 |
21 | @end
22 |
23 | NS_ASSUME_NONNULL_END
24 |
25 |
--------------------------------------------------------------------------------
/OMInMobiAdapter/OMInMobiBanner.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import
6 | #import "OMBannerCustomEvent.h"
7 | #import "OMInMobiBannerClass.h"
8 | #import "OMBidCustomEvent.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMInMobiBanner : UIView
13 |
14 | @property (nonatomic, strong) IMBanner *banner;;
15 | @property (nonatomic, copy) NSString *pid;
16 | @property(nonatomic, weak, nullable) id delegate;
17 | @property (nonatomic, weak) id bidDelegate;
18 |
19 | - (instancetype)initWithFrame:(CGRect)frame adParameter:(NSDictionary *)adParameter rootViewController:(UIViewController *)rootViewController;
20 | - (void)loadAd;
21 |
22 | @end
23 |
24 | NS_ASSUME_NONNULL_END
25 |
--------------------------------------------------------------------------------
/OMInMobiAdapter/OMInMobiBid.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMBidCustomEvent.h"
6 | #import "OMInMobiClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMInMobiBid : NSObject
11 |
12 | + (void)bidWithNetworkItem:(OMBidNetworkItem*)networkItem adFormat:(NSString*)format adSize:(CGSize)size responseCallback:(void(^)(NSDictionary *bidResponseData))callback;
13 | @end
14 |
15 | NS_ASSUME_NONNULL_END
16 |
--------------------------------------------------------------------------------
/OMInMobiAdapter/OMInMobiInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 |
5 | #import
6 | #import "OMInterstitialCustomEvent.h"
7 | #import "OMInMobiInterstitialClass.h"
8 | #import "OMBidCustomEvent.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMInMobiInterstitial : NSObject
13 |
14 | @property (nonatomic, copy) NSString *pid;
15 | @property (nonatomic, strong) IMInterstitial *interstitial;
16 | @property (nonatomic, weak) id delegate;
17 | @property (nonatomic, weak) id bidDelegate;
18 |
19 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
20 | - (void)loadAd;
21 | - (BOOL)isReady;
22 | - (void)show:(UIViewController*)vc;
23 |
24 | @end
25 |
26 | NS_ASSUME_NONNULL_END
27 |
--------------------------------------------------------------------------------
/OMInMobiAdapter/OMInMobiRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 |
5 | #import
6 | #import "OMRewardedVideoCustomEvent.h"
7 | #import "OMInMobiInterstitialClass.h"
8 | #import "OMBidCustomEvent.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMInMobiRewardedVideo : NSObject
13 | @property (nonatomic, copy) NSString *pid;
14 | @property (nonatomic, strong) IMInterstitial *rewardedVideo;
15 | @property (nonatomic, weak) id delegate;
16 | @property (nonatomic, weak) id bidDelegate;
17 |
18 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
19 | - (void)loadAd;
20 | - (BOOL)isReady;
21 | - (void)show:(UIViewController*)vc;
22 |
23 | @end
24 |
25 | NS_ASSUME_NONNULL_END
26 |
--------------------------------------------------------------------------------
/OMInMobiAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMIronSourceAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMIronSourceAdapter/OMIronSourceAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMIronSourceClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 |
11 | @interface OMIronSourceAdapter : NSObject
12 | @property (class, nonatomic) BOOL mediationAPI;
13 | + (NSString*)adapterVerison;
14 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
15 | + (void)setConsent:(BOOL)consent;
16 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
17 | +(void)setUserAgeRestricted:(BOOL)restricted;
18 | + (void)setUserAge:(NSInteger)userAge;
19 | + (void)setUserGender:(NSInteger)userGender;
20 | @end
21 |
22 | NS_ASSUME_NONNULL_END
23 |
--------------------------------------------------------------------------------
/OMIronSourceAdapter/OMIronSourceBanner.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMBannerCustomEvent.h"
6 | #import "OMIronSourceClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMIronSourceBanner : UIView
11 |
12 | @property (nonatomic, weak) id delegate;
13 | @property (nonatomic, strong, nullable) ISBannerView *bannerView;
14 | @property (nonatomic, weak) UIViewController *showVC;
15 | - (instancetype)initWithFrame:(CGRect)frame adParameter:(NSDictionary *)adParameter rootViewController:(UIViewController *)rootViewController;
16 | - (void)loadAd;
17 |
18 | @end
19 |
20 | NS_ASSUME_NONNULL_END
21 |
--------------------------------------------------------------------------------
/OMIronSourceAdapter/OMIronSourceInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMIronSourceRouter.h"
6 | #import "OMInterstitialCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMIronSourceInterstitial : NSObject
11 |
12 | @property (nonatomic, copy) NSString *pid;
13 | @property (nonatomic, weak) id delegate;
14 |
15 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
16 | - (void)loadAd;
17 | - (BOOL)isReady;
18 | - (void)show:(UIViewController*)vc;
19 |
20 |
21 | @end
22 |
23 | NS_ASSUME_NONNULL_END
24 |
--------------------------------------------------------------------------------
/OMIronSourceAdapter/OMIronSourceRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMIronSourceRouter.h"
6 | #import "OMRewardedVideoCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMIronSourceRewardedVideo : NSObject
11 | @property (nonatomic, copy) NSString *pid;
12 | @property (nonatomic, weak) id delegate;
13 |
14 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
15 | - (void)loadAd;
16 | - (BOOL)isReady;
17 | - (void)show:(UIViewController*)vc;
18 |
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMIronSourceAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMKuaiShouAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 2.0.2
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMKuaiShouAdapter/OMKuaiShouAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMKuaiShouAdapterClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | static NSString * const KSAdapterVersion = @"2.0.3";
11 |
12 | @interface OMKuaiShouAdapter : NSObject
13 |
14 | + (NSString*)adapterVerison;
15 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
16 |
17 | @end
18 |
19 | NS_ASSUME_NONNULL_END
20 |
--------------------------------------------------------------------------------
/OMKuaiShouAdapter/OMKuaiShouInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMKuaiShouInterstitialClass.h"
6 | #import "OMInterstitialCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMKuaiShouInterstitial : NSObject
11 |
12 | @property (nonatomic, copy) NSString *pid;
13 | @property (nonatomic, assign) BOOL adReadyFlag;
14 | @property (nonatomic, readonly) BOOL isValid;
15 | @property (nonatomic, strong) KSFullscreenVideoAd *fullscreenVideoAd;
16 | @property (nonatomic, weak) id delegate;
17 |
18 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
19 | - (void)loadAd;
20 | - (BOOL)isReady;
21 | - (void)show:(UIViewController*)vc;
22 |
23 | @end
24 |
25 | NS_ASSUME_NONNULL_END
26 |
--------------------------------------------------------------------------------
/OMKuaiShouAdapter/OMKuaiShouRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMKuaiShouRewardedVideoClass.h"
6 | #import "OMRewardedVideoCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMKuaiShouRewardedVideo : NSObject
11 | @property (nonatomic, copy) NSString *pid;
12 | @property (nonatomic, strong) KSRewardedVideoAd *rewardedVideoAd;
13 | @property (nonatomic, readonly) BOOL isValid;
14 | @property (nonatomic, weak) id delegate;
15 |
16 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
17 | - (void)loadAd;
18 | - (BOOL)isReady;
19 | - (void)show:(UIViewController*)vc;
20 |
21 | @end
22 |
23 | NS_ASSUME_NONNULL_END
24 |
--------------------------------------------------------------------------------
/OMKuaiShouAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMMintegralAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMMintegralAdapter/OMMintegralAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 |
7 | NS_ASSUME_NONNULL_BEGIN
8 |
9 | static NSString * const MintegralAdapterVersion = @"2.0.8";
10 |
11 | @interface OMMintegralAdapter : NSObject
12 |
13 | + (NSString*)adapterVerison;
14 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
15 | + (void)setConsent:(BOOL)consent;
16 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
17 | + (void)setUserAgeRestricted:(BOOL)restricted;
18 |
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMMintegralAdapter/OMMintegralBanner.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMintegralBannerClass.h"
6 | #import "OMBannerCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMMintegralBanner : UIView
11 |
12 | @property(nonatomic, weak, nullable) id delegate;
13 | @property (nonatomic, strong) MTGBannerAdView *bannerAdView;
14 | @property (nonatomic, assign) BOOL impr;
15 | - (instancetype)initWithFrame:(CGRect)frame adParameter:(NSDictionary *)adParameter rootViewController:(UIViewController *)rootViewController;
16 | - (void)loadAd;
17 |
18 | @end
19 |
20 | NS_ASSUME_NONNULL_END
21 |
--------------------------------------------------------------------------------
/OMMintegralAdapter/OMMintegralBid.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMBidCustomEvent.h"
6 |
7 | NS_ASSUME_NONNULL_BEGIN
8 |
9 | @interface OMMintegralBid : NSObject
10 |
11 | + (NSString*)bidderToken;
12 |
13 | @end
14 |
15 | NS_ASSUME_NONNULL_END
16 |
--------------------------------------------------------------------------------
/OMMintegralAdapter/OMMintegralBid.m:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import "OMMintegralBid.h"
5 | #import "OMMintegralBidClass.h"
6 |
7 | @implementation OMMintegralBid
8 |
9 | + (NSString*)bidderToken {
10 | NSString *token = @"";
11 | Class mtgSDK = NSClassFromString(@"MTGBiddingSDK");
12 | if (mtgSDK && [mtgSDK respondsToSelector:@selector(buyerUID)]) {
13 | token = [mtgSDK buyerUID];
14 | }
15 | return token;;
16 | }
17 |
18 | @end
19 |
20 |
--------------------------------------------------------------------------------
/OMMintegralAdapter/OMMintegralInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMintegralInterstitialClass.h"
6 | #import "OMInterstitialCustomEvent.h"
7 |
8 |
9 | NS_ASSUME_NONNULL_BEGIN
10 |
11 | @interface OMMintegralInterstitial : NSObject
12 |
13 | @property (nonatomic, copy) NSString *pid;
14 | @property (nonatomic, strong) MTGNewInterstitialAdManager *ivAdManager;
15 | @property (nonatomic, strong) MTGNewInterstitialBidAdManager *ivBidAdManager;
16 | @property (nonatomic, weak) id delegate;
17 |
18 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
19 | - (void)loadAd;
20 | - (BOOL)isReady;
21 | - (void)show:(UIViewController*)vc;
22 |
23 | @end
24 |
25 | NS_ASSUME_NONNULL_END
26 |
--------------------------------------------------------------------------------
/OMMintegralAdapter/OMMintegralNativeAd.m:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import "OMMintegralNativeAd.h"
5 |
6 | @implementation OMMintegralNativeAd
7 |
8 | -(instancetype)initWithMtgNativeAd:(MTGCampaign *)mtgCampaign withManager:(MTGNativeAdManager *)mtgManager withBidManager:(MTGBidNativeAdManager *)mtgBidManager {
9 | self = [super init];
10 | if (self) {
11 | _adObject = mtgCampaign;
12 | _mtgManager = mtgManager;
13 | _mtgBidManager = mtgBidManager;
14 | _title = [mtgCampaign appName];
15 | _body = [mtgCampaign appDesc];
16 | _iconUrl = [mtgCampaign iconUrl];
17 | _callToAction = [mtgCampaign adCall];
18 | _nativeViewClass = @"OMMintegralNativeView";
19 | }
20 | return self;
21 | }
22 |
23 | @end
24 |
--------------------------------------------------------------------------------
/OMMintegralAdapter/OMMintegralNativeView.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMintegralNativeClass.h"
6 | #import "OMMintegralNativeAd.h"
7 | #import "OMNativeViewCustomEvent.h"
8 |
9 | NS_ASSUME_NONNULL_BEGIN
10 |
11 | @interface OMMintegralNativeView : UIView
12 |
13 | @property (nonatomic, strong) OMMintegralNativeAd *nativeAd;
14 | @property (nonatomic, strong) MTGAdChoicesView *adChoicesView;
15 | @property (nonatomic, strong) MTGMediaView *mediaView;
16 |
17 | @end
18 |
19 | NS_ASSUME_NONNULL_END
20 |
--------------------------------------------------------------------------------
/OMMintegralAdapter/OMMintegralRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import
6 | #import "OMMintegralRouter.h"
7 | #import "OMRewardedVideoCustomEvent.h"
8 |
9 | NS_ASSUME_NONNULL_BEGIN
10 |
11 | @interface OMMintegralRewardedVideo : NSObject
12 | @property (nonatomic, copy) NSString *pid;
13 | @property (nonatomic, weak) id delegate;
14 |
15 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
16 | - (void)loadAd;
17 | - (BOOL)isReady;
18 | - (void)show:(UIViewController*)vc;
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMMintegralAdapter/OMMintegralSplash.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMSplashCustomEvent.h"
6 | #import "OMMintegralSplashClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMMintegralSplash : NSObject
11 |
12 | @property (nonatomic, weak) id delegate;
13 | @property (nonatomic, copy) NSString *pid;
14 | @property (nonatomic, strong) MTGSplashAD *splashAD;
15 | @property (nonatomic, assign) CGSize adSize;
16 | @property (nonatomic, assign) BOOL isBidAd;
17 |
18 | - (instancetype)initWithParameter:(NSDictionary *)adParameter adSize:(CGSize)size;
19 | - (void)loadAd;
20 | - (BOOL)isReady;
21 | - (void)showWithWindow:(UIWindow *)window customView:(UIView *)customView;
22 |
23 | @end
24 |
25 | NS_ASSUME_NONNULL_END
26 |
--------------------------------------------------------------------------------
/OMMintegralAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMMoPubAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMMoPubAdapter/OMMopubAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 |
6 | #import "OMMediationAdapter.h"
7 | #import "OMMopubClass.h"
8 |
9 | static NSString * const MopubAdapterVersion = @"2.0.8";
10 |
11 | @interface OMMopubAdapter : NSObject
12 |
13 | + (NSString*)adapterVerison;
14 |
15 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
16 |
17 | + (void)setConsent:(BOOL)consent;
18 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
19 |
20 | @end
21 |
22 |
--------------------------------------------------------------------------------
/OMMoPubAdapter/OMMopubBanner.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMopubBannerClass.h"
6 | #import "OMBannerCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMMopubBanner : UIView
11 |
12 | @property (nonatomic, weak, nullable) id delegate;
13 | @property (nonatomic, strong) MPAdView *bannerView;
14 | @property (nonatomic, weak) UIViewController *rootVC;
15 | - (instancetype)initWithFrame:(CGRect)frame adParameter:(NSDictionary *)adParameter rootViewController:(UIViewController *)rootViewController;
16 | - (void)loadAd;
17 |
18 | @end
19 |
20 | NS_ASSUME_NONNULL_END
21 |
--------------------------------------------------------------------------------
/OMMoPubAdapter/OMMopubInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMopubInterstitialClass.h"
6 | #import "OMInterstitialCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMMopubInterstitial : NSObject
11 |
12 | @property (nonatomic, strong) MPInterstitialAdController *interstitial;
13 | @property (nonatomic, copy) NSString *pid;
14 | @property (nonatomic, weak) id delegate;
15 | @property (nonatomic, assign) BOOL hasShown;
16 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
17 | - (void)loadAd;
18 | - (BOOL)isReady;
19 | - (void)show:(UIViewController*)vc;
20 |
21 | @end
22 |
23 | NS_ASSUME_NONNULL_END
24 |
--------------------------------------------------------------------------------
/OMMoPubAdapter/OMMopubNative.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMopubNativeClass.h"
6 | #import "OMNativeCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMMopubNative : NSObject
11 | @property (nonatomic, strong) MPImageDownloadQueue *imageDownloadQueue;
12 | @property (nonatomic, strong) MPNativeAdRequest *adLoader;
13 | @property (nonatomic, strong) MPNativeAd *nativeAd;
14 | @property (nonatomic, weak) UIViewController *rootVC;
15 | @property (nonatomic, weak) id delegate;
16 |
17 | - (instancetype)initWithParameter:(NSDictionary*)adParameter rootVC:(UIViewController*)rootViewController;
18 | - (void)loadAd;
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMMoPubAdapter/OMMopubNativeAd.m:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import "OMMopubNativeAd.h"
5 |
6 | @implementation OMMopubNativeAd
7 |
8 |
9 | - (instancetype)initWithMopubResponse:(MPNativeAd*)nativeResponse {
10 |
11 | self = [super init];
12 | if (self) {
13 | _adObject =nativeResponse;
14 | _title = nativeResponse.properties[@"title"];
15 | _body= nativeResponse.properties[@"text"];
16 | _iconUrl = nativeResponse.properties[@"iconimage"];
17 | _rating = [nativeResponse.properties[@"starrating"]doubleValue];
18 | _callToAction = @"INSTALL";
19 | _nativeViewClass = @"OMMopubNativeView";
20 | }
21 | return self;
22 | }
23 |
24 | @end
25 |
--------------------------------------------------------------------------------
/OMMoPubAdapter/OMMopubNativeView.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMNativeViewCustomEvent.h"
6 | #import "OMMopubNativeClass.h"
7 | #import "OMMopubNativeAd.h"
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMMopubNativeView : UIView
11 | @property (nonatomic, strong) OMMopubNativeAd *nativeAd;
12 | @property (nonatomic, strong) UIImageView *mediaView;
13 | - (instancetype)initWithFrame:(CGRect)frame;
14 |
15 | @end
16 |
17 | NS_ASSUME_NONNULL_END
18 |
--------------------------------------------------------------------------------
/OMMoPubAdapter/OMMopubRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMopubRewardedVideoClass.h"
6 | #import "OMRewardedVideoCustomEvent.h"
7 | NS_ASSUME_NONNULL_BEGIN
8 |
9 | @interface OMMopubRewardedVideo : NSObject
10 | @property (nonatomic, copy) NSString *pid;
11 | @property (nonatomic, weak) id delegate;
12 |
13 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
14 | - (void)loadAd;
15 | - (BOOL)isReady;
16 | - (void)show:(UIViewController*)vc;
17 | @end
18 |
19 | NS_ASSUME_NONNULL_END
20 |
--------------------------------------------------------------------------------
/OMMoPubAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMPangleAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMPangleAdapter/OMPangleAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMPangleClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | static NSString * const PangleAdapterVersion = @"2.1.2";
11 |
12 | @interface OMPangleAdapter : NSObject
13 | @property (class, nonatomic) BOOL internalAPI;
14 |
15 | + (NSString*)adapterVerison;
16 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
17 | + (void)setConsent:(BOOL)consent;
18 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
19 | + (void)setUserAgeRestricted:(BOOL)restricted;
20 | @end
21 |
22 | NS_ASSUME_NONNULL_END
23 |
--------------------------------------------------------------------------------
/OMPangleAdapter/OMPangleInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMPangleInterstitialClass.h"
6 | #import "OMInterstitialCustomEvent.h"
7 | NS_ASSUME_NONNULL_BEGIN
8 |
9 |
10 | @interface OMPangleInterstitial : NSObject
11 |
12 | @property (nonatomic, copy) NSString *pid;
13 | @property (nonatomic, assign) BOOL adReadyFlag;
14 | @property (nonatomic, strong) BUNativeExpressFullscreenVideoAd *fullscreenVideoAd;
15 | @property (nonatomic, strong) PAGLInterstitialAd *pagInterstitialAd;
16 | @property (nonatomic, weak) id delegate;
17 |
18 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
19 | - (void)loadAd;
20 | - (BOOL)isReady;
21 | - (void)show:(UIViewController*)vc;
22 |
23 | @end
24 |
25 | NS_ASSUME_NONNULL_END
26 |
--------------------------------------------------------------------------------
/OMPangleAdapter/OMPangleNative.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMNativeCustomEvent.h"
6 | #import "OMPangleNativeClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMPangleNative : NSObject
11 |
12 | @property (nonatomic, strong) BUNativeExpressAdManager *adLoader;
13 | @property (nonatomic, weak, readwrite) UIViewController *rootVC;
14 |
15 | // 海外
16 | @property (nonatomic, copy) NSString *pid;
17 | @property (nonatomic, strong) PAGLNativeAd *pagNativeAd;
18 |
19 | @property (nonatomic, weak) id delegate;
20 | @property (nonatomic, assign) BOOL hasShown;
21 |
22 | - (instancetype)initWithParameter:(NSDictionary*)adParameter rootVC:(UIViewController*)rootViewController;
23 | - (void)loadAd;
24 |
25 | @end
26 |
27 | NS_ASSUME_NONNULL_END
28 |
--------------------------------------------------------------------------------
/OMPangleAdapter/OMPangleNativeAd.m:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import "OMPangleNativeAd.h"
5 |
6 | @implementation OMPangleNativeAd
7 |
8 | - (instancetype)initWithNativeAd:(PAGLNativeAd*)nativeAd {
9 | if (self = [super init]) {
10 | _adObject = nativeAd;
11 | _title = nativeAd.data.AdTitle;
12 | _body = nativeAd.data.AdDescription;
13 | _iconUrl = nativeAd.data.icon.imageURL;
14 | _nativeViewClass = @"OMPangleNativeView";
15 | }
16 | return self;
17 | }
18 |
19 | @end
20 |
--------------------------------------------------------------------------------
/OMPangleAdapter/OMPangleNativeView.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMNativeViewCustomEvent.h"
6 | #import "OMPangleNativeClass.h"
7 | #import "OMPangleNativeAd.h"
8 |
9 | NS_ASSUME_NONNULL_BEGIN
10 |
11 | @interface OMPangleNativeView : UIView
12 |
13 | @property (nonatomic, strong) OMPangleNativeAd *nativeAd;
14 | @property (nonatomic, strong) PAGLNativeAdRelatedView *nativeView;
15 | @property (nonatomic, strong) PAGMediaView *mediaView;
16 |
17 | - (instancetype)initWithFrame:(CGRect)frame;
18 |
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMPangleAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMPubNativeAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 2.0.2
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMPubNativeAdapter/OMPubNativeAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMPubNativeClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | static NSString * const PubNativeAdapterVersion = @"2.1.1";
11 |
12 | @interface OMPubNativeAdapter : NSObject
13 |
14 | + (NSString*)adapterVerison;
15 |
16 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
17 |
18 | +(void)setConsent:(BOOL)consent;
19 | +(void)setUSPrivacyLimit:(BOOL)privacyLimit;
20 | +(void)setUserAgeRestricted:(BOOL)restricted;
21 |
22 | @end
23 |
24 | NS_ASSUME_NONNULL_END
25 |
--------------------------------------------------------------------------------
/OMPubNativeAdapter/OMPubNativeBanner.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMPubNativeClass.h"
6 | #import "OMBannerCustomEvent.h"
7 | #import "OMPubNativeClass.h"
8 | #import "OMBidCustomEvent.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMPubNativeBanner : UIView
13 | @property (nonatomic, strong) HyBidAdView *bannerAdView;
14 | @property (nonatomic, copy) NSString *pid;
15 | @property(nonatomic, weak, nullable) id delegate;
16 | @property (nonatomic, weak) id bidDelegate;
17 | - (instancetype)initWithFrame:(CGRect)frame adParameter:(NSDictionary *)adParameter rootViewController:(UIViewController *)rootViewController;
18 | - (void)loadAd;
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMPubNativeAdapter/OMPubNativeBid.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import
6 | #import "OMBidCustomEvent.h"
7 |
8 |
9 | NS_ASSUME_NONNULL_BEGIN
10 |
11 | @interface OMPubNativeBid : NSObject
12 | + (void)bidWithNetworkItem:(OMBidNetworkItem*)networkItem adFormat:(NSString*)format adSize:(CGSize)size responseCallback:(void(^)(NSDictionary *bidResponseData))callback;
13 | @end
14 |
15 | NS_ASSUME_NONNULL_END
16 |
--------------------------------------------------------------------------------
/OMPubNativeAdapter/OMPubNativeNative.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMPubNativeNativeClass.h"
6 | #import "OMNativeCustomEvent.h"
7 | #import "OMPubNativeClass.h"
8 | #import "OMBidCustomEvent.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMPubNativeNative : NSObject
13 |
14 | @property (nonatomic, strong) HyBidNativeAdLoader *nativeAdLoader;
15 | @property (nonatomic, strong) HyBidNativeAd *nativeAd;
16 | @property (nonatomic, weak) id delegate;
17 | @property (nonatomic, strong) NSString *pid;
18 | @property (nonatomic, weak) id bidDelegate;
19 |
20 | - (instancetype)initWithParameter:(NSDictionary*)adParameter rootVC:(UIViewController*)rootViewController;
21 | - (void)loadAd;
22 |
23 | @end
24 |
25 | NS_ASSUME_NONNULL_END
26 |
--------------------------------------------------------------------------------
/OMPubNativeAdapter/OMPubNativeNativeAd.m:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import "OMPubNativeNativeAd.h"
5 |
6 | @implementation OMPubNativeNativeAd
7 |
8 | -(instancetype)initWithHybidNativeAd:(HyBidNativeAd *)hyBidNativeAd {
9 | self = [super init];
10 | if (self) {
11 | _adObject = hyBidNativeAd;
12 | _title = [hyBidNativeAd title];
13 | _body= [hyBidNativeAd body];
14 | _iconUrl = [hyBidNativeAd iconUrl];
15 | _rating = [hyBidNativeAd rating].doubleValue;
16 | _callToAction = [hyBidNativeAd callToActionTitle];
17 | _nativeViewClass = @"OMPubNativeNativeView";
18 | }
19 | return self;
20 | }
21 |
22 | @end
23 |
--------------------------------------------------------------------------------
/OMPubNativeAdapter/OMPubNativeNativeView.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMNativeViewCustomEvent.h"
6 | #import "OMPubNativeNativeClass.h"
7 | #import "OMPubNativeNativeAd.h"
8 | #import "OMPubNativeNative.h"
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface OMPubNativeNativeView : UIView
13 |
14 | @property (nonatomic, strong) OMPubNativeNativeAd *nativeAd;
15 | @property (nonatomic, strong) HyBidNativeAdRenderer *renderer; // native view
16 | @property (nonatomic, strong) UIImageView *mediaView;
17 | - (instancetype)initWithFrame:(CGRect)frame;
18 |
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMPubNativeAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMSigMobAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 2.0.2
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMSigMobAdapter/OMSigMobAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMSigMobClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | static NSString * const SigMobAdapterVersion = @"2.0.8";
11 |
12 | @interface OMSigMobAdapter : NSObject
13 |
14 | + (NSString*)adapterVerison;
15 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
16 |
17 | +(void)setConsent:(BOOL)consent;
18 | +(void)setUserAge:(NSInteger)userAge;
19 | +(void)setUSPrivacyLimit:(BOOL)privacyLimit;
20 | +(void)setUserAgeRestricted:(BOOL)restricted;
21 | @end
22 |
23 | NS_ASSUME_NONNULL_END
24 |
--------------------------------------------------------------------------------
/OMSigMobAdapter/OMSigMobInterstitial.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMInterstitialCustomEvent.h"
6 | #import "OMSigMobInterstitialClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMSigMobInterstitial : NSObject
11 |
12 | @property (nonatomic, copy) NSString *pid;
13 | @property (nonatomic, strong) WindIntersititialAd *interstitialAd;
14 | @property (nonatomic, getter=isAdReady, readonly) BOOL ready;
15 | @property (nonatomic, weak) id delegate;
16 |
17 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
18 | - (void)loadAd;
19 | - (BOOL)isReady;
20 | - (void)show:(UIViewController*)vc;
21 |
22 | @end
23 |
24 | NS_ASSUME_NONNULL_END
25 |
--------------------------------------------------------------------------------
/OMSigMobAdapter/OMSigMobRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMRewardedVideoCustomEvent.h"
6 | #import "OMSigMobRewardedVideoClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMSigMobRewardedVideo : NSObject
11 |
12 | @property (nonatomic, copy) NSString *pid;
13 | @property (nonatomic, strong) WindRewardVideoAd *rewardedVideoAd;
14 | @property (nonatomic, getter=isAdReady, readonly) BOOL ready;
15 | @property (nonatomic, weak) id delegate;
16 |
17 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
18 | - (void)loadAd;
19 | - (BOOL)isReady;
20 | - (void)show:(UIViewController*)vc;
21 |
22 | @end
23 |
24 | NS_ASSUME_NONNULL_END
25 |
--------------------------------------------------------------------------------
/OMSigMobAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMTapjoyAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.3.0
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/OMTapjoyAdapter/OMTapjoyAdapter.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMMediationAdapter.h"
6 | #import "OMTapjoyClass.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | static NSString * const TapjoyAdapterVersion = @"2.0.5";
11 |
12 | @interface OMTapjoyAdapter : NSObject
13 | @property (nonatomic, copy, nullable) OMMediationAdapterInitCompletionBlock initBlock;
14 |
15 | + (NSString*)adapterVerison;
16 | + (void)initSDKWithConfiguration:(NSDictionary *)configuration completionHandler:(OMMediationAdapterInitCompletionBlock)completionHandler;
17 | + (instancetype)sharedInstance;
18 | + (void)setConsent:(BOOL)consent;
19 | + (void)setUSPrivacyLimit:(BOOL)privacyLimit;
20 | +(void)setUserAgeRestricted:(BOOL)restricted;
21 | @end
22 |
23 | NS_ASSUME_NONNULL_END
24 |
--------------------------------------------------------------------------------
/OMTapjoyAdapter/OMTapjoyRewardedVideo.h:
--------------------------------------------------------------------------------
1 | // Copyright 2020 ADTIMING TECHNOLOGY COMPANY LIMITED
2 | // Licensed under the GNU Lesser General Public License Version 3
3 |
4 | #import
5 | #import "OMTapjoyClass.h"
6 | #import "OMRewardedVideoCustomEvent.h"
7 |
8 | NS_ASSUME_NONNULL_BEGIN
9 |
10 | @interface OMTapjoyRewardedVideo : NSObject
11 | @property (nonatomic, copy) NSString *pid;
12 | @property (nonatomic, strong) TJPlacement *tapjoyPlacement;
13 | @property (nonatomic, weak) id delegate;
14 |
15 | - (instancetype)initWithParameter:(NSDictionary*)adParameter;
16 | - (void)loadAd;
17 | - (BOOL)isReady;
18 | - (void)show:(UIViewController*)vc;
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/OMTapjoyAdapter/include/Empty.h:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/OMTencentAdAdapter/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |