diff --git a/AnyThinkAds/Api/ATAdEventArgs.cs b/AnyThinkAds/Api/ATAdEventArgs.cs index b7b787b..795744a 100644 --- a/AnyThinkAds/Api/ATAdEventArgs.cs +++ b/AnyThinkAds/Api/ATAdEventArgs.cs @@ -29,14 +29,14 @@ namespace AnyThinkAds.Api public String errorMessage { get; } public String errorCode { get; } - public ATAdErrorEventArgs(String placementId, String message, String code) + public ATAdErrorEventArgs(String placementId, String code, String message) : base(placementId) { errorMessage = message; errorCode = code; } - public ATAdErrorEventArgs(String placementId, String callbackJson, String message, String code) + public ATAdErrorEventArgs(String placementId, String callbackJson, String code, String message) : base(placementId, callbackJson) { errorMessage = message; diff --git a/AnyThinkAds/Platform/Android/ATBannerAdClient.cs b/AnyThinkAds/Platform/Android/ATBannerAdClient.cs index ea27314..7428ead 100644 --- a/AnyThinkAds/Platform/Android/ATBannerAdClient.cs +++ b/AnyThinkAds/Platform/Android/ATBannerAdClient.cs @@ -232,7 +232,7 @@ namespace AnyThinkAds.Android public void onBannerFailed(string placementId,string code, string error) { Debug.Log("onBannerFailed...unity3d."); - onAdLoadFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, error, code)); + onAdLoadFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, code, error)); } //广告点击 @@ -265,7 +265,7 @@ namespace AnyThinkAds.Android public void onBannerAutoRefreshFail(string placementId, string code, string msg) { Debug.Log("onBannerAutoRefreshFail...unity3d."); - onAdAutoRefreshFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, msg, code)); + onAdAutoRefreshFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, code, msg)); } // Adsource Listener diff --git a/AnyThinkAds/Platform/Android/ATInterstitialAdClient.cs b/AnyThinkAds/Platform/Android/ATInterstitialAdClient.cs index b98de99..1e43b1f 100644 --- a/AnyThinkAds/Platform/Android/ATInterstitialAdClient.cs +++ b/AnyThinkAds/Platform/Android/ATInterstitialAdClient.cs @@ -213,7 +213,7 @@ namespace AnyThinkAds.Android public void onInterstitialAdLoadFail(string placementId,string code, string error) { Debug.Log("onInterstitialAdFailed...unity3d."); - onAdLoadFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, error, code)); + onAdLoadFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, code, error)); } //开始播放 @@ -234,13 +234,13 @@ namespace AnyThinkAds.Android public void onInterstitialAdVideoError(string placementId,string code, string error) { Debug.Log("onInterstitialAdPlayFailed...unity3d."); - onAdVideoFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, error, code)); + onAdVideoFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, code, error)); } //展示失败 public void OnInterstitialAdFailedToShow(string placementID) { Debug.Log("Unity: ATInterstitialAdClient::OnInterstitialAdFailedToShow()"); - onAdShowFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementID, "Failed to show video ad", "-1")); + onAdShowFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementID, "-1", "Failed to show video ad")); } diff --git a/AnyThinkAds/Platform/Android/ATRewardedVideoAdClient.cs b/AnyThinkAds/Platform/Android/ATRewardedVideoAdClient.cs index 0970bd8..bac2219 100644 --- a/AnyThinkAds/Platform/Android/ATRewardedVideoAdClient.cs +++ b/AnyThinkAds/Platform/Android/ATRewardedVideoAdClient.cs @@ -176,7 +176,7 @@ namespace AnyThinkAds.Android public void onRewardedVideoAdFailed(string placementId,string code, string error) { Debug.Log("onRewardedVideoAdFailed...unity3d."); - onAdLoadFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, error, code)); + onAdLoadFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, code, error)); } @@ -197,7 +197,7 @@ namespace AnyThinkAds.Android public void onRewardedVideoAdPlayFailed(string placementId,string code, string error) { Debug.Log("onRewardedVideoAdPlayFailed...unity3d."); - onAdVideoFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, error, code)); + onAdVideoFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, code, error)); } public void onRewardedVideoAdClosed(string placementId,bool isRewarded, string callbackJson) @@ -237,7 +237,7 @@ namespace AnyThinkAds.Android public void onRewardedVideoAdAgainPlayFailed(string placementId, string code, string error) { Debug.Log("onRewardedVideoAdAgainPlayFailed...unity3d."); - onPlayAgainFailure?.Invoke(this, new ATAdErrorEventArgs(placementId, error, code)); + onPlayAgainFailure?.Invoke(this, new ATAdErrorEventArgs(placementId, code, error)); } @@ -271,7 +271,7 @@ namespace AnyThinkAds.Android public void onAdSourceBiddingFail(string placementId, string callbackJson, string code, string error) { Debug.Log("onAdSourceBiddingFail...unity3d." + placementId + "," + code + "," + error + "," + callbackJson); - onAdSourceBiddingFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, error, code)); + onAdSourceBiddingFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, code, error)); } public void onAdSourceAttempt(string placementId, string callbackJson) @@ -289,7 +289,7 @@ namespace AnyThinkAds.Android public void onAdSourceLoadFail(string placementId, string callbackJson, string code, string error) { Debug.Log("onAdSourceLoadFail...unity3d." + placementId + "," + code + "," + error + "," + callbackJson); - onAdSourceLoadFailureEvent?.Invoke(this,new ATAdErrorEventArgs(placementId, error, code)); + onAdSourceLoadFailureEvent?.Invoke(this,new ATAdErrorEventArgs(placementId, code, error)); } diff --git a/AnyThinkAds/Platform/iOS/ATBannerAdClient.cs b/AnyThinkAds/Platform/iOS/ATBannerAdClient.cs index 2d3e4db..2ada3a2 100644 --- a/AnyThinkAds/Platform/iOS/ATBannerAdClient.cs +++ b/AnyThinkAds/Platform/iOS/ATBannerAdClient.cs @@ -103,7 +103,7 @@ namespace AnyThinkAds.iOS { public void OnBannerAdLoadFail(string placementId, string code, string message) { Debug.Log("Unity: HBBannerAdWrapper::OnBannerAdLoadFail()"); - onAdLoadFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, message, code)); + onAdLoadFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, code, message)); } public void OnBannerAdImpress(string placementId, string callbackJson) { @@ -123,7 +123,7 @@ namespace AnyThinkAds.iOS { public void OnBannerAdAutoRefreshFail(string placementId, string code, string message) { Debug.Log("Unity: HBBannerAdWrapper::OnBannerAdAutoRefreshFail()"); - onAdAutoRefreshFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, message, code)); + onAdAutoRefreshFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, code, message)); } public void OnBannerAdClose(string placementId) { diff --git a/AnyThinkAds/Platform/iOS/ATInterstitialAdClient.cs b/AnyThinkAds/Platform/iOS/ATInterstitialAdClient.cs index a83aaa1..1e15d79 100644 --- a/AnyThinkAds/Platform/iOS/ATInterstitialAdClient.cs +++ b/AnyThinkAds/Platform/iOS/ATInterstitialAdClient.cs @@ -82,12 +82,12 @@ namespace AnyThinkAds.iOS { public void OnInterstitialAdLoadFailure(string placementID, string code, string error) { Debug.Log("onInterstitialAdFailed...unity3d."); - onAdLoadFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementID, error, code)); + onAdLoadFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementID, code, error)); } public void OnInterstitialAdVideoPlayFailure(string placementID, string code, string error) { Debug.Log("Unity: ATInterstitialAdClient::OnInterstitialAdVideoPlayFailure()"); - onAdVideoFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementID, error, code)); + onAdVideoFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementID, code, error)); } public void OnInterstitialAdVideoPlayStart(string placementID, string callbackJson) { @@ -107,7 +107,7 @@ namespace AnyThinkAds.iOS { public void OnInterstitialAdFailedToShow(string placementID) { Debug.Log("Unity: ATInterstitialAdClient::OnInterstitialAdFailedToShow()"); - onAdShowFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementID, "Failed to show video ad", "-1")); + onAdShowFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementID, "-1", "Failed to show video ad")); } public void OnInterstitialAdClick(string placementID, string callbackJson) { diff --git a/AnyThinkAds/Platform/iOS/ATRewardedVideoAdClient.cs b/AnyThinkAds/Platform/iOS/ATRewardedVideoAdClient.cs index cede10b..5a26c38 100644 --- a/AnyThinkAds/Platform/iOS/ATRewardedVideoAdClient.cs +++ b/AnyThinkAds/Platform/iOS/ATRewardedVideoAdClient.cs @@ -188,7 +188,7 @@ namespace AnyThinkAds.iOS { public void onRewardedVideoAdFailed(string placementId, string code, string error) { Debug.Log("Unity: ATRewardedVideoAdClient::onRewardedVideoAdFailed()"); - onAdLoadFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, error, code)); + onAdLoadFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, code, error)); } public void onRewardedVideoAdPlayStart(string placementId, string callbackJson) { @@ -203,7 +203,7 @@ namespace AnyThinkAds.iOS { public void onRewardedVideoAdPlayFailed(string placementId, string code, string error) { Debug.Log("Unity: ATRewardedVideoAdClient::onRewardedVideoAdPlayFailed()"); - onAdVideoFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, error, code)); + onAdVideoFailureEvent?.Invoke(this, new ATAdErrorEventArgs(placementId, code, error)); } public void onRewardedVideoAdClosed(string placementId, bool isRewarded, string callbackJson) { @@ -238,7 +238,7 @@ namespace AnyThinkAds.iOS { public void onRewardedVideoAdAgainPlayFailed(string placementId, string code, string error) { Debug.Log("Unity: ATRewardedVideoAdClient::onRewardedVideoAdAgainPlayFailed()"); - onPlayAgainFailure?.Invoke(this, new ATAdErrorEventArgs(placementId, error, code)); + onPlayAgainFailure?.Invoke(this, new ATAdErrorEventArgs(placementId, code, error)); } diff --git a/AnyThinkAds/Plugins/Android/AndroidManifest.xml b/AnyThinkAds/Plugins/Android/AndroidManifest.xml index a2788cd..c7f46f8 100644 --- a/AnyThinkAds/Plugins/Android/AndroidManifest.xml +++ b/AnyThinkAds/Plugins/Android/AndroidManifest.xml @@ -23,21 +23,21 @@ - - - - + + + + - + - + diff --git a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_banner.aar b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_banner.aar index 10e675b..0b1e617 100644 Binary files a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_banner.aar and b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_banner.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_china_core.aar b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_china_core.aar index 7a26a63..03cf866 100644 Binary files a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_china_core.aar and b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_china_core.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_core.aar b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_core.aar index 0bbe522..5a9f71f 100644 Binary files a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_core.aar and b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_core.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_interstitial.aar b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_interstitial.aar index 1cc2abf..72eecf8 100644 Binary files a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_interstitial.aar and b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_interstitial.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_native.aar b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_native.aar index f15cbd5..3863423 100644 Binary files a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_native.aar and b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_native.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_rewardvideo.aar b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_rewardvideo.aar index d46f9d6..8798a4a 100644 Binary files a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_rewardvideo.aar and b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_rewardvideo.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_splash.aar b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_splash.aar index 3667f06..335d367 100644 Binary files a/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_splash.aar and b/AnyThinkAds/Plugins/Android/China/anythink_base/anythink_splash.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/mediation/gdt/GDTSDK.unionNormal.4.510.1380.aar b/AnyThinkAds/Plugins/Android/China/mediation/gdt/GDTSDK.unionNormal.4.510.1380.aar deleted file mode 100644 index 47b584e..0000000 Binary files a/AnyThinkAds/Plugins/Android/China/mediation/gdt/GDTSDK.unionNormal.4.510.1380.aar and /dev/null differ diff --git a/AnyThinkAds/Plugins/Android/China/mediation/gdt/GDTSDK.unionNormal.4.511.1381.aar b/AnyThinkAds/Plugins/Android/China/mediation/gdt/GDTSDK.unionNormal.4.511.1381.aar new file mode 100644 index 0000000..b587ac5 Binary files /dev/null and b/AnyThinkAds/Plugins/Android/China/mediation/gdt/GDTSDK.unionNormal.4.511.1381.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/mediation/pangle/open_ad_sdk_5.0.0.4.aar.meta b/AnyThinkAds/Plugins/Android/China/mediation/gdt/GDTSDK.unionNormal.4.511.1381.aar.meta similarity index 93% rename from AnyThinkAds/Plugins/Android/China/mediation/pangle/open_ad_sdk_5.0.0.4.aar.meta rename to AnyThinkAds/Plugins/Android/China/mediation/gdt/GDTSDK.unionNormal.4.511.1381.aar.meta index 2d8ddf5..9177b45 100644 --- a/AnyThinkAds/Plugins/Android/China/mediation/pangle/open_ad_sdk_5.0.0.4.aar.meta +++ b/AnyThinkAds/Plugins/Android/China/mediation/gdt/GDTSDK.unionNormal.4.511.1381.aar.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 1610503b01fd04462a2e8403e6b665b5 +guid: 6258abbd822934cb392714e9c03e7f19 PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/AnyThinkAds/Plugins/Android/China/mediation/gdt/anythink_network_unity_gdt.aar b/AnyThinkAds/Plugins/Android/China/mediation/gdt/anythink_network_unity_gdt.aar index aa003b8..b2927bd 100644 Binary files a/AnyThinkAds/Plugins/Android/China/mediation/gdt/anythink_network_unity_gdt.aar and b/AnyThinkAds/Plugins/Android/China/mediation/gdt/anythink_network_unity_gdt.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/mediation/gdt/anythink_network_unity_gdt.aar.meta b/AnyThinkAds/Plugins/Android/China/mediation/gdt/anythink_network_unity_gdt.aar.meta index 2ca3328..0435870 100644 --- a/AnyThinkAds/Plugins/Android/China/mediation/gdt/anythink_network_unity_gdt.aar.meta +++ b/AnyThinkAds/Plugins/Android/China/mediation/gdt/anythink_network_unity_gdt.aar.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 5fbff6d0de904402ba1ed3df04ad07a3 +guid: 8e1455b7aa64746c8b9f3e6054db6dfb PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/anythink_network_unity_kuaishou.aar b/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/anythink_network_unity_kuaishou.aar index 2836bb4..b078d8a 100644 Binary files a/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/anythink_network_unity_kuaishou.aar and b/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/anythink_network_unity_kuaishou.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/kssdk-ad-3.3.34-publishRelease-e569e9b00.aar b/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/kssdk-ad-3.3.34-publishRelease-e569e9b00.aar deleted file mode 100644 index 17b995b..0000000 Binary files a/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/kssdk-ad-3.3.34-publishRelease-e569e9b00.aar and /dev/null differ diff --git a/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/kssdk-ad-3.3.40-publishRelease-480182aa2c.aar b/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/kssdk-ad-3.3.40-publishRelease-480182aa2c.aar new file mode 100644 index 0000000..d861bcf Binary files /dev/null and b/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/kssdk-ad-3.3.40-publishRelease-480182aa2c.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/mediation/gdt/GDTSDK.unionNormal.4.510.1380.aar.meta b/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/kssdk-ad-3.3.40-publishRelease-480182aa2c.aar.meta similarity index 93% rename from AnyThinkAds/Plugins/Android/China/mediation/gdt/GDTSDK.unionNormal.4.510.1380.aar.meta rename to AnyThinkAds/Plugins/Android/China/mediation/kuaishou/kssdk-ad-3.3.40-publishRelease-480182aa2c.aar.meta index 4f5a1e5..18c6491 100644 --- a/AnyThinkAds/Plugins/Android/China/mediation/gdt/GDTSDK.unionNormal.4.510.1380.aar.meta +++ b/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/kssdk-ad-3.3.40-publishRelease-480182aa2c.aar.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: c345117aff0e042ac85ce3315da4d6fb +guid: 22054e0f575364132bd673b6f3e5e611 PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/AnyThinkAds/Plugins/Android/China/mediation/pangle/anythink_network_unity_pangle.aar b/AnyThinkAds/Plugins/Android/China/mediation/pangle/anythink_network_unity_pangle.aar index 86ba265..d7ac996 100644 Binary files a/AnyThinkAds/Plugins/Android/China/mediation/pangle/anythink_network_unity_pangle.aar and b/AnyThinkAds/Plugins/Android/China/mediation/pangle/anythink_network_unity_pangle.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/mediation/pangle/open_ad_sdk_5.0.0.4.aar b/AnyThinkAds/Plugins/Android/China/mediation/pangle/open_ad_sdk_5.1.0.2.aar similarity index 55% rename from AnyThinkAds/Plugins/Android/China/mediation/pangle/open_ad_sdk_5.0.0.4.aar rename to AnyThinkAds/Plugins/Android/China/mediation/pangle/open_ad_sdk_5.1.0.2.aar index 25e65f7..a003303 100644 Binary files a/AnyThinkAds/Plugins/Android/China/mediation/pangle/open_ad_sdk_5.0.0.4.aar and b/AnyThinkAds/Plugins/Android/China/mediation/pangle/open_ad_sdk_5.1.0.2.aar differ diff --git a/AnyThinkAds/Plugins/Android/libs/anythink_network_mobrain.aar.meta b/AnyThinkAds/Plugins/Android/China/mediation/pangle/open_ad_sdk_5.1.0.2.aar.meta similarity index 93% rename from AnyThinkAds/Plugins/Android/libs/anythink_network_mobrain.aar.meta rename to AnyThinkAds/Plugins/Android/China/mediation/pangle/open_ad_sdk_5.1.0.2.aar.meta index 0e15f03..25319ec 100644 --- a/AnyThinkAds/Plugins/Android/libs/anythink_network_mobrain.aar.meta +++ b/AnyThinkAds/Plugins/Android/China/mediation/pangle/open_ad_sdk_5.1.0.2.aar.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 886377a8441c8a54fb70274bb3cbe937 +guid: ea079269180894350971b9be667772ce PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/AnyThinkAds/Plugins/Android/anythink_bridge.aar b/AnyThinkAds/Plugins/Android/anythink_bridge.aar index a9e5ee4..c5d606d 100644 Binary files a/AnyThinkAds/Plugins/Android/anythink_bridge.aar and b/AnyThinkAds/Plugins/Android/anythink_bridge.aar differ diff --git a/AnyThinkAds/Plugins/Android/libs/anythink_network_mobrain.aar b/AnyThinkAds/Plugins/Android/libs/anythink_network_mobrain.aar deleted file mode 100644 index df8edb9..0000000 Binary files a/AnyThinkAds/Plugins/Android/libs/anythink_network_mobrain.aar and /dev/null differ diff --git a/AnyThinkAds/Plugins/Android/libs/anythink_network_mobrain_plus.aar b/AnyThinkAds/Plugins/Android/libs/anythink_network_mobrain_plus.aar new file mode 100644 index 0000000..8483c33 Binary files /dev/null and b/AnyThinkAds/Plugins/Android/libs/anythink_network_mobrain_plus.aar differ diff --git a/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/kssdk-ad-3.3.34-publishRelease-e569e9b00.aar.meta b/AnyThinkAds/Plugins/Android/libs/anythink_network_mobrain_plus.aar.meta similarity index 93% rename from AnyThinkAds/Plugins/Android/China/mediation/kuaishou/kssdk-ad-3.3.34-publishRelease-e569e9b00.aar.meta rename to AnyThinkAds/Plugins/Android/libs/anythink_network_mobrain_plus.aar.meta index 3b53639..04e571c 100644 --- a/AnyThinkAds/Plugins/Android/China/mediation/kuaishou/kssdk-ad-3.3.34-publishRelease-e569e9b00.aar.meta +++ b/AnyThinkAds/Plugins/Android/libs/anythink_network_mobrain_plus.aar.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 4abbc90e2bfe9438083fa2bad2088718 +guid: a11f4c3dfcecb104490f1276247179ea PluginImporter: externalObjects: {} serializedVersion: 2 diff --git a/AnyThinkAds/Plugins/Android/libs/mediation_ad_sdk_3.6.0.2.aar b/AnyThinkAds/Plugins/Android/libs/mediation_ad_sdk_3.6.0.2.aar deleted file mode 100644 index c9343e3..0000000 Binary files a/AnyThinkAds/Plugins/Android/libs/mediation_ad_sdk_3.6.0.2.aar and /dev/null differ diff --git a/AnyThinkAds/Plugins/Android/libs/mediation_ad_sdk_3.6.0.2.aar.meta b/AnyThinkAds/Plugins/Android/libs/mediation_ad_sdk_3.6.0.2.aar.meta deleted file mode 100644 index c8ad817..0000000 --- a/AnyThinkAds/Plugins/Android/libs/mediation_ad_sdk_3.6.0.2.aar.meta +++ /dev/null @@ -1,32 +0,0 @@ -fileFormatVersion: 2 -guid: 74e09de28a301e94384f0f4ea7700036 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - Android: Android - second: - enabled: 1 - settings: {} - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/AnyThinkAds/Plugins/Android/libs/mediation_ad_sdk_3.9.0.2.aar b/AnyThinkAds/Plugins/Android/libs/mediation_ad_sdk_3.9.0.2.aar new file mode 100644 index 0000000..3e9eaa4 Binary files /dev/null and b/AnyThinkAds/Plugins/Android/libs/mediation_ad_sdk_3.9.0.2.aar differ diff --git a/AnyThinkAds/Plugins/Android/libs/mediation_ad_sdk_3.9.0.2.aar.meta b/AnyThinkAds/Plugins/Android/libs/mediation_ad_sdk_3.9.0.2.aar.meta new file mode 100644 index 0000000..c882b78 --- /dev/null +++ b/AnyThinkAds/Plugins/Android/libs/mediation_ad_sdk_3.9.0.2.aar.meta @@ -0,0 +1,32 @@ +fileFormatVersion: 2 +guid: 1dc9f6f2d58ae7b479de2b0972d6d2ae +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Android: Android + second: + enabled: 1 + settings: {} + - first: + Any: + second: + enabled: 0 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/Android/libs/pangle_adapter_4.7.1.2.0.aar b/AnyThinkAds/Plugins/Android/libs/pangle_adapter_4.7.1.2.0.aar deleted file mode 100644 index 027e0a0..0000000 Binary files a/AnyThinkAds/Plugins/Android/libs/pangle_adapter_4.7.1.2.0.aar and /dev/null differ diff --git a/AnyThinkAds/Plugins/Android/libs/pangle_adapter_4.7.1.2.0.aar.meta b/AnyThinkAds/Plugins/Android/libs/pangle_adapter_4.7.1.2.0.aar.meta deleted file mode 100644 index 47cd41a..0000000 --- a/AnyThinkAds/Plugins/Android/libs/pangle_adapter_4.7.1.2.0.aar.meta +++ /dev/null @@ -1,32 +0,0 @@ -fileFormatVersion: 2 -guid: 08bd2788a542b7846a7b963ec8761583 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 0 - validateReferences: 1 - platformData: - - first: - Android: Android - second: - enabled: 1 - settings: {} - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 0 - settings: - DefaultValueInitialized: true - userData: - assetBundleName: - assetBundleVariant: diff --git a/AnyThinkAds/Plugins/Android/libs/pangle_adapter_5.0.0.4.0.aar b/AnyThinkAds/Plugins/Android/libs/pangle_adapter_5.0.0.4.0.aar new file mode 100644 index 0000000..037bbda Binary files /dev/null and b/AnyThinkAds/Plugins/Android/libs/pangle_adapter_5.0.0.4.0.aar differ diff --git a/AnyThinkAds/Plugins/Android/libs/pangle_adapter_5.0.0.4.0.aar.meta b/AnyThinkAds/Plugins/Android/libs/pangle_adapter_5.0.0.4.0.aar.meta new file mode 100644 index 0000000..4a5bb7c --- /dev/null +++ b/AnyThinkAds/Plugins/Android/libs/pangle_adapter_5.0.0.4.0.aar.meta @@ -0,0 +1,32 @@ +fileFormatVersion: 2 +guid: 4aed7ebe9b7827b49992bb8a511f2d0c +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Android: Android + second: + enabled: 1 + settings: {} + - first: + Any: + second: + enabled: 0 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/Core/Editor/Dependencies.xml b/AnyThinkAds/Plugins/iOS/Core/Editor/Dependencies.xml index a8b4a4c..bf417e0 100644 --- a/AnyThinkAds/Plugins/iOS/Core/Editor/Dependencies.xml +++ b/AnyThinkAds/Plugins/iOS/Core/Editor/Dependencies.xml @@ -1,5 +1,5 @@ - + diff --git a/AnyThinkAds/Plugins/iOS/gdt/Editor/Dependencies.xml b/AnyThinkAds/Plugins/iOS/gdt/Editor/Dependencies.xml index 6820747..b80b121 100644 --- a/AnyThinkAds/Plugins/iOS/gdt/Editor/Dependencies.xml +++ b/AnyThinkAds/Plugins/iOS/gdt/Editor/Dependencies.xml @@ -1,5 +1,5 @@ - + diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus.meta b/AnyThinkAds/Plugins/iOS/gromore_plus.meta new file mode 100644 index 0000000..b231c6c --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0cb42c988c5f1284082deff139aaa564 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework.meta new file mode 100644 index 0000000..fe54a76 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework.meta @@ -0,0 +1,28 @@ +fileFormatVersion: 2 +guid: 0e087ddcfe84f4a48a9a48ae9f89395a +folderAsset: yes +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 1 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/ABUAdCsjAdapter b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/ABUAdCsjAdapter new file mode 100644 index 0000000..e69de29 diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/ABUAdCsjAdapter.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/ABUAdCsjAdapter.meta new file mode 100644 index 0000000..18d8343 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/ABUAdCsjAdapter.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: ffe6816d02a3a07489a09317e3168219 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Headers.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Headers.meta new file mode 100644 index 0000000..47eb64c --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Headers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 98583afab0445e54ea20d0735858101d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Headers/ABUCsjAdapter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Headers/ABUCsjAdapter.h new file mode 100644 index 0000000..05f266d --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Headers/ABUCsjAdapter.h @@ -0,0 +1,12 @@ +// +// ABUCsjAdapter.h +// Pods +// +// Created by bytedance on 2021/12/7. +// + +#ifndef ABUCsjAdapter_h +#define ABUCsjAdapter_h + + +#endif /* ABUCsjAdapter_h */ diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Headers/ABUCsjAdapter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Headers/ABUCsjAdapter.h.meta new file mode 100644 index 0000000..24d998d --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Headers/ABUCsjAdapter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2eba851f150d930479e3e4ee4c9a2ee9 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Modules.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Modules.meta new file mode 100644 index 0000000..f3a3d1b --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Modules.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 06d6800334349b247bf0a494688d6e4e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Modules/module.modulemap b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Modules/module.modulemap new file mode 100644 index 0000000..8cb971c --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module ABUAdCsjAdapter { + umbrella header "ABUAdCsjAdapter.h" + + export * + module * { export * } +} diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Modules/module.modulemap.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Modules/module.modulemap.meta new file mode 100644 index 0000000..5bab3f8 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdCsjAdapter.framework/Modules/module.modulemap.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 55548a1cdeadaa947a0f6dc57c889a6f +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework.meta new file mode 100644 index 0000000..d2dc986 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework.meta @@ -0,0 +1,28 @@ +fileFormatVersion: 2 +guid: 9afcca388cd6bb44689e178d50865c2a +folderAsset: yes +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 1 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/ABUAdSDK b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/ABUAdSDK new file mode 100644 index 0000000..e69de29 diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/ABUAdSDK.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/ABUAdSDK.meta new file mode 100644 index 0000000..cc838e3 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/ABUAdSDK.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 198d39cdbbd34f849826db113c148527 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers.meta new file mode 100644 index 0000000..80c45d3 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 52752c31733ff254d8486358ba9f54be +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdLoadInfo.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdLoadInfo.h new file mode 100644 index 0000000..c834954 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdLoadInfo.h @@ -0,0 +1,31 @@ +// +// ABUAdLoadInfo.h +// Ads-Mediation-CN +// +// Created by bytedance on 2022/1/12. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface ABUAdLoadInfo : NSObject + +/// network的广告位ID +@property (nonatomic, copy, readonly) NSString *mediationRit; + +/// network的名称,同平台配置 +@property (nonatomic, copy, readonly) NSString *adnName; + +/// network的自定义名称,同平台配置,非自定义时为nil +@property (nonatomic, copy, readonly, nullable) NSString *customAdnName; + +/// 错误码 +@property (nonatomic, assign, readonly) NSInteger errCode; + +/// 错误描述 +@property (nonatomic, copy, readonly) NSString *errMsg; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdLoadInfo.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdLoadInfo.h.meta new file mode 100644 index 0000000..3867025 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdLoadInfo.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2bc3e4bf0070c1e4bbcc1a9ca7a091cf +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdLoadingParams.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdLoadingParams.h new file mode 100644 index 0000000..b403f06 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdLoadingParams.h @@ -0,0 +1,133 @@ +// +// Created by bytedance on 2021/6/24. +// + +#import + +#pragma mark - 通用参数 +/// 聚合广告请求ID,NSString +extern NSString *const ABUAdLoadingParamLinkID; + +/// 聚合广告位ID,NSString +extern NSString *const ABUAdLoadingParamMediationRitID; + +/// 场景ID,NSString +extern NSString *const ABUAdLoadingParamScenarioID; + +/// ADN广告位ID,NSString +extern NSString *const ABUAdLoadingParamMediaRitID; + +/// ADN广告位名称,平台配置名称,NSString +extern NSString *const ABUAdLoadingParamMediaName; + +/// 请求广告的渲染类型,NSNumber/NSInteger,0 无需区分渲染类型; 1 ADN提供渲染; 2 开发者自渲染 +extern NSString *const ABUAdLoadingParamExpressAdType; + +/// 是否请求模板广告的描述信息,NSDictionary +extern NSString *const ABUAdLoadingParamExpressAdTypeInfos; + +/// 媒体专属扩展参数, NSDictionary +extern NSString *const ABUAdLoadingParamMediaExtra; + +/// 广告位中混用其他类型代码位时的代码位类型,0-未混用 3-banner类型 4-信息流类型 +extern NSString *const ABUAdLoadingParamAdSubType; + +#pragma mark - 自定义补充 + +/// 自定义Adapter扩展参数, NSString,JSON格式 +extern NSString *const ABUAdLoadingParamCustomJson; + +/// 获取竞价类型,NSNumber/NSInteger,0-普通广告位 1-Client竞价广告位 100-P层数据位 +extern NSString *const ABUAdLoadingParamBiddingType; + +#pragma mark - Banner + +/// 期望广告尺寸,NSValue/CGSize +extern NSString *const ABUAdLoadingParamBNExpectSize; + +#pragma mark - 插屏广告 +/// 期望广告尺寸,NSValue/CGSize +extern NSString *const ABUAdLoadingParamISExpectSize; + +/// 是否是静音,NSNumber/BOOL +extern NSString *const ABUAdLoadingParamISIsMute; + +#pragma mark - 全屏视频 + +/// 是否是静音,NSNumber/BOOL +extern NSString *const ABUAdLoadingParamFVIsMute; + +#pragma mark - 激励视频 + +/// 是否是静音,NSNumber/BOOL +extern NSString *const ABUAdLoadingParamRVIsMute; + +/// 用户标识, NSString +extern NSString *const ABUAdLoadingParamRVUserID; + +/// 奖励名称, NSString +extern NSString *const ABUAdLoadingParamRVRewardName; + +/// 奖励金额,NSNumber/NSInteger +extern NSString *const ABUAdLoadingParamRVRewardAmount; + +/// 扩展信息, NSString +extern NSString *const ABUAdLoadingParamRVExtra; + +#pragma mark - Splash广告 +/// 期望ZoomOutView, NSNumber/BOOL +extern NSString *const ABUAdLoadingParamSPNeedZoomOutIfCan; + +/// 是否需要开屏卡片功能,NSNumber/BOOL +extern NSString *const ABUAdLoadingParamSPSupportCardView; + +/// 自定义底部视图,UIView +extern NSString *const ABUAdLoadingParamSPCustomBottomView; + +/// 期望广告尺寸,NSValue/CGSize +extern NSString *const ABUAdLoadingParamSPExpectSize; + +/// 开屏超时时间,NSNumber/NSInteger +extern NSString *const ABUAdLoadingParamSPTolerateTimeout; + +/// 开屏点击区域,NSNumber/NSInteger/ABUSplashButtonType +extern NSString *const ABUAdLoadingParamSPButtonType; + +#pragma mark - Native/Draw广告 +/// 期望广告图片尺寸,NSValue/CGSize +extern NSString *const ABUAdLoadingParamNAExpectImageSize; + +/// 期望广告尺寸,NSValue/CGSize +extern NSString *const ABUAdLoadingParamNAExpectSize; + +/// 是否是静音,NSNumber/BOOL +extern NSString *const ABUAdLoadingParamNAIsMute; + +/// 加载广告数量,NSNumber/NSInteger +extern NSString *const ABUAdLoadingParamNALoadAdCount; + +#pragma mark - 加载回调参数,即adapter开发者通过`- ***Ad:didLoadSuccess/Fail*** ext:`中NSDictionary回调的数据 + +/// 【可选】AND广告ECPM,NSString,单位分 +extern NSString *const ABUMediaAdLoadingExtECPM; + +/// 【可选】AND广告ECPMLevel,NSString +extern NSString *const ABUMediaAdLoadingExtECPMLevel; + +/// 【可选】ADN广告的加载标识,NSString +extern NSString *const ABUMediaAdLoadingExtRequestID; + +/// 【可选】AND广告唯一标识,NSString +extern NSString *const ABUMediaAdLoadingExtAdID; + +/// 【可选】AND广告创意唯一标识,NSString +extern NSString *const ABUMediaAdLoadingExtCreativeID; + +/// 【可选】直播间信息,NSDictionary +extern NSString *const ABUMediaAdLoadingExtLiveRoom; + +/// 【可选】商品信息,NSDictionary +extern NSString *const ABUMediaAdLoadingExtProduct; + +/// 【可选】卷信息,NSDictionary +extern NSString *const ABUMediaAdLoadingExtCoupon; diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdLoadingParams.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdLoadingParams.h.meta new file mode 100644 index 0000000..86efa98 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdLoadingParams.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 61c3d8393d6a4374297bc9b74744c3f3 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDK.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDK.h new file mode 100644 index 0000000..9fbb9f1 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDK.h @@ -0,0 +1,60 @@ +// +// ABUAdSDK.h +// ABUAdSDK +// +// Created by wangchao on 2020/2/21. +// Copyright © 2020 bytedance. All rights reserved. +// + +#import + +//! Project version number for ABUAdSDK. +FOUNDATION_EXPORT double ABUAdSDKVersionNumber; + +//! Project version string for ABUAdSDK. +FOUNDATION_EXPORT const unsigned char ABUAdSDKVersionString[]; + +#pragma mark - 基本 +#import "ABUAdSDKManager.h" +#import "ABUPersonaliseConfigAdapter.h" +#import "ABURitInfo.h" + +#pragma mark - 隐私 +#import "ABUPrivacyConfig.h" + +#pragma mark - 广告类型 +#import "ABUBannerAd.h" +#import "ABURewardedVideoAd.h" +#import "ABUFullscreenVideoAd.h" +#import "ABUSplashAd.h" +#import "ABUNativeAdsManager.h" +#import "ABUInterstitialAd.h" +#import "ABUInterstitialProAd.h" +#import "ABUSplashUserData.h" +#import "ABUDrawAdsManager.h" + +#pragma mark - adapter 开发专用 +#import "ABUAdapterRegister.h" +#import "ABUAdLoadingParams.h" +#import "ABUMediatedNativeAd.h" +#import "ABUMediaBidResult.h" + +#import "ABUCustomBannerAdapter.h" +#import "ABUCustomRewardedVideoAdapter.h" +#import "ABUCustomFullscreenVideoAdapter.h" +#import "ABUCustomDrawAdapter.h" +#import "ABUCustomNativeAdapter.h" +#import "ABUCustomSplashAdapter.h" +#import "ABUCustomInterstitialAdapter.h" +#import "ABUCanvasView.h" +#import "ABUDislikeReason.h" + +#pragma mark - 辅助 +#import "ABUVersion.h" +#import "ABUDictionary.h" +#import "UIWindow+GroMore.h" +#import "ABUViewTracker.h" +#import "ABUViewTrackerHelper.h" +#import "ABUAdViewWitnessChecker.h" +#import "ABUVideoAdReporter.h" +#import "ABUDislikeReporter.h" diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDK.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDK.h.meta new file mode 100644 index 0000000..fd11836 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDK.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 80a26684850acbf429a9787bc4239f83 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDKConst.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDKConst.h new file mode 100644 index 0000000..33474d1 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDKConst.h @@ -0,0 +1,119 @@ +// +// ABUADSDK_const_h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/19. +// + +#ifndef ABUADSDK_const_h +#define ABUADSDK_const_h + +#pragma mark - 全屏视频、激励视频展示扩展 + +#pragma mark 扩展展示参数字段 ** swift请勿直接使用枚举,应使用rawValue +/// ABUShowExtroInfoKey, type of scene, only used for pangle SDK now.And the value of key see ABURitSceneType ABURitSceneType +static NSString * ABUShowExtroInfoKeySceneType = @"ABUShowExtroInfoKeySceneType"; + +/// scene description, the description defined by the developer, which needs to be assigned when ABUShowExtroInfoKeySceneType = 0 +static NSString * ABUShowExtroInfoKeySceneDescription = @"ABUShowExtroInfoKeySceneDescription"; + +#pragma mark 扩展展示参数补充 + +typedef NS_ENUM (NSInteger, ABURitSceneType) { + // custom + ABURitSceneType_custom = 0, + // “home_open_bonus”, Login/open rewards (login, sign-in, offline rewards doubling, etc.) + ABURitSceneType_home_open_bonus = 1, + // "home_svip_bonus", Special privileges (VIP privileges, daily rewards, etc.) + ABURitSceneType_home_svip_bonus = 2, + // "home_get_props", Watch rewarded video ad to gain skin, props, levels, skills, etc + ABURitSceneType_home_get_props = 3, + // "home_try_props", Watch rewarded video ad to try out skins, props, levels, skills, etc + ABURitSceneType_home_try_props = 4, + // "home_get_bonus", Watch rewarded video ad to get gold COINS, diamonds, etc + ABURitSceneType_home_get_bonus = 5, + // "home_gift_bonus", Sweepstakes, turntables, gift boxes, etc + ABURitSceneType_home_gift_bonus = 6, + // "game_start_bonus", Before the opening to obtain physical strength, opening to strengthen, opening buff, task props + ABURitSceneType_game_start_bonus = 7, + // "geme_reduce_waiting", Reduce wait and cooldown on skill CD, building CD, quest CD, etc + ABURitSceneType_game_reduce_waiting = 8, + // "game_more_opportunities", More chances (resurrect death, extra game time, decrypt tips, etc.) + ABURitSceneType_game_more_opportunities = 9, + // "game_finish_rewards", Settlement multiple times/extra bonus (completion of chapter, victory over boss, first place, etc.) + ABURitSceneType_game_finish_rewards = 10, + // "game_gift_bonus", The game dropped treasure box, treasures and so on + ABURitSceneType_game_gift_bonus = 11 +}; + +// 开屏点击区域类型 +typedef NS_ENUM(NSInteger, ABUSplashButtonType) { + ABUSplashButtonTypeFullScreen = 1, // The whole area of splash view will respond to click event + ABUSplashButtonTypeDownloadBar = 2 // The area of download bar in splash view will respond to click event +}; + +#pragma mark - 兼容处理 +#import "ABUDislikeWords.h" + +/// 三方Adn枚举 +typedef NS_ENUM (NSInteger, ABUAdnType) { + ABUAdnNoPermission = -3, // 无权限访问 + ABUAdnNoData = -2, // 暂时无真实数据,未获取到最佳广告,一般在未展示之前提前调用 + ABUAdnNone = 0, // 未知adn + ABUAdnPangle = 1, // pangle -> 穿山甲adn + ABUAdnAdmob = 2, // admob -> 谷歌Admob + ABUAdnGDT = 3, // gdt -> 腾讯广点通adn + ABUAdnMTG = 4, // mintegral -> Mintegral adn + ABUAdnUnity = 5, // unity -> unity adn + ABUAdnBaidu = 6, // baidu -> 百度adn + ABUAdnKs = 7, // ks -> 快手Adn + ABUAdnSigmob = 8, // sigmob -> Sigmob adn + ABUAdnKlevin = 9, // klevin -> Klevin游可赢 +}; + +// MSDK目前实际只有1,2,3,5,7,8 +typedef NS_ENUM (NSInteger, ABUAdSlotAdType) { + ABUAdSlotAdTypeUnknown = 0, + ABUAdSlotAdTypeBanner = 1, // banner ads + ABUAdSlotAdTypeInterstitial = 2, // interstitial ads + ABUAdSlotAdTypeSplash = 3, // splash ads + ABUAdSlotAdTypeFeed = 5, // feed ads + ABUAdSlotAdTypeRewardVideo = 7, // rewarded video ads + ABUAdSlotAdTypeFullscreenVideo = 8, // full-screen video ads + ABUAdSlotAdTypeDraw = 9 // draw ads +}; + +typedef NS_ENUM(NSInteger, ABUAdSlotPosition) { + ABUAdSlotPositionTop = 1, + ABUAdSlotPositionBottom = 2, + ABUAdSlotPositionFeed = 3, + ABUAdSlotPositionMiddle = 4, // for interstitial ad only + ABUAdSlotPositionFullscreen = 5, +}; + +typedef NS_ENUM(NSInteger, ABUBiddingType) { + ABUBiddingTypeUnknown = -1, + ABUBiddingTypeNormal = 0, + ABUBiddingTypeClient = 1, + ABUBiddingTypeServer = 2, + ABUBiddingTypeMulti = 3, + ABUBiddingTypePriority = 100 +}; + + +#pragma mark - 其他 + +#if defined(__has_attribute) +#if __has_attribute(deprecated) +#define ABU_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s))) +#define ABU_DEPRECATED_ATTRIBUTE __attribute__((deprecated)) +#else +#define ABU_DEPRECATED_MSG_ATTRIBUTE(s) +#define ABU_DEPRECATED_ATTRIBUTE +#endif +#else +#define ABU_DEPRECATED_MSG_ATTRIBUTE(s) +#define ABU_DEPRECATED_ATTRIBUTE +#endif + +#endif /* ABUADSDK_const_h */ diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDKConst.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDKConst.h.meta new file mode 100644 index 0000000..925d71c --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDKConst.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: bd464f75ef99d134f895a1f0c068e79f +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDKManager.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDKManager.h new file mode 100644 index 0000000..a2cb416 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDKManager.h @@ -0,0 +1,77 @@ +// +// ABUSDKManager.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/20. +// + +#import +#import "ABUUserConfig.h" +#import "ABUUserInfoForSegment.h" +#import "ABUAdSDKConst.h" + +@class ABUBaseAd; +NS_ASSUME_NONNULL_BEGIN + +__attribute__((objc_subclassing_restricted)) +/// SDK管理类 +@interface ABUAdSDKManager : NSObject + +/// GroMore SDK 版本 +@property (readonly, class) NSString *SDKVersion; + +/// 初始化GroMore方法,不初始化将无法使用GroMore的相关功能 +/// @param appId 在GroMore注册的应用ID +/// @param config 初始化配置回调 ++ (void)setupSDKWithAppId:(NSString *)appId config:(ABUUserConfig *(^)(ABUUserConfig *))config; + +/// 获取初始化时使用的应用ID ++ (NSString *)appID; + +/// 配置用户分组信息,可随时更新,但用户分组信息更新将触发配置重新加载,请谨慎使用 +/// @param userInfo 分组信息 ++ (void)setUserInfoForSegment:(nonnull ABUUserInfoForSegment *)userInfo; + +/// 获取当前主题模式 ++ (ABUAdSDKThemeStatus)themeStatus; + +/// 获取各类补充信息 ++ (NSDictionary *)getGMSDKExtraInfo; + +/// 获取配置是否已经加载 ++ (BOOL)configDidLoad; + +/// 添加配置加载成功回调,该回调会主动触发配置加载,并且仅会回调一次,监听者从内存总消失则不会回调 +/// @param observer 配置加载监听者,不会造成强引用,请放心使用 +/// @param action 加载成功回调 ++ (void)addConfigLoadSuccessObserver:(id _Nonnull)observer withAction:(void(^_Nonnull)(id _Nonnull observer))action; + +/// SDK init后更新extraDeviceMap,主要用于初始化时开发者自己的参数还未生成,需后续传入;!!!该接口会覆盖初始化传入的extraDeviceMap,开发者需自己做增量处理 +/// @param extraDeviceMap 额外信息 ++ (void)updateExtraDeviceMap:(NSDictionary *)extraDeviceMap; + +/// 旧版本兼容,初始化GroMore方法,请在初始化配置完成后调用 +/// @param appID 在GroMore注册的应用ID ++ (void)setAppID:(NSString *)appID ABU_DEPRECATED_MSG_ATTRIBUTE("Use setupSDKWithAppId:config: instead"); + +/// 旧版本兼容,设置扩展设备信息,如不了解该功能,请勿使用。 +/// @param extraDeviceStr 扩展设备信息,如@"[{\"device_id\":\"62271333038\"}]" ++ (void)setExtDeviceData:(NSString *)extraDeviceStr ABU_DEPRECATED_MSG_ATTRIBUTE("Use setupSDKWithAppId:config: or updateExtraDeviceMap: instead"); + +/// 旧版本兼容,配置日志信息 +/// @param level 日志信息级别,ABUAdSDKLogLevelNone为不开启日志,其他值为开启 +/// @param language 日志语言,已无效 ++ (void)setLoglevel:(ABUAdSDKLogLevel)level language:(ABUAdSDKLogLanguage)language ABU_DEPRECATED_MSG_ATTRIBUTE("Use setupSDKWithAppId:config: instead"); + +/// 设置广告主题,扩展暗黑模式 ++ (void)setThemeStatus:(ABUAdSDKThemeStatus)themeStatus; + +/// 触发首次预缓存,针对特定广告位 +/// @param infos 广告对象 +/// @param interval 指定每轮请求的时间间隔, 允许时间范围:1-10 +/// @param concurrent 并发请求的广告数, 允许个数范围:1-20 ++ (void)preloadAdsWithInfos:(NSArray<__kindof ABUBaseAd *> *)infos andInterval:(NSInteger)interval andConcurrent:(NSInteger)concurrent; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDKManager.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDKManager.h.meta new file mode 100644 index 0000000..cec9901 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdSDKManager.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: cebfabe6c5f6bcd4c9fd0a8c08cce009 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdViewWitnessChecker.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdViewWitnessChecker.h new file mode 100644 index 0000000..264d38d --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdViewWitnessChecker.h @@ -0,0 +1,26 @@ +// +// ABUAdViewWitnessChecker.h +// ABUAdSDK +// +// Created by wangchaop on 22/06/2020. +// Copyright © 2017 bytedance. All rights reserved. +// + +#import +#import "ABUViewTracker.h" + +@interface ABUAdViewWitnessChecker : NSObject + ++ (instancetype)sharedInstance; + ++ (NSTimeInterval)getWitnessTimeForAd:(id)ad; + ++ (void)setWitnessTimeForAd:(id)ad; + +- (void)removeAd:()ad; + +- (void)addViewTracker:(id)tracker; + +- (void)removeAllTracker; + +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdViewWitnessChecker.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdViewWitnessChecker.h.meta new file mode 100644 index 0000000..633746a --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdViewWitnessChecker.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 7bdce9a34f4367044bf34634e450102f +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdapterRegister.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdapterRegister.h new file mode 100644 index 0000000..cfc206c --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdapterRegister.h @@ -0,0 +1,31 @@ +// +// ABUAdapterRegister.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/24. +// + +#import +#import "ABUCustomConfigAdapter.h" + +NS_ASSUME_NONNULL_BEGIN + +typedef id_Nonnull(ABUSameAdnAdapterBattleFunction)(NSArray> *); + +FOUNDATION_EXPORT void ABUSameAdnAdapterBattleFunctionRegister(ABUSameAdnAdapterBattleFunction *function); + +#if !defined(ABU_ADAPTER_REGISTER) +#define ABU_ADAPTER_REGISTER(__adn_key__,__config_class__) \ +@implementation ABUAdapterRegister (__config_class__) \ +-(id)__ABU__##__adn_key__{ \ +return (id)[[__config_class__ alloc] init]; \ +}\ +@end +#endif + +@interface ABUAdapterRegister : NSObject + + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdapterRegister.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdapterRegister.h.meta new file mode 100644 index 0000000..41ac9ca --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdapterRegister.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b27e911d3b6e05c4998b810400bacb2b +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdapterRewardAdInfo.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdapterRewardAdInfo.h new file mode 100644 index 0000000..a7e4684 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdapterRewardAdInfo.h @@ -0,0 +1,61 @@ +// +// ABUAdapterRewardAdInfo.h +// ABUAdSDK +// +// Created by bytedance on 2021/8/16. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// 验证失败的原因----string +extern NSString *const ABUAdapterRewardAdCustomDataReasonKey; + +/// 无法完成验证的错误码----number +extern NSString *const ABUAdapterRewardAdCustomDataErrorCodeKey; + +/// 无法完成验证的错误原因----string,包括网络错误、服务端无响应、服务端无法验证等 +extern NSString *const ABUAdapterRewardAdCustomDataErrorMsgKey; + +/// 奖励类型,0:基础奖励 1:进阶奖励-互动 2:进阶奖励-超过30s的视频播放完成----number +/// 目前支持返回该字段的adn:csj +/// @warning: GroMore的S2S的验证暂不支持 +extern NSString *const ABUAdapterRewardAdCustomDataRewardTypeKey; + +/// 建议奖励百分比, 基础奖励为1,进阶奖励为0.0 ~ 1.0,开发者自行换算----number +/// 目前支持返回该字段的adn:csj +/// @warning: GroMore的S2S的验证暂不支持 +extern NSString *const ABUAdapterRewardAdCustomDataRewardProposeKey; + + +/// 激励视频奖励信息,适用于ADN的奖励验证和GroMore的S2S奖励验证 +@interface ABUAdapterRewardAdInfo : NSObject + +/// adn定义的奖励id +@property (nonatomic, copy, nullable) NSString *rewardId; + +/// 发放奖励的名称 +@property (nonatomic, copy, nullable) NSString *rewardName; + +/// 发放奖励的金额 +@property (nonatomic, assign) NSInteger rewardAmount; + +/// 交易的唯一标识 +@property (nonatomic, copy, nullable) NSString *tradeId; + +/// 是否验证通过 +@property (nonatomic, assign) BOOL verify; + +/// 验证奖励发放的媒体名称,官方支持的ADN名称详见`ABUAdnType`注释部分,自定义ADN名称同平台配置 +@property (nonatomic, copy, nullable) NSString *adnName; + +/// 其他数据信息,包括但不限于错误信息,固定字段定义见文件上方 +@property (nonatomic, copy, nullable) NSDictionary *customData; + +/// 是否是通过GroMore的S2S的验证 +- (BOOL)verifyByGroMoreS2S; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdapterRewardAdInfo.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdapterRewardAdInfo.h.meta new file mode 100644 index 0000000..ce2334e --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUAdapterRewardAdInfo.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 15a94ca9af9d5f24db9a6d4db687bf0e +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUBannerAd.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUBannerAd.h new file mode 100644 index 0000000..dc143e7 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUBannerAd.h @@ -0,0 +1,122 @@ +// +// ABUNewBannerAd.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/28. +// + +#import "ABUBaseAd.h" +#import "ABUAdSDKConst.h" +#import "ABUCanvasView.h" + +NS_ASSUME_NONNULL_BEGIN + +@class ABUBannerAd; + +/// banner广告代理协议 +@protocol ABUBannerAdDelegate +@optional + +/// banner广告加载成功回调 +/// @param bannerAd 广告操作对象 +/// @param bannerView 广告视图 +- (void)bannerAdDidLoad:(ABUBannerAd *)bannerAd bannerView:(UIView *)bannerView; + +/// 广告加载失败回调 +/// @param bannerAd 广告操作对象 +/// @param error 错误信息 +- (void)bannerAd:(ABUBannerAd *)bannerAd didLoadFailWithError:(NSError *_Nullable)error; + +/// 广告加载成功后为「混用的信息流自渲染广告」时会触发该回调,提供给开发者自渲染的时机 +/// @param bannerAd 广告操作对象 +/// @param canvasView 携带物料的画布,需要对其内部提供的物料及控件做布局及设置UI +/// @warning 轮播开启时,每次轮播到自渲染广告均会触发该回调,并且canvasView为其他回调中bannerView的子控件 +- (void)bannerAdNeedLayoutUI:(ABUBannerAd *)bannerAd canvasView:(ABUCanvasView *)canvasView; + +/// 广告展示回调 +/// @param bannerAd 广告操作对象 +/// @param bannerView 广告视图 +- (void)bannerAdDidBecomeVisible:(ABUBannerAd *)bannerAd bannerView:(UIView *)bannerView; + +/// 即将弹出广告详情页 +/// @param ABUBannerAd 广告操作对象 +/// @param bannerView 广告视图 +- (void)bannerAdWillPresentFullScreenModal:(ABUBannerAd *)ABUBannerAd bannerView:(UIView *)bannerView; + +/// 详情广告页将要关闭 +/// @param ABUBannerAd 广告操作对象 +/// @param bannerView 广告视图 +- (void)bannerAdWillDismissFullScreenModal:(ABUBannerAd *)ABUBannerAd bannerView:(UIView *)bannerView; + +/// 广告点击事件回调 +/// @param ABUBannerAd 广告操作对象 +/// @param bannerView 广告视图 +- (void)bannerAdDidClick:(ABUBannerAd *)ABUBannerAd bannerView:(UIView *)bannerView; + +/// 广告关闭回调 +/// @param ABUBannerAd 广告操作对象 +/// @param bannerView 广告视图 +/// @param filterWords 不喜欢广告的原因,由adapter开发者配置,可能为空 +- (void)bannerAdDidClosed:(ABUBannerAd *)ABUBannerAd bannerView:(UIView *)bannerView dislikeWithReason:(NSArray *_Nullable)filterWords; + +@end + +/// banner广告操作类 +@interface ABUBannerAd : ABUBaseAd + +/// banner广告操作对象构建 +/// @param adUnitID 广告位ID +/// @param rootViewController 页面跳转控制器 +/// @param adSize 广告尺寸 +- (instancetype _Nonnull)initWithAdUnitID:(NSString *_Nonnull)adUnitID + rootViewController:(UIViewController *_Nonnull)rootViewController + adSize:(CGSize)adSize; + +/// 广告代理回调对象 +@property (nonatomic, weak) id delegate; + +/// 广告尺寸,构造方法中传递的尺寸值 +@property (nonatomic, assign, readonly) CGSize adSize; + +/// 实际的自动轮播定时间隔,有效值在30-120之间 +@property (nonatomic, assign, readonly) NSInteger autoRefreshTime __attribute__((unavailable("This attribute is invalid, get the value of refreshTime"))); + +/// 平台设置的Banner轮播时间间隔, 范围[10, 180], 其他值按0处理, 默认为0,单位秒 +@property (nonatomic, assign, readonly) NSInteger refreshTime; + +/// 是否已经准备广告展示,理论上在广告加载回调后即为YES,但受一些因素的影响(例如广告失效),可能为NO。建议在广告展示前调用该方法进行是否可以展示 +@property (nonatomic, assign, readonly) BOOL isReady; + +/// 返回显示广告对应的披露信息,当没有权限访问时Ecpm会返回'-3' +- (nullable ABURitInfo *)getShowEcpmInfo; + +/// 填充后可调用, 返回广告缓存池内所有信息;nil为无权限 +- (NSArray *)cacheRitList; + +/// 广告的扩展信息,可能为nil +- (NSDictionary *_Nullable)extraData; + +/// 填充后可调用,获取广告中的extra信息。目前只支持穿山甲,并且只支持获取coupon, live_room, product信息。 +- (nullable NSDictionary *)getMediaExtraInfo; + +/// 不再使用加载成功后回调的view时,可调用该方法释放占用的内存 +- (void)destory; + +@end + + +/// banner广告位下混用了信息流代码位 +@interface ABUBannerAd (mixture) + +/// 是否使用模板广告,只对支持模板广告的第三方SDK有效,默认为NO,仅在广告加载前设置有效,优先以平台配置为准 +@property (nonatomic, assign) BOOL getExpressAdIfCan; + +/// 图片大小,包括视频媒体的大小设定 +@property (nonatomic, assign) CGSize imageOrVideoSize; + +/// 是否静音播放视频,是否真实静音由adapter确定,默认为YES,仅在广告加载前设置有效,优先以平台配置为准 +@property (nonatomic, assign) BOOL startMutedIfCan; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUBannerAd.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUBannerAd.h.meta new file mode 100644 index 0000000..b37f569 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUBannerAd.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 35c83abf4ae83dd44a04a02555248409 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUBaseAd.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUBaseAd.h new file mode 100644 index 0000000..70406ce --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUBaseAd.h @@ -0,0 +1,47 @@ +// +// ABUBaseAd.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/21. +// + +#import +#import +#import "ABUAdSDKConst.h" +#import "ABURitInfo.h" +#import "ABUAdLoadInfo.h" + +NS_ASSUME_NONNULL_BEGIN + +/// 基类广告 +@interface ABUBaseAd : NSObject + +/// 广告位ID +@property (nonatomic, copy, readonly) NSString *rit; + +/// 广告场景ID +@property (nonatomic, copy, nullable) NSString *scenarioID; + +/// 广告是否加载中 +@property (nonatomic, assign, readonly) BOOL isLoading; + +/// 添加参数 +/// @param param 参数值 +/// @param key 参数key +- (void)addParam:(id)param withKey:(NSString *)key; + +/// 加载广告 +- (void)loadAdData; + +/// 一次waterfall中各adn代码位加载广告失败原因,建议调用时机:展示广告时/超时时/全部返回报错时;返回nil表示一次加载无代码位加载失败或其加载无响应 +- (NSArray *)waterfallFillFailMessages; + +/// 同`waterfallFillFailMessages`,返回数据为`ABUAdLoadInfo`类型 +- (NSArray *)getAdLoadInfoList; + +/// 在Bididing结束后是否回调ADN结果,默认NO +@property (nonatomic, assign) BOOL bidNotify; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUBaseAd.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUBaseAd.h.meta new file mode 100644 index 0000000..f4379c2 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUBaseAd.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 40b992dd501cfbc4799ef61b07c98b47 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCanvasView.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCanvasView.h new file mode 100644 index 0000000..e9fe5ab --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCanvasView.h @@ -0,0 +1,66 @@ +// +// ABUCanvasView.h +// Ads-Mediation-CN +// +// Created by ByteDance on 2022/4/6. +// + +#import +#import "ABUMediatedNativeAd.h" +#import "ABUMediatedNativeAdData.h" + +NS_ASSUME_NONNULL_BEGIN + + +@interface ABUCanvasView : UIView + +- (instancetype)initWithNativeAd:(ABUMediatedNativeAd *)nativeAd adapter:(id)adapter; + +/// 非模板Native广告的物料数据,模板广告时为nil +@property (nonatomic, strong, readonly, nullable) ABUMaterialMeta *data; + +@end + +/// native广告视图类,非模板部分 +/// 📢 以下描述需开发者自己渲染UI内容处,存在部分AND已强制处理或adapter代为处理,外部开发者需注意 +@interface ABUCanvasView (Native) + +/// 是否支持自定义事件按钮,如果为YES,开发者可以配置 callToActionBtn 的UI数值,默认为YES +@property (nonatomic, assign, readonly) BOOL hasSupportActionBtn; + +/// 广告标题,需要开发者根据广告物料自己指定展示内容 +@property (nonatomic, strong, readonly, nonnull) UILabel *titleLabel; + +/// 广告描述,需要开发者根据广告物料自己指定展示内容 +@property (nonatomic, strong, readonly, nonnull) UILabel *descLabel; + +/// 广告图标,可能不存在,需要开发者根据广告物料自己指定展示内容 +@property (nonatomic, strong, nullable) UIImageView *iconImageView; + +/// 广告大图,需要开发者根据广告物料自己指定展示内容,系统会自动创建,但内容需开发者自行校验 +@property (nonatomic, strong, readonly, nonnull) UIImageView *imageView; + +/// Ad CTA button. Need to be assigned from a data(ABUMaterialMeta), and need to be add to self(ABUNativeAdView). + +/// 广告详情/下载按钮,可能不存在,文案内容需要开发者根据广告物料自己获取 +@property (nonatomic, strong, readonly, nonnull) UIButton *callToActionBtn; + +/// 广告商视图,可能不存在,开发者可自行赋值处理 +@property (nonatomic, strong, nullable) UIView *advertiserView; + +/// 广告关闭按钮,可能不存在,开发者需自行处理响应事件 +@property (nonatomic, strong, nullable) UIButton *dislikeBtn; + +/// 广告LOGO视图,可能不存在,需要开发者根据广告物料自己指定展示内容 +@property (nonatomic, strong, nullable) UIView *adLogoView; + +/// 媒体视图,即视频广告的视频图层,非视频广告不存在该视图 +@property (nonatomic, strong, readonly, nullable) UIView *mediaView; + +/// 注册可点击区域,由GroMore透传数据,是否生效由adapter 和 adn 决定 +/// @param views 可响应点击操作的视图 +- (void)registerClickableViews:(nullable NSArray *)views; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCanvasView.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCanvasView.h.meta new file mode 100644 index 0000000..0fc0880 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCanvasView.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 0255dd3e15250cb4db4cd941266b02f9 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCardViewProperty.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCardViewProperty.h new file mode 100644 index 0000000..c06554f --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCardViewProperty.h @@ -0,0 +1,16 @@ +// +// ABUCardViewProperty.h +// Ads-Mediation-CN +// +// Created by ByteDance on 2022/5/27. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface ABUCardViewProperty : NSObject + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCardViewProperty.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCardViewProperty.h.meta new file mode 100644 index 0000000..f9ac414 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCardViewProperty.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: fe63214859dc65c4485f703001687989 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomAdapter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomAdapter.h new file mode 100644 index 0000000..3b15841 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomAdapter.h @@ -0,0 +1,82 @@ +// +// ABUCustomAdapter.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/27. +// + +#import +#import + +NS_ASSUME_NONNULL_BEGIN + +@protocol ABUCustomConfigAdapter; +@class ABUMediaBidResult; + +typedef NS_ENUM(NSInteger, ABUMediatedAdStatusValue) { + ABUMediatedAdStatusValueDeny = -1, + ABUMediatedAdStatusValueUnknown = 0, + ABUMediatedAdStatusValueSure = 1, +}; + +/// adn广告状态 +typedef struct { + ABUMediatedAdStatusValue isReady; + ABUMediatedAdStatusValue unexpired; + ABUMediatedAdStatusValue valid; +} ABUMediatedAdStatus; + +extern const ABUMediatedAdStatus ABUMediatedAdStatusUnknown; + +extern const ABUMediatedAdStatus ABUMediatedAdStatusNormal; + +static inline +BOOL ABUMediatedAdStatusEqualsTo(ABUMediatedAdStatus aStatus, ABUMediatedAdStatus anotherStatus) { + return aStatus.isReady == anotherStatus.isReady && + aStatus.unexpired == anotherStatus.unexpired && + aStatus.valid == anotherStatus.valid; +} + +static inline +ABUMediatedAdStatus ABUMediatedAdStatusMake(ABUMediatedAdStatusValue isReady, ABUMediatedAdStatusValue unexpired, ABUMediatedAdStatusValue valid) { + ABUMediatedAdStatus status = {ABUMediatedAdStatusValueUnknown, ABUMediatedAdStatusValueUnknown , ABUMediatedAdStatusValueUnknown}; + status.isReady = isReady; + status.unexpired = unexpired; + status.valid = valid; + return status; +} + +/// 自定义adapter广告类型基本协议 +@protocol ABUCustomAdapter +@optional + +- (NSString *)serverBiddingTokenWithParams:(NSDictionary *)params error:(NSError **)error; + +/// 需要传递token以外值时,使用此方法 +- (NSString *)serverBiddingTokenWithParams:(NSDictionary *)params otherInfo:(NSMutableDictionary *)otherInfo error:(NSError **)error; + +/// 当前广告有广告正在展示时是否允许进行预加载广告,未实现则为NO。 +- (BOOL)enablePreloadWhenCurrentIsDisplay; + +/// 回调客户端竞价结果,比价成功时回传成功,比价失败、返回超时或价格低于竞价底价时回传失败 +/// @param result bid结果对象 +/// @warning 1.创建广告时需设置bidNotify属性为YES才会触发该回调 +/// 2.adn广告load失败不触发该回调,如需回传adn竞价结果,请在load失败处自行处理 +/// 3.信息流加载多条会触发多次,返回每条比价结果 +- (void)didReceiveBidResult:(nonnull ABUMediaBidResult *)result; + +/// 开发者无需实现,系统自动生成 +@property (nonatomic, assign) BOOL isCustomAdapter; + +/// 开发者无需实现,系统自动生成 +@property (nonatomic, strong) id configAdapter; + +@end + +@protocol ABUBaseCustomAdapter + +- (id)bridge; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomAdapter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomAdapter.h.meta new file mode 100644 index 0000000..ca3180f --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomAdapter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f7455ab8f54a75645b4c46c061f62e5b +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomAdapterVersion.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomAdapterVersion.h new file mode 100644 index 0000000..6306950 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomAdapterVersion.h @@ -0,0 +1,23 @@ +// +// ABUCustomAdapterVersion.h +// ABUAdSDK +// +// Created by bytedance on 2021/9/30. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class ABUCustomAdapterVersion; + +/// 自定义adapter协议版本,版本号 1.0 +extern ABUCustomAdapterVersion * const ABUCustomAdapterVersion1_0; +/// 自定义adapter协议版本,版本号 1.1 +extern ABUCustomAdapterVersion * const ABUCustomAdapterVersion1_1; + +/// 自定义adapter使用的协议版本,请开发者实现/更新自定义adapter时使用最新版本的版本号即可 +/// GroMore会根据实际情况控制adapter是否可用,[及时更新] +@interface ABUCustomAdapterVersion : NSString @end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomAdapterVersion.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomAdapterVersion.h.meta new file mode 100644 index 0000000..8f0d65a --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomAdapterVersion.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: cbbb1f82bbcced442836142ed99e60b5 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomBannerAdapter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomBannerAdapter.h new file mode 100644 index 0000000..e371716 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomBannerAdapter.h @@ -0,0 +1,48 @@ +// +// ABUCustomBannerAdapter.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/27. +// + +#import +#import "ABUCustomAdapter.h" +#import "ABUCustomBannerAdapterBridge.h" +#import "ABUCustomNativeAdapter.h" +@protocol ABUCustomBannerMixNativeAdapter; + +NS_ASSUME_NONNULL_BEGIN + +/// 自定义banner广告adapter协议 +@protocol ABUCustomBannerAdapter + +/// 必要,加载banner广告方法 +/// @param slotID adn的广告位ID +/// @param adSize 广告展示尺寸 +/// @param parameter 广告加载参数 +- (void)loadBannerAdWithSlotID:(NSString *)slotID andSize:(CGSize)adSize parameter:(nullable NSDictionary *)parameter; + +/// 当前加载的广告的状态 +- (ABUMediatedAdStatus)mediatedAdStatus; + +@optional +/// 代理,开发者需使用该对象回调事件,Objective-C下自动生成无需设置,Swift需声明 +@property (nonatomic, weak, nullable) id bridge; + +@end + +/// 当Banner广告位下混用信息流代码位,请实现如下协议方法 +@protocol ABUCustomBannerMixNativeAdapter + +@optional + +/// 注册容器和可点击区域 +/// @param containerView 容器视图 +/// @param views 可点击视图组 +- (void)registerContainerView:(__kindof UIView *)containerView andClickableViews:(NSArray<__kindof UIView *> *)views forNativeAd:(id)nativeAd; + +@end + + + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomBannerAdapter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomBannerAdapter.h.meta new file mode 100644 index 0000000..5b828c1 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomBannerAdapter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 7fc5db4ebe3850e4a86cd492c9c0de10 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomBannerAdapterBridge.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomBannerAdapterBridge.h new file mode 100644 index 0000000..62a77d4 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomBannerAdapterBridge.h @@ -0,0 +1,62 @@ +// +// ABUCustomBannerAdapterBridge.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/27. +// + +#import +#import "ABUCustomAdapter.h" +#import "ABUDislikeWords.h" + +NS_ASSUME_NONNULL_BEGIN + +@protocol ABUCustomBannerAdapter; + +/// 自定义banner广告的回调代理协议 +@protocol ABUCustomBannerAdapterBridge +@optional + +/// 在广告加载成功时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param bannerView 广告视图 +/// @param ext 回传信息 +- (void)bannerAd:(id)adapter didLoad:(UIView *)bannerView ext:(NSDictionary *)ext; + +/// 在广告加载失败时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +/// @param ext 回传信息 +- (void)bannerAd:(id)adapter didLoadFailWithError:(NSError *_Nullable)error ext:(NSDictionary *)ext; + +/// 在广告已经展示的时候调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param bannerView 广告视图 +- (void)bannerAdDidBecomeVisible:(id)adapter bannerView:(UIView *)bannerView; + +/// 在广告弹出详情页或者展示展示appstore时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param bannerView 广告视图 +- (void)bannerAdWillPresentFullScreenModal:(id)adapter bannerView:(UIView *)bannerView; + +/// 在广告关闭详情页或者appstore时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param bannerView 广告视图 +- (void)bannerAdWillDismissFullScreenModal:(id)adapter bannerView:(UIView *)bannerView; + +/// 在广告触发点击事件时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param bannerView 广告视图 +- (void)bannerAdDidClick:(id)adapter bannerView:(UIView *)bannerView; + +/// 在广告关闭时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param bannerView 广告视图 +/// @param filterWords 用户手动关闭时的关闭原因描述 +- (void)bannerAd:(id)adapter bannerView:(UIView *)bannerView didClosedWithDislikeWithReason:(NSArray *_Nullable)filterWords; + +/// 广告点击跳转使用的控制器 +- (UIViewController *)viewControllerForPresentingModalView; +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomBannerAdapterBridge.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomBannerAdapterBridge.h.meta new file mode 100644 index 0000000..fa970db --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomBannerAdapterBridge.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: c73298e4085ec4f4383ad09b37217d51 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomConfigAdapter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomConfigAdapter.h new file mode 100644 index 0000000..bbc7596 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomConfigAdapter.h @@ -0,0 +1,51 @@ +// +// ABUCustomConfigAdapter.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/27. +// + +#import +#import "ABUSdkInitConfig.h" + +#import "ABUCustomBannerAdapter.h" +#import "ABUCustomInterstitialAdapter.h" +#import "ABUCustomRewardedVideoAdapter.h" +#import "ABUCustomFullscreenVideoAdapter.h" +#import "ABUCustomDrawAdapter.h" +#import "ABUCustomSplashAdapter.h" +#import "ABUCustomNativeAdapter.h" +#import "ABUCustomAdapterVersion.h" + +NS_ASSUME_NONNULL_BEGIN + +/// 自定义adapter的基本配置协议 +@protocol ABUCustomConfigAdapter +@required + +/// 该自定义adapter是基于哪个版本实现的,填写编写时的最新值即可,GroMore会根据该值进行兼容处理 +- (ABUCustomAdapterVersion *)basedOnCustomAdapterVersion; + +/// adn初始化方法 +/// @param initConfig 初始化配置,包括appid、appkey基本信息和部分用户传递配置 +- (void)initializeAdapterWithConfiguration:(ABUSdkInitConfig *_Nullable)initConfig; + +/// adapter的版本号 +- (NSString *_Nonnull)adapterVersion; + +/// adn的版本号 +- (NSString *_Nonnull)networkSdkVersion; + +/// 隐私权限更新,用户更新隐私配置时触发,初始化方法调用前一定会触发一次 +- (void)didRequestAdPrivacyConfigUpdate:(NSDictionary *)config; + +/// 收到配置更新请求时触发,如主题更新,初始化时设定配置不会触发,具体修改项需自行校验 +- (void)didReceiveConfigUpdateRequest:(ABUUserConfig *)config; + +@optional + +/// 无需实现 +@property (nonatomic, assign) BOOL isCustomAdapter; +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomConfigAdapter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomConfigAdapter.h.meta new file mode 100644 index 0000000..5e8f2c9 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomConfigAdapter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f389eff8bc6300f41a8a754ce4b736aa +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomDrawAdapter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomDrawAdapter.h new file mode 100644 index 0000000..4f261ed --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomDrawAdapter.h @@ -0,0 +1,66 @@ +// +// ABUCustomDrawVideoAdapte.h +// Ads-Mediation-CN +// +// Created by heyinyin on 2022/3/31. +// + +#import +#import "ABUCustomAdapter.h" +#import "ABUCustomDrawAdapterBridge.h" +#import "ABUVideoAdReportSupport.h" + +NS_ASSUME_NONNULL_BEGIN + +/// 自定义Draw视频广告的adapter广告协议 +@protocol ABUCustomDrawAdapter + +/// 加载广告的方法 +/// @param slotID adn的广告位ID +/// @param parameter 广告加载的参数 +- (void)loadDrawAdWithSlotID:(NSString *)slotID andSize:(CGSize)size andParameter:(NSDictionary *)parameter; + +@optional +/// 渲染广告,为模板广告时会回调该方法,需对广告进行渲染 +/// @param expressAdView 模板广告 +- (void)renderForExpressAdView:(UIView *)expressAdView; + +/// 为模板广告设置控制器 +/// @param viewController 控制器 +/// @param expressAdView 模板广告 +- (void)setRootViewController:(UIViewController *)viewController forExpressAdView:(UIView *)expressAdView; + +/// 为非模板广告设置控制器 +/// @param viewController 控制器 +/// @param drawAd 非模板广告 +- (void)setRootViewController:(UIViewController *)viewController forDrawAd:(id)drawAd; + +/// 注册容器和可点击区域 +/// @param containerView 容器视图 +/// @param views 可点击视图组 +- (void)registerContainerView:(__kindof UIView *)containerView andClickableViews:(NSArray<__kindof UIView *> *)views forDrawAd:(id)drawAd; + +/// 代理,开发者需使用该对象回调事件,Objective-C下自动生成无需设置,Swift需声明 +@property (nonatomic, weak, nullable) id bridge; + +/// 当前加载的广告的状态,draw模板广告 +- (ABUMediatedAdStatus)mediatedAdStatusWithExpressView:(UIView *)view; + +/// 当前加载的广告的状态,draw非模板广告 +- (ABUMediatedAdStatus)mediatedAdStatusWithMediatedAd:(ABUMediatedNativeAd *)ad; + +/// 广告视图即将被展示回调,只会调用一次 +/// @param expressAdView 模板广告视图 +/// @param drawAd GroMore包装的广告数据 +- (void)adViewWillAddToSuperViewWithExpressAdView:(__kindof UIView *)expressAdView orMediatedAd:(ABUMediatedNativeAd *)drawAd; + +/// 上报dislike的原因,仅限非模板广告自定义关闭按钮时使用 +/// @param ad GroMore包装的非模板广告数据 +/// @param reasons dislike的原因。数据基于ADN提供的原因修改 +- (void)reportDislikeAd:(ABUMediatedNativeAd *)ad withReasons:(NSArray *)reasons; + +- (void)reportVideoEvent:(ABUVideoAdEvent)event forAd:(ABUMediatedNativeAd *)ad withParameters:(NSDictionary *)parameters; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomDrawAdapter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomDrawAdapter.h.meta new file mode 100644 index 0000000..8b50a0a --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomDrawAdapter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 36693c04d77623b4db5e14a1a739ee5f +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomDrawAdapterBridge.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomDrawAdapterBridge.h new file mode 100644 index 0000000..cacb003 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomDrawAdapterBridge.h @@ -0,0 +1,96 @@ +// +// ABUCustomDrawAdapterBridge.h +// Ads-Mediation-CN +// +// Created by heyinyin on 2022/3/31. +// + +#import +#import "ABUMediatedNativeAd.h" +#import "ABUPlayerPlayState.h" + +NS_ASSUME_NONNULL_BEGIN +@protocol ABUCustomDrawAdapter; + +/// 自定义Draw视频广告的adapter的回调协议 +@protocol ABUCustomDrawAdapterBridge + +@optional +/// 在广告加载完成时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param ads 广告数据组 模板为视图类型数组,非模板为ABUMediatedNativeAd类型数组 +/// @param exts 扩展信息组 key值请参照ABUMediaAdLoadingExt*****,与ads一一对应 +- (void)drawAd:(id_Nonnull)adapter didLoadWithDrawAds:(NSArray *_Nullable)ads exts:(NSArray * _Nullable)exts; + +/// 在广告加载失败时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +- (void)drawAd:(id_Nonnull)adapter didLoadFailWithError:(NSError *_Nullable)error; + +/// 广告点击跳转使用的控制器 +- (UIViewController *)viewControllerForPresentingModalView; + +#pragma mark - View + +/// 广告展示时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param drawAd 自渲染广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),模板广告请传递上报expressView +- (void)drawAd:(id_Nonnull)adapter didVisibleWithMediatedAd:(id _Nonnull)drawAd; + +/// 广告点击事件时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param drawAd 自渲染广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),模板广告请传递上报expressView +- (void)drawAd:(id_Nonnull)adapter didClickWithMediatedAd:(id _Nonnull)drawAd; + +/// 在广告即将展示详情页或者app store时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param drawAd 自渲染广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),模板广告请传递上报expressView +- (void)drawAd:(id_Nonnull)adapter willPresentFullScreenModalWithMediatedAd:(id _Nonnull)drawAd; + +/// 在广告关闭详情页或者appstore时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param drawAd 自渲染广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),模板广告请传递上报expressView +- (void)drawAd:(id_Nonnull)adapter willDismissFullScreenModalWithMediatedAd:(id _Nonnull)drawAd; + +/// 仅限自渲染广告,在广告关闭的时候调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param drawAd 自渲染广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd) +/// @param filterWords 用户手动关闭时的关闭原因描述 +- (void)drawAd:(id_Nonnull)adapter didCloseWithMediatedAd:(id _Nonnull)drawAd closeReasons:(NSArray *_Nullable)filterWords; + +#pragma mark - Express ad +/// 仅限模板广告,在渲染成功或者模板广告的尺寸更新时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param expressView 模板广告请传递上报expressView +- (void)drawAd:(id_Nonnull)adapter renderSuccessWithExpressView:(UIView *_Nonnull)expressView; + +/// 仅限模板广告,在渲染失败调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param expressView 模板广告请传递上报expressView +- (void)drawAd:(id_Nonnull)adapter renderFailWithExpressView:(UIView *_Nonnull)expressView andError:(NSError *_Nonnull)error; + +/// 仅限模板广告,在模板广告关闭的时候调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param expressView 模板广告请传递上报expressView +/// @param filterWords 用户手动关闭时的关闭原因描述 +- (void)drawAd:(id_Nonnull)adapter didCloseWithExpressView:(UIView *_Nonnull)expressView closeReasons:(NSArray *_Nullable)filterWords; +#pragma mark - video + +/// 视频广告中视频播放状态变更的时候调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param state 播放状态 +/// @param drawAd 自渲染广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),模板广告请传递上报expressView +- (void)drawAd:(id_Nonnull)adapter videoStateDidChangedWithState:(ABUPlayerPlayState)state andMediatedAd:(id _Nonnull)drawAd; + +/// 视频广告中视频视图被点击时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param drawAd 自渲染广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),模板广告请传递上报expressView +- (void)drawAd:(id_Nonnull)adapter videoDidClick:(id _Nonnull)drawAd; + +/// 视频广告中视频播放完成时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param drawAd 自渲染广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),模板广告请传递上报expressView +- (void)drawAd:(id_Nonnull)adapter videoDidPlayFinish:(id _Nonnull)drawAd; +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomDrawAdapterBridge.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomDrawAdapterBridge.h.meta new file mode 100644 index 0000000..bd213b9 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomDrawAdapterBridge.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 899ef2ac0117a4740ba942046448edea +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomFullscreenVideoAdapter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomFullscreenVideoAdapter.h new file mode 100644 index 0000000..bb8868c --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomFullscreenVideoAdapter.h @@ -0,0 +1,36 @@ +// +// ABUCustomFullscreenVideoAdapter.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/8. +// + +#import +#import "ABUCustomAdapter.h" +#import "ABUCustomFullscreenVideoAdapterBridge.h" + +NS_ASSUME_NONNULL_BEGIN + +/// 自定义全屏视频广告的adapter广告协议 +@protocol ABUCustomFullscreenVideoAdapter + +/// 加载广告的方法 +/// @param slotID adn的广告位ID +/// @param parameter 广告加载的参数 +- (void)loadFullscreenVideoAdWithSlotID:(NSString *)slotID andParameter:(NSDictionary *)parameter; + +/// 展示广告的方法 +/// @param viewController 控制器对象 +/// @param parameter 展示广告的参数,由GroMore接入媒体配置 +- (BOOL)showAdFromRootViewController:(UIViewController *_Nonnull)viewController parameter:(NSDictionary *)parameter; + +/// 当前加载的广告的状态 +- (ABUMediatedAdStatus)mediatedAdStatus; + +@optional +/// 代理,开发者需使用该对象回调事件,Objective-C下自动生成无需设置,Swift需声明 +@property (nonatomic, weak, nullable) id bridge; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomFullscreenVideoAdapter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomFullscreenVideoAdapter.h.meta new file mode 100644 index 0000000..f89e5ba --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomFullscreenVideoAdapter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f9c4d66dd3d21684bbdd5eee13f75d2e +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomFullscreenVideoAdapterBridge.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomFullscreenVideoAdapterBridge.h new file mode 100644 index 0000000..24ed1d0 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomFullscreenVideoAdapterBridge.h @@ -0,0 +1,82 @@ +// +// ABUCustomFullscreenVideoAdapterBridge.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/8. +// + +#import +#import "ABUAdapterRewardAdInfo.h" + +NS_ASSUME_NONNULL_BEGIN +@protocol ABUCustomFullscreenVideoAdapter; + +/// 自定义全屏视频广告的adapter的回调协议 +@protocol ABUCustomFullscreenVideoAdapterBridge +@optional + +/// 在广告加载完成时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param ext 回传信息 +- (void)fullscreenVideoAd:(id_Nonnull)adapter didLoadWithExt:(NSDictionary *)ext; + +/// 在广告加载失败时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +/// @param ext 回传信息 +- (void)fullscreenVideoAd:(id_Nonnull)adapter didLoadFailWithError:(NSError *_Nullable)error ext:(NSDictionary *)ext; + +/// 在广告中视频素材加载完成时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)fullscreenVideoAdVideoDidLoad:(id_Nonnull)adapter; + +/// 在广告已经展示时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)fullscreenVideoAdDidVisible:(id_Nonnull)adapter; + +/// 广告展示失败的时候调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +- (void)fullscreenVideoAdDidShowFailed:(id)adapter error:(NSError *)error; + +/// 在广告关闭时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)fullscreenVideoAdDidClose:(id_Nonnull)adapter; + +/// 在广告点击事件触发时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)fullscreenVideoAdDidClick:(id_Nonnull)adapter; + +/// 在广告即将展示详情页或者app store时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)fullscreenVideoAdWillPresentFullscreenModal:(id_Nonnull)adapter; + +/// 在广告视频播放完成时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +- (void)fullscreenVideoAd:(id_Nonnull)adapter didPlayFinishWithError:(nullable NSError *)error; + +/// 在广告被点击跳过时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)fullscreenVideoAdDidClickSkip:(id_Nonnull)adapter; + +/// 在模板广告渲染成功时调用,非模板广告无需调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)fullscreenVideoAdRenderSuccess:(id_Nonnull)adapter; + +/// 在广告渲染失败时调用,非模板广告无需调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +- (void)fullscreenVideoAd:(id_Nonnull)adapter renderFailedWithError:(NSError *)error; + +/// 广告点击跳转使用的控制器 +- (UIViewController *)viewControllerForPresentingModalView; + +/// 在ADN验证激励成功时调用,直接调用即可,无需做响应判断:目前支持的adn:GDT +/// @param adapter 当前适配器 +/// @param infoBuilder 激励信息 +- (void)rewardedVideoAd:(id_Nonnull)adapter didServerRewardSuccessWithInfo:(void(^)(ABUAdapterRewardAdInfo *info))infoBuilder; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomFullscreenVideoAdapterBridge.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomFullscreenVideoAdapterBridge.h.meta new file mode 100644 index 0000000..b1d650b --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomFullscreenVideoAdapterBridge.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b8d601cc8d2ed344081938796ecb008b +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomInterstitialAdapter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomInterstitialAdapter.h new file mode 100644 index 0000000..923eba0 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomInterstitialAdapter.h @@ -0,0 +1,36 @@ +// +// ABUCustomInterstitialAdapter.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/6. +// + +#import +#import "ABUCustomAdapter.h" +#import "ABUCustomInterstitialAdapterBridge.h" + +NS_ASSUME_NONNULL_BEGIN + +/// 自定义插屏广告的adapter广告协议 +@protocol ABUCustomInterstitialAdapter + +/// 加载广告的方法 +/// @param slotID adn的广告位ID +/// @param size 广告展示尺寸 +/// @param parameter 广告加载的参数 +- (void)loadInterstitialAdWithSlotID:(NSString *)slotID andSize:(CGSize)size parameter:(NSDictionary *)parameter; + +/// 展示广告的方法 +/// @param viewController 控制器对象 +/// @param parameter 展示广告的参数,由GroMore接入媒体配置 +- (BOOL)showAdFromRootViewController:(UIViewController *_Nonnull)viewController parameter:(NSDictionary *)parameter; + +/// 当前加载的广告的状态 +- (ABUMediatedAdStatus)mediatedAdStatus; + +@optional +/// 代理,开发者需使用该对象回调事件,Objective-C下自动生成无需设置,Swift需声明 +@property (nonatomic, weak, nullable) id bridge; +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomInterstitialAdapter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomInterstitialAdapter.h.meta new file mode 100644 index 0000000..f7767d6 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomInterstitialAdapter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: bc2a68749e551c8439fb45031d6bbb48 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomInterstitialAdapterBridge.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomInterstitialAdapterBridge.h new file mode 100644 index 0000000..02836a5 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomInterstitialAdapterBridge.h @@ -0,0 +1,66 @@ +// +// ABUCustomInterstitialAdapterBridge.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/6. +// + +#import + +NS_ASSUME_NONNULL_BEGIN +@protocol ABUCustomInterstitialAdapter; + +/// 自定义插屏广告的adapter的回调协议 +@protocol ABUCustomInterstitialAdapterBridge +@optional + +/// 在广告加载完成时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param ext 回传信息 +- (void)interstitialAd:(id_Nonnull)adapter didLoadWithExt:(NSDictionary *)ext; + +/// 在广告加载失败时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +/// @param ext 回传信息 +- (void)interstitialAd:(id_Nonnull)adapter didLoadFailWithError:(NSError *_Nullable)error ext:(NSDictionary *)ext; + +/// 在广告已经展示时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)interstitialAdDidVisible:(id_Nonnull)adapter; + +/// 广告展示失败的时候调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +- (void)interstitialAdDidShowFailed:(id)adapter error:(NSError *)error; + +/// 在广告关闭时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)interstitialAdDidClose:(id_Nonnull)adapter; + +/// 在广告点击事件触发时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)interstitialAdDidClick:(id_Nonnull)adapter; + +/// 在广告即将展示详情页或者app store时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)interstitialAdWillPresentFullScreenModal:(id_Nonnull)adapter; + +/// 在广告关闭详情页或者appstore时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)interstitialAdWillDismissFullScreenModal:(id_Nonnull)adapter; + +/// 在模板广告渲染成功时调用,非模板广告无需调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)interstitialAdRenderSuccess:(id_Nonnull)adapter; + +/// 在广告渲染失败时调用,非模板广告无需调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +- (void)interstitialAd:(id_Nonnull)adapter renderFailedWithError:(NSError *)error; + +/// 广告点击跳转使用的控制器 +- (UIViewController *)viewControllerForPresentingModalView; +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomInterstitialAdapterBridge.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomInterstitialAdapterBridge.h.meta new file mode 100644 index 0000000..ef242fa --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomInterstitialAdapterBridge.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 842834c8df527e149984911a633ecbbc +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomNativeAdapter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomNativeAdapter.h new file mode 100644 index 0000000..0c51c17 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomNativeAdapter.h @@ -0,0 +1,71 @@ +// +// ABUCustomNativeAdapter.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/8. +// + +#import +#import "ABUCustomAdapter.h" +#import "ABUCustomNativeAdapterBridge.h" +#import "ABUVideoAdReportSupport.h" + +NS_ASSUME_NONNULL_BEGIN + +@class ABUDislikeReason; + +/// 自定义Native广告的adapter广告协议 +@protocol ABUCustomNativeAdapter + +/// 加载广告的方法 +/// @param slotID adn的广告位ID +/// @param size 广告展示尺寸 +/// @param imageSize 图片或视频展示尺寸 +/// @param parameter 广告加载的参数 +- (void)loadNativeAdWithSlotID:(NSString *)slotID andSize:(CGSize)size imageSize:(CGSize)imageSize parameter:(NSDictionary *)parameter; + +/// 渲染广告,为模板广告时会回调该方法,需对广告进行渲染 +/// @param expressAdView 模板广告 +- (void)renderForExpressAdView:(UIView *)expressAdView; + +/// 为模板广告设置控制器 +/// @param viewController 控制器 +/// @param expressAdView 模板广告 +- (void)setRootViewController:(UIViewController *)viewController forExpressAdView:(UIView *)expressAdView; + +/// 为非模板广告设置控制器 +/// @param viewController 控制器 +/// @param nativeAd 非模板广告 +- (void)setRootViewController:(UIViewController *)viewController forNativeAd:(id)nativeAd; + +/// 注册容器和可点击区域 +/// @param containerView 容器视图 +/// @param views 可点击视图组 +- (void)registerContainerView:(__kindof UIView *)containerView andClickableViews:(NSArray<__kindof UIView *> *)views forNativeAd:(id)nativeAd; + +@optional + +/// 当前加载的广告的状态,native模板广告 +- (ABUMediatedAdStatus)mediatedAdStatusWithExpressView:(UIView *)view; + +/// 当前加载的广告的状态,native非模板广告 +- (ABUMediatedAdStatus)mediatedAdStatusWithMediatedNativeAd:(ABUMediatedNativeAd *)ad; + +/// 广告视图即将被展示回调,只会调用一次 +/// @param expressAdView 模板广告视图 +/// @param mediatedNativeAd GroMore包装的广告数据 +- (void)adViewWillAddToSuperViewWithExpressAdView:(__kindof UIView *)expressAdView orMediatedNativeAd:(ABUMediatedNativeAd *)mediatedNativeAd; + +/// 代理,开发者需使用该对象回调事件,Objective-C下自动生成无需设置,Swift需声明 +@property (nonatomic, weak, nullable) id bridge; + +/// 上报dislike的原因,仅限非模板广告自定义关闭按钮时使用 +/// @param ad GroMore包装的非模板广告数据 +/// @param reasons dislike的原因。数据基于ADN提供的原因修改 +- (void)reportDislikeAd:(ABUMediatedNativeAd *)ad withReasons:(NSArray *)reasons; + +- (void)reportVideoEvent:(ABUVideoAdEvent)event forAd:(ABUMediatedNativeAd *)ad withParameters:(NSDictionary *)parameters; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomNativeAdapter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomNativeAdapter.h.meta new file mode 100644 index 0000000..381c3d1 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomNativeAdapter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 81bd63ab860ce8d4890f3d10dd39da01 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomNativeAdapterBridge.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomNativeAdapterBridge.h new file mode 100644 index 0000000..efb1013 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomNativeAdapterBridge.h @@ -0,0 +1,100 @@ +// +// ABUCustomNativeAdapterBridge.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/8. +// + +#import +#import "ABUMediatedNativeAd.h" +#import "ABUPlayerPlayState.h" + +NS_ASSUME_NONNULL_BEGIN + +@protocol ABUCustomNativeAdapter,ABUDislikeWords; + +/// 自定义Native广告的adapter的回调协议 +@protocol ABUCustomNativeAdapterBridge +@optional + +#pragma mark - Load +/// 在非模板广告加载完成时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param ads 广告数据组 +/// @param exts 扩展数据组 +- (void)nativeAd:(id_Nonnull)adapter didLoadWithNativeAds:(NSArray * _Nullable)ads exts:(NSArray * _Nullable)exts; + +/// 在模板广告加载完成时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param views 广告视图数据组 +/// @param exts 扩展数据组 +- (void)nativeAd:(id_Nonnull)adapter didLoadWithExpressViews:(NSArray * _Nullable)views exts:(NSArray * _Nullable)exts; + +/// 在广告加载失败时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +- (void)nativeAd:(id_Nonnull)adapter didLoadFailWithError:(NSError *_Nullable)error; + +/// 广告点击跳转使用的控制器 +- (UIViewController *)viewControllerForPresentingModalView; + +#pragma mark - View + +/// 广告展示时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param nativeAd 广告数据,native广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),express广告请传递上报GroMore的UIView +- (void)nativeAd:(id_Nonnull)adapter didVisibleWithMediatedNativeAd:(id _Nonnull)nativeAd; + +/// 广告点击事件时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param nativeAd 广告数据,native广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),express广告请传递上报GroMore的UIView +- (void)nativeAd:(id_Nonnull)adapter didClickWithMediatedNativeAd:(id _Nonnull)nativeAd; + +/// 在广告即将展示详情页或者app store时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param nativeAd 广告数据,native广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),express广告请传递上报GroMore的UIView +- (void)nativeAd:(id_Nonnull)adapter willPresentFullScreenModalWithMediatedNativeAd:(id _Nonnull)nativeAd; + +/// 在广告落地页关闭时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param nativeAd 广告数据,native广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),express广告请传递上报GroMore的UIView +- (void)nativeAd:(id_Nonnull)adapter didDismissFullScreenModalWithMediatedNativeAd:(id _Nonnull)nativeAd; + +#pragma mark - Express ad +/// 仅限模板广告,在渲染成功或者模板广告的尺寸更新时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param expressView 模板广告 +- (void)nativeAd:(id_Nonnull)adapter renderSuccessWithExpressView:(UIView *_Nonnull)expressView; + +/// 仅限模板广告,在渲染失败调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param expressView 模板广告 +- (void)nativeAd:(id_Nonnull)adapter renderFailWithExpressView:(UIView *_Nonnull)expressView andError:(NSError *_Nonnull)error; + +/// 仅限模板广告,在模板广告关闭的时候调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param expressView 模板广告 +/// @param filterWords 用户手动关闭时的关闭原因描述 +- (void)nativeAd:(id_Nonnull)adapter didCloseWithExpressView:(UIView *_Nonnull)expressView closeReasons:(NSArray *_Nullable)filterWords; + +#pragma mark - video + +/// 视频广告中视频播放状态变更的时候调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param state 播放状态 +/// @param nativeAd 广告数据,native广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),express广告请传递上报GroMore的UIView +- (void)nativeAd:(id_Nonnull)adapter videoStateDidChangedWithState:(ABUPlayerPlayState)state andNativeAd:(id _Nonnull)nativeAd; + +/// 视频广告中视频视图被点击时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param nativeAd 广告数据,native广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),express广告请传递上报GroMore的UIView +- (void)nativeAd:(id_Nonnull)adapter videoDidClick:(id _Nonnull)nativeAd; + +/// 视频广告中视频播放完成时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param nativeAd 广告数据,native广告请传递原始数据(即ABUMediatedNativeAd.originMediatedNativeAd),express广告请传递上报GroMore的UIView +- (void)nativeAd:(id_Nonnull)adapter videoDidPlayFinish:(id _Nonnull)nativeAd; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomNativeAdapterBridge.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomNativeAdapterBridge.h.meta new file mode 100644 index 0000000..a588621 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomNativeAdapterBridge.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2c695f18dc56d954580461f035bf3b36 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomRewardedVideoAdapter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomRewardedVideoAdapter.h new file mode 100644 index 0000000..7058391 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomRewardedVideoAdapter.h @@ -0,0 +1,38 @@ +// +// ABUCustomRewardedVideoAdapter.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/8. +// + +#import +#import "ABUCustomAdapter.h" +#import "ABUCustomRewardedVideoAdapterBridge.h" + +NS_ASSUME_NONNULL_BEGIN +/// 自定义激励视频广告的adapter广告协议 +@protocol ABUCustomRewardedVideoAdapter + +/// 加载广告的方法 +/// @param slotID adn的广告位ID +/// @param parameter 广告加载的参数 +- (void)loadRewardedVideoAdWithSlotID:(NSString *)slotID andParameter:(NSDictionary *)parameter; + +/// 展示广告的方法 +/// @param viewController 控制器对象 +/// @param parameter 展示广告的参数,由GroMore接入媒体配置 +- (BOOL)showAdFromRootViewController:(UIViewController *_Nonnull)viewController parameter:(NSDictionary *)parameter; + +/// 当前加载的广告的状态 +- (ABUMediatedAdStatus)mediatedAdStatus; + +@optional +/// 代理,开发者需使用该对象回调事件,Objective-C下自动生成无需设置,Swift需声明 +@property (nonatomic, weak, nullable) id bridge; + +/// 回调信息补充 +@property (nonatomic, copy, nullable, readonly) NSDictionary *extroInfoMap; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomRewardedVideoAdapter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomRewardedVideoAdapter.h.meta new file mode 100644 index 0000000..f67b485 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomRewardedVideoAdapter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 84226081afa80f341bfdbd6b9f83d292 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomRewardedVideoAdapterBridge.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomRewardedVideoAdapterBridge.h new file mode 100644 index 0000000..eac0e15 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomRewardedVideoAdapterBridge.h @@ -0,0 +1,86 @@ +// +// ABUCustomRewardedVideoAdapterBridge.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/8. +// + +#import +#import "ABUAdapterRewardAdInfo.h" + +NS_ASSUME_NONNULL_BEGIN + +@protocol ABUCustomRewardedVideoAdapter; + +/// 自定义激励视频广告的adapter的回调协议 +@protocol ABUCustomRewardedVideoAdapterBridge +@optional + +/// 在广告加载完成时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param ext 回传信息 +- (void)rewardedVideoAd:(id_Nonnull)adapter didLoadWithExt:(NSDictionary *)ext; + +/// 在广告加载失败时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +/// @param ext 回传信息 +- (void)rewardedVideoAd:(id_Nonnull)adapter didLoadFailWithError:(NSError *_Nullable)error ext:(NSDictionary *)ext; + +/// 在广告中视频素材加载完成时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)rewardedVideoAdVideoDidLoad:(id_Nonnull)adapter; + +/// 在广告已经展示时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)rewardedVideoAdDidVisible:(id_Nonnull)adapter; + +/// 广告展示失败的时候调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +- (void)rewardedVideoAdDidShowFailed:(id)adapter error:(NSError *)error; + +/// 在广告关闭时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)rewardedVideoAdDidClose:(id_Nonnull)adapter; + +/// 在广告点击事件触发时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)rewardedVideoAdDidClick:(id_Nonnull)adapter; + +/// 在广告视频播放完成时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +- (void)rewardedVideoAd:(id_Nonnull)adapter didPlayFinishWithError:(NSError *_Nullable)error; + +/// 在ADN验证激励成功时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param infoBuilder 激励信息 +- (void)rewardedVideoAd:(id_Nonnull)adapter didServerRewardSuccessWithInfo:(void(^)(ABUAdapterRewardAdInfo *info))infoBuilder; + +/// 在广告被点击跳过时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)rewardedVideoAdDidClickSkip:(id_Nonnull)adapter; + +/// 在模板广告渲染成功时调用,非模板广告无需调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)rewardedVideoAdRenderSuccess:(id_Nonnull)adapter; + +/// 在广告渲染失败时调用,非模板广告无需调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +- (void)rewardedVideoAd:(id_Nonnull)adapter renderFailedWithError:(NSError *_Nullable)error; + +/// 在广告即将展示详情页或者app store时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)rewardedVideoAdWillPresentFullScreenModel:(id_Nonnull)adapter; + +/// 在广告关闭详情页或者app store时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)rewardedVideoAdWillDismissFullScreenModel:(id_Nonnull)adapter; + +/// 广告点击跳转使用的控制器 +- (UIViewController *)viewControllerForPresentingModalView; +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomRewardedVideoAdapterBridge.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomRewardedVideoAdapterBridge.h.meta new file mode 100644 index 0000000..2974dfb --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomRewardedVideoAdapterBridge.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 06452c948267fba48ab238feaa20bed8 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomSplashAdapter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomSplashAdapter.h new file mode 100644 index 0000000..06afbd2 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomSplashAdapter.h @@ -0,0 +1,45 @@ +// +// ABUCustomSplashAdapter.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/8. +// + +#import +#import "ABUCustomAdapter.h" +#import "ABUCustomSplashAdapterBridge.h" + +NS_ASSUME_NONNULL_BEGIN + +/// 开屏广告自定义实现协议 +@protocol ABUCustomSplashAdapter + +/// 加载开屏广告 +/// @param slotID 广告位ID +/// @param parameter 广告加载参数 +- (void)loadSplashAdWithSlotID:(NSString *)slotID andParameter:(NSDictionary *)parameter; + +/// 展示开屏广告 +/// @param window 广告展示窗口 +/// @param parameter 广告展示参数 +- (void)showSplashAdInWindow:(UIWindow *)window parameter:(NSDictionary *)parameter; + +/// 广告关闭实现,在外部使用开发者调用`destoryAd`时触发 +- (void)dismissSplashAd; + +/// 当前加载的广告的状态 +- (ABUMediatedAdStatus)mediatedAdStatus; + +@optional + +/// 代理,开发者需使用该对象回调事件,Objective-C下自动生成无需设置,Swift需声明 +@property (nonatomic, weak, nullable) id bridge; + +/// 展示开屏cardView +/// @param rootVC cardView要展示在的VC +/// @param parameter 额外参数 +- (void)showSplashCardInRootVC:(UIViewController *)rootVC parameter:(NSDictionary *)parameter; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomSplashAdapter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomSplashAdapter.h.meta new file mode 100644 index 0000000..aa71182 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomSplashAdapter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 21e5c0a62570c0c418fd93658e0d6e60 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomSplashAdapterBridge.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomSplashAdapterBridge.h new file mode 100644 index 0000000..6574168 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomSplashAdapterBridge.h @@ -0,0 +1,135 @@ +// +// ABUCustomSplashAdapterBridge.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/8. +// + +#import +#import "ABUZoomOutViewProperty.h" +#import "ABUCardViewProperty.h" + +NS_ASSUME_NONNULL_BEGIN + +@protocol ABUCustomSplashAdapter; + +/// 自定义开屏广告的adapter的回调协议 +@protocol ABUCustomSplashAdapterBridge +@optional + +/// 在广告加载完成时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param ext 回传信息 +- (void)splashAd:(id_Nonnull)adapter didLoadWithExt:(NSDictionary *)ext; + +/// 在广告加载失败时调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +/// @param ext 回传信息 +- (void)splashAd:(id_Nonnull)adapter didLoadFailWithError:(NSError *_Nullable)error ext:(NSDictionary *)ext; + +/// 在广告加载完成后如果存在zoomview时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param view zoom out view +/// @param property zoom out view属性 +- (void)splashAd:(id)adapter hasZoomOutView:(UIView *)view withProperty:(void(^)(ABUZoomOutViewProperty *prop))property; + +/// 在广告加载完成后如果存在cardView时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param view cardView +- (void)splashAd:(id)adapter hasCardView:(UIView *)view withProperty:(void(^)(ABUCardViewProperty *prop))property; + +/// 在广告即将展示时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)splashAdWillVisible:(id_Nonnull)adapter; + +/// 广告展示失败的时候调用该方法,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +- (void)splashAdDidShowFailed:(id)adapter error:(NSError *)error; + +/// 在广告点击事件触发时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)splashAdDidClick:(id_Nonnull)adapter; + +/// 在广告被点击跳过时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)splashAdDidClickSkip:(id_Nonnull)adapter; + +/// 在广告关闭时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)splashAdDidClose:(id_Nonnull)adapter; + +/// 在广告即将展示详情页或者app store时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)splashAdWillPresentFullScreenModal:(id_Nonnull)adapter; + +/// 在广告关闭详情页或者app store时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)splashAdWillDismissFullScreenModal:(id_Nonnull)adapter; + +/// 在模板广告渲染成功时调用,非模板广告无需调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)splashAdDidRenderSuccess:(id_Nonnull)adapter; + +/// 在广告渲染失败时调用,非模板广告无需调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 错误信息 +- (void)splashAd:(id_Nonnull)adapter didRenderFailedWithError:(NSError *)error; + +/// 在广告倒计时结束时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +- (void)splashAdDidCountDownToZero:(id_Nonnull)adapter; + +/// 在广告视频播放完成或者出错时调用,直接调用即可,无需做响应判断 +/// @param adapter 当前适配器 +/// @param error 播放错误 +- (void)splashAd:(id_Nonnull)adapter didPlayFinishWithError:(NSError *)error; + +/// 广告点击跳转使用的控制器 +- (UIViewController *)viewControllerForPresentingModalView; +@end + +/// 开屏广告zoom out 视图协议 +@protocol ABUCustomSplashAdapterZoomOutViewBridge + +/// 当zoom out 视图点击时调用,直接调用即可,无需做响应判断 +/// @param splashZoomOutView zoom out 视图 +- (void)adapterAdSplashZoomOutViewDidClick:(UIView *_Nonnull)splashZoomOutView; + +/// 当zoom out 视图关闭时调用,直接调用即可,无需做响应判断 +/// @param splashZoomOutView zoom out 视图 +- (void)adapterAdSplashZoomOutViewDidClose:(UIView *_Nonnull)splashZoomOutView; + +/// 当zoom out 在广告已经展示详情页或者app store时调用,直接调用即可,无需做响应判断 +/// @param splashZoomOutView zoom out 视图 +- (void)adapterAdSplashZoomOutViewDidPresentFullScreenModal:(UIView *_Nonnull)splashZoomOutView; + +/// 当zoom out 在广告已经关闭详情页或者app store时调用,直接调用即可,无需做响应判断 +/// @param splashZoomOutView zoom out 视图 +- (void)adapterAdSplashZoomOutViewDidDismissFullScreenModal:(UIView *_Nonnull)splashZoomOutView; + +@end + +/// 开屏广告cardView 视图协议 +@protocol ABUCustomSplashAdapterCardViewBridge + +/// 当zoom out 视图点击时调用,直接调用即可,无需做响应判断 +/// @param splashCardView cardView 视图 +- (void)adapterAdSplashCardViewDidClick:(UIView *_Nonnull)splashCardView; + +/// 当zoom out 视图关闭时调用,直接调用即可,无需做响应判断 +/// @param splashCardView cardView 视图 +- (void)adapterAdSplashCardViewDidClose:(UIView *_Nonnull)splashCardView; + +/// 当zoom out 在广告已经展示详情页或者app store时调用,直接调用即可,无需做响应判断 +/// @param splashCardView cardView 视图 +- (void)adapterAdSplashCardViewDidPresentFullScreenModal:(UIView *_Nonnull)splashCardView; + +/// 当zoom out 在广告已经关闭详情页或者app store时调用,直接调用即可,无需做响应判断 +/// @param splashCardView cardView 视图 +- (void)adapterAdSplashCardViewDidDismissFullScreenModal:(UIView *_Nonnull)splashCardView; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomSplashAdapterBridge.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomSplashAdapterBridge.h.meta new file mode 100644 index 0000000..86fd7f0 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUCustomSplashAdapterBridge.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 89f636a9603f82c408ad61cb0705a35a +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDictionary.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDictionary.h new file mode 100644 index 0000000..f12508d --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDictionary.h @@ -0,0 +1,20 @@ +// +// ABUDictionary.h +// Ads-Mediation-CN +// +// Created by bytedance on 2022/8/12. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +// 隐藏信息的字典,可以隐藏部分key的键值,不过可以通过key获取 +@interface ABUDictionary : NSDictionary + +// array 为字典中正常显示的内容 ++ (instancetype)dictionaryWithDictionary:(NSDictionary *)dict array:(NSArray *)array; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDictionary.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDictionary.h.meta new file mode 100644 index 0000000..17e68d1 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDictionary.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 4ef463ff54180944bb909805570d3b87 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeReason.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeReason.h new file mode 100644 index 0000000..c18906d --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeReason.h @@ -0,0 +1,19 @@ +// +// Created by bytedance on 2022/4/26. +// + +#import + +@interface ABUDislikeReason : NSObject + +- (instancetype)initWithID:(NSString *)ID name:(NSString *)name subReasons:(NSArray *)reasons; + +@property (nonatomic, copy, readonly) NSString *ID; + +@property (nonatomic, copy, readonly) NSString *name; + +@property (nonatomic, copy, readonly) NSArray *subReasons; + +@property (nonatomic, assign) BOOL isSelected; + +@end \ No newline at end of file diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeReason.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeReason.h.meta new file mode 100644 index 0000000..12d419a --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeReason.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3aaebcc116fbd0944a795967526c384b +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeReporter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeReporter.h new file mode 100644 index 0000000..1030ea8 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeReporter.h @@ -0,0 +1,36 @@ +// +// Created by bytedance on 2022/4/26. +// + +#import +#import "ABUDislikeReason.h" + +@class ABUNativeAdView; +@class ABUDrawAdView; + +/// dislike的原因上报句柄 +@interface ABUDislikeReporter : NSObject + +/// 构建上报对象 +/// @param nativeAdView 非模板Native广告对应的广告视图对象 +- (instancetype)initWithNativeAd:(ABUNativeAdView *)nativeAdView; + +/// 构建上报对象 +/// @param nativeAdView 非模板Native广告对应的广告视图对象 +- (instancetype)initWithDrawAd:(ABUDrawAdView *)drawAdView; + +/// 原因,不喜欢该广告的原因,由adn通过adapter提供 +@property (nonatomic, copy, readonly) NSArray *reasons; + +/// 选中了某个原因 +/// @param ID 原因的唯一标识 +- (void)didSelectedReasonWithID:(NSString *)ID; + +/// 取消选中了某个原因 +/// @param ID 原因的唯一标识 +- (void)didUnselectedReasonWithID:(NSString *)ID; + +/// 提交最终结果 +- (void)submit; + +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeReporter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeReporter.h.meta new file mode 100644 index 0000000..f312e4d --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeReporter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 75fbf9981ee03004c950560e34cc867d +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeWords.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeWords.h new file mode 100644 index 0000000..ac3962a --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeWords.h @@ -0,0 +1,19 @@ +// +// ABUDislikeWords.h +// ABUAdSDK +// +// Created by bytedance on 2021/9/29. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// 用户主动关闭广告原因,由自定义adapter开发者透传,内容不限,GroMore不对该数据进行处理[兼容旧版本] +//@interface ABUDislikeWords : NSDictionary +// +//@end + +typedef NSString ABUDislikeWords; + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeWords.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeWords.h.meta new file mode 100644 index 0000000..58046c7 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDislikeWords.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e42ba6d19ac373849a833253f9b0d9fd +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdVideoDelegate.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdVideoDelegate.h new file mode 100644 index 0000000..c8660b6 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdVideoDelegate.h @@ -0,0 +1,30 @@ +// +// ABUDrawAdVideoDelegate.h +// Ads-Mediation-CN +// +// Created by heyinyin on 2022/4/11. +// +#import +#import "ABUPlayerPlayState.h" + +@class ABUDrawAdView; + +@protocol ABUDrawAdVideoDelegate +@optional + +/// This method is called when videoadview playback status changed. +/// @param drawAdView draw ad view +/// @param playerState player state after changed +- (void)drawAdVideo:(ABUDrawAdView *_Nullable)drawAdView stateDidChanged:(ABUPlayerPlayState)playerState; + + +/// This method is called when videoadview's finish view is clicked. +/// @param drawAdView draw ad view +- (void)drawAdVideoDidClick:(ABUDrawAdView *_Nullable)drawAdView; + + +/// This method is called when videoadview end of play. +/// @param drawAdView draw ad view +- (void)drawAdVideoDidPlayFinish:(ABUDrawAdView *_Nullable)drawAdView; + +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdVideoDelegate.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdVideoDelegate.h.meta new file mode 100644 index 0000000..74cf920 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdVideoDelegate.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 634e0790b61271d42b42fae13e833eb4 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdView.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdView.h new file mode 100644 index 0000000..a843fe3 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdView.h @@ -0,0 +1,82 @@ +// +// ABUDrawVideoAdView.h +// ABUAdKsAdapter +// +// Created by heyinyin on 2022/4/7. +// + +#import "ABUCanvasView.h" + +#import "ABUDrawAdsManager.h" +#import "ABUImage.h" +#import "ABUDrawAdViewDelegate.h" +#import "ABUDrawAdVideoDelegate.h" + +NS_ASSUME_NONNULL_BEGIN + +@class ABUDrawAdsManager, ABURitInfo, ABUVideoAdReporter; +@class ABUDictionary; + +@interface ABUDrawAdView : ABUCanvasView +/// 广告管理者 +@property (nonatomic, weak, readonly) ABUDrawAdsManager *adManager; + +/// 代理协议对象 +@property (nonatomic, weak, readwrite, nullable) id delegate; + +/// 视频播放代理协议对象 +@property (nonatomic, weak, readwrite, nullable) id videoDelegate; + +/// 是否是模板广告,由adapter开发者实现 +@property (nonatomic, assign, readonly) BOOL isExpressAd; + +/// 是否是模板广告,由adapter开发者实现,同isExpressAd +@property (nonatomic, assign, readonly) BOOL hasExpressAdGot; + +/// [必传]跳转控制器 +@property (nonatomic, weak, readwrite) UIViewController *_Nullable rootViewController; + +/// 返回显示广告对应的披露信息,当没有权限访问时Ecpm会返回'-3' +- (nullable ABURitInfo *)getShowEcpmInfo; + +/// 填充后可调用,但推荐展示后调用,返回竞价广告的ecpm;当为server bidding ad时访问需要白名单权限; +- (NSArray *)multiBiddingEcpmInfos; + +/// 填充后可调用, 返回广告缓存池内所有信息;nil为无权限 +- (NSArray *)cacheRitList; + +/// 填充后可调用,返回当前最佳广告的ecpm;当为server bidding ad时访问需要白名单权限 +- (ABURitInfo *)getCurrentBestEcpmInfo; + +/// 广告的扩展信息,可能为nil +- (ABUDictionary *_Nullable)extraData; + +/// 填充后可调用,获取广告中的extra信息。目前只支持穿山甲,并且只支持获取coupon, live_room, product信息。 +- (nullable NSDictionary *)getMediaExtraInfo; + +/// 广告视图的唯一标识 +@property (nonatomic, copy, readonly) NSString *adViewID; +@end +/// draw广告视图类,模板部分 +@interface ABUDrawAdView (Express) + +/// 是否已经准备广告展示,理论上在广告加载回调后即为YES,但受一些因素的影响(例如广告失效),可能为NO。建议在广告展示前调用该方法进行是否可以展示 +@property (nonatomic, assign, readonly) BOOL isReady; + +/// 返回显示广告对应的Adn名称 +/// [必要]渲染模板广告,开发者调用前无需区分是否为模板广告,GroMore会自行处理 +- (void)render; + +/// [保留方法]更新模板媒体视图大小 +- (void)reSizeMediaView; + +@end + +@interface ABUDrawAdView (Native) + +/// 自渲染视频类广告事件上报对象,仅采用自定义视频播放器时需要上报,部分ADN需申请白名单 +@property (nonatomic, strong, readonly) ABUVideoAdReporter *videoAdReporter; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdView.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdView.h.meta new file mode 100644 index 0000000..4a527f0 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdView.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 80443c2d72966a84596b028a850a956a +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdViewDelegate.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdViewDelegate.h new file mode 100644 index 0000000..51e4237 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdViewDelegate.h @@ -0,0 +1,58 @@ +// +// ABUDrawAdViewDelegate.h +// Ads-Mediation-CN +// +// Created by heyinyin on 2022/4/11. +// + +#import +#import "ABUPlayerPlayState.h" + +@class ABUDrawAdView; + +@protocol ABUDrawAdViewDelegate + +@optional + +/// 模板广告渲染成功回调,非模板广告不会回调,模板广告可能不会回调 +/// @param drawAdView 模板广告对象 +- (void)drawAdExpressViewRenderSuccess:(ABUDrawAdView *_Nonnull)drawAdView; + +/// 模板广告渲染成功回调,非模板广告不会回调,模板广告可能不会回调 +/// @param drawAdView 模板广告对象 +/// @param error 渲染出错原因 +- (void)drawAdExpressViewRenderFail:(ABUDrawAdView *_Nonnull)drawAdView error:(NSError *_Nullable)error; + +/// 模板广告点击关闭时触发 +/// @param drawAdView 广告视图 +/// @param filterWords 广告关闭原因,adapter开发者透传数据 +- (void)drawAdExpressViewDidClosed:(ABUDrawAdView *_Nullable)drawAdView closeReason:(NSArray *_Nullable)filterWords; + +/// 非模板广告点击关闭时触发 +/// @param drawAdView 广告视图 +/// @param filterWords 广告关闭原因,adapter开发者透传数据 +- (void)drawAdDidClosed:(ABUDrawAdView *_Nullable)drawAdView closeReason:(NSArray *_Nullable)filterWords; + +/// 广告展示回调,不区分模板与非模板 +/// @param drawAdView 广告对象 +- (void)drawAdDidBecomeVisible:(ABUDrawAdView *_Nonnull)drawAdView; + +/// 广告视频播放状态变更回调,是否回调与adapter实现有关 +/// @param drawAdView 广告对象 +/// @param playerState 播放状态 +- (void)drawAdView:(ABUDrawAdView *_Nonnull)drawAdView stateDidChanged:(ABUPlayerPlayState)playerState; + +/// 广告点击事件回调 +/// @param drawAdView 广告对象 +/// @param view 广告展示视图 +- (void)drawAdDidClick:(ABUDrawAdView *_Nonnull)drawAdView withView:(UIView *_Nullable)view; + +/// 广告即将展示全屏页面/商店时触发 +/// @param drawAdView 广告视图 +- (void)drawAdViewWillPresentFullScreenModal:(ABUDrawAdView *_Nonnull)drawAdView; + +/// 广告即将关闭全屏页面/商店时触发 +/// @param drawAdView 广告视图 +- (void)drawAdViewWillDismissFullScreenModal:(ABUDrawAdView *_Nonnull)drawAdView; + +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdViewDelegate.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdViewDelegate.h.meta new file mode 100644 index 0000000..3e7801a --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdViewDelegate.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 66472668cbef69744abe1d395c5b315b +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdsManager.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdsManager.h new file mode 100644 index 0000000..bca2c5b --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdsManager.h @@ -0,0 +1,63 @@ +// +// ABUDrawAdsManager.h +// Ads-Mediation-CN +// +// Created by heyinyin on 2022/3/31. +// + +#import "ABUBaseAd.h" +#import "ABUSize.h" +#import "ABUAdSDKConst.h" +#import "ABUDrawAdView.h" + +NS_ASSUME_NONNULL_BEGIN + +@protocol ABUDrawAdsManagerDelegate; + +@interface ABUDrawAdsManager : ABUBaseAd + +/// 快速广告构建方法 +/// @param unitID 广告位ID +/// @param adSize 广告视图大小 +- (instancetype)initWithAdUnitID:(NSString *)unitID adSize:(CGSize)adSize; + +/// 广告视图的尺寸,请勿设置为0 +@property (nonatomic, assign) CGSize adSize; + +/// 广告代理对象 +@property (nonatomic, weak) id delegate; + +/// 必要,设置广告详情跳转控制器 +@property (nonatomic, weak) UIViewController *rootViewController; + +/// 加载广告方法 +/// @param count 加载广告的数量,建议单次不超过3个 +- (void)loadAdDataWithCount:(NSUInteger)count; + +@end + +@class ABUDrawAdView; +/// Draw 广告回调协议 +@protocol ABUDrawAdsManagerDelegate + +@optional + +/// Draw 广告加载成功回调 +/// @param adsManager 广告管理对象 +/// @param drawAds 广告视图,GroMore包装视图对象组,包括模板广告和自渲染广告 +- (void)drawAdsManagerSuccessToLoad:(ABUDrawAdsManager *_Nonnull)adsManager drawVideoAds:(NSArray *_Nullable)drawAds; + +/// Draw 广告加载失败回调 +/// @param adsManager 广告管理对象 +/// @param error 加载出错信息 +- (void)drawAdsManager:(ABUDrawAdsManager *_Nonnull)adsManager didFailWithError:(NSError *_Nullable)error; + +/// 暂不开放使用 +- (void)drawAdsManager:(ABUDrawAdsManager *_Nonnull)adsManager didWaitingBiddingResultWithParameters:(NSDictionary *)parameters andResumeHandler:(void(^)(NSDictionary *_Nullable data, NSError *_Nullable error))handler; + +/// 暂不开放使用 +- (void)drawAdsManagerDidFinishLoadAdnAd:(ABUDrawAdsManager *_Nonnull)adsManager drawAd:(ABUDrawAdView *_Nullable)drawAd error:(NSError *_Nullable)error; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdsManager.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdsManager.h.meta new file mode 100644 index 0000000..0d7da86 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUDrawAdsManager.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: eb7af40920d041949ba7efe4207a94cf +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUFullscreenVideoAd.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUFullscreenVideoAd.h new file mode 100644 index 0000000..9e636f5 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUFullscreenVideoAd.h @@ -0,0 +1,129 @@ +// +// ABUNewFullscreenVideoAd.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/8. +// + +#import "ABUBaseAd.h" +#import "ABUAdSDKConst.h" +#import "ABURewardedVideoModel.h" + +NS_ASSUME_NONNULL_BEGIN + +@class ABUFullscreenVideoAd, ABUAdapterRewardAdInfo; + +/// 全屏视频广告代理回调 +@protocol ABUFullscreenVideoAdDelegate + +@optional + +/// 广告加载成功回调 +/// @param fullscreenVideoAd 广告管理对象 +- (void)fullscreenVideoAdDidLoad:(ABUFullscreenVideoAd *)fullscreenVideoAd; + +/// 广告加载失败回调 +/// @param fullscreenVideoAd 广告管理对象 +/// @param error 错误信息 +- (void)fullscreenVideoAd:(ABUFullscreenVideoAd *)fullscreenVideoAd didFailWithError:(NSError *_Nullable)error; + +/// 广告已加载视频素材回调 +/// @param fullscreenVideoAd 广告管理对象 +- (void)fullscreenVideoAdDidDownLoadVideo:(ABUFullscreenVideoAd *)fullscreenVideoAd; + +/// 广告展示回调 +/// @param fullscreenVideoAd 广告管理对象 +- (void)fullscreenVideoAdDidVisible:(ABUFullscreenVideoAd *)fullscreenVideoAd; + +/// 广告点击详情事件回调 +/// @param fullscreenVideoAd 广告管理对象 +- (void)fullscreenVideoAdDidClick:(ABUFullscreenVideoAd *)fullscreenVideoAd; + +/// 广告点击跳过事件回调 +/// @param fullscreenVideoAd 广告管理对象 +- (void)fullscreenVideoAdDidSkip:(ABUFullscreenVideoAd *)fullscreenVideoAd; + +/// 广告关闭事件回调 +/// @param fullscreenVideoAd 广告管理对象 +- (void)fullscreenVideoAdDidClose:(ABUFullscreenVideoAd *)fullscreenVideoAd; + +/// 即将弹出详情广告页回调 +/// @param fullscreenVideoAd 广告管理对象 +- (void)fullscreenVideoAdWillPresentFullScreenModal:(ABUFullscreenVideoAd *)fullscreenVideoAd; + +/// 广告视频播放完成或者出错回调 +/// @param fullscreenVideoAd 广告管理对象 +/// @param error 播放出错时的信息,播放完成时为空 +- (void)fullscreenVideoAd:(ABUFullscreenVideoAd *)fullscreenVideoAd didPlayFinishWithError:(NSError *_Nullable)error; + +/// 广告展示失败回调 +/// @param fullscreenVideoAd 广告管理对象 +/// @param error 展示失败的原因 +- (void)fullscreenVideoAdDidShowFailed:(ABUFullscreenVideoAd *)fullscreenVideoAd error:(NSError *_Nonnull)error; + +/// 请求的服务器验证成功包括C2C和S2S方法回调;支持全屏视频,目前支持的adn:GDT, Load前可按需传入rewardModel信息 +/// @param fullscreenVideoAd 广告管理对象 +/// @param rewardInfo 奖励发放验证信息 +/// @param verify 是否验证通过 +- (void)fullscreenVideoAdServerRewardDidSucceed:(ABUFullscreenVideoAd *)fullscreenVideoAd rewardInfo:(ABUAdapterRewardAdInfo *_Nullable)rewardInfo verify:(BOOL)verify; + +@end + +/// 全屏视频广告管理类 +@interface ABUFullscreenVideoAd : ABUBaseAd + +/// 广告对象构建方法 +/// @param unitID 广告位ID +- (instancetype)initWithAdUnitID:(NSString *)unitID; + +/// 广告代理对象 +@property (nonatomic, weak) id delegate; + +/// optional 激励模型,用于全屏视频广告服务端激励回调;目前支持的adn:GDT +@property (nonatomic, strong) ABURewardedVideoModel * _Nonnull rewardModel; + +/// 是否使用模板广告,只对支持模板广告的第三方SDK有效,默认为NO,仅在广告加载前设置有效,优先以平台配置为准 +@property (nonatomic, assign) BOOL getExpressAdIfCan ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,在SDK V2900以上全屏视频客户端将无需区分模板非模板"); + +/// 是否静音播放视频,是否真实静音由adapter确定,默认为NO,仅在广告加载前设置有效 +@property (nonatomic, assign) BOOL mutedIfCan; + +/// 是否已经准备广告展示,理论上在广告加载回调后即为YES,但受一些因素的影响(例如广告失效),可能为NO。建议在广告展示前调用该方法进行是否可以展示 +@property (nonatomic, assign, readonly) BOOL isReady; + +/// 是否使用GDT express 2.0,对GDT( ≥ 4.11.60)有效,默认为NO,仅在广告加载前设置有效,优先以平台配置为准 +@property (nonatomic, assign) BOOL useExpress2IfCanForGDT ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,在SDK V2900以上配合GdtV4.12.80+全屏视频客户端将无需区分模板2.0"); + +/// 展示广告 +/// @param viewController 跳转控制器,必传 +- (BOOL)showAdFromRootViewController:(UIViewController *)viewController; + +/// 展示广告 +/// @param viewController 跳转控制器,必传 +/// @param extroInfos 扩展信息,可选,与adapter及ADN是否实现有关,字段参见ABUADSDKConst.h中全屏视频、激励视频展示扩展部分 +- (BOOL)showAdFromRootViewController:(UIViewController *)viewController extroInfos:(NSDictionary *_Nullable)extroInfos; + +/// 返回显示广告对应的披露信息,当没有权限访问时Ecpm会返回'-3' +- (ABURitInfo *)getShowEcpmInfo; + +/// 填充后可调用,返回当前最佳广告的ecpm;当为server bidding ad时访问需要白名单权限;nil为无权限 +- (ABURitInfo *)getCurrentBestEcpmInfo; + +/// 填充后可调用,但推荐展示后调用,返回竞价广告的ecpm;当为server bidding ad时访问需要白名单权限; +- (NSArray *)multiBiddingEcpmInfos; + +/// 填充后可调用, 返回广告缓存池内所有信息;nil为无权限 +- (NSArray *)cacheRitList; + +/// 广告的扩展信息,可能为nil +- (NSDictionary *_Nullable)extraData; + +/// 填充后可调用,获取广告中的extra信息。目前只支持穿山甲,并且只支持获取coupon, live_room, product信息。 +- (nullable NSDictionary *)getMediaExtraInfo; + +/// 返回是否为模板广告,值同`getExpressAdIfCan` +@property (nonatomic, assign, readonly) BOOL hasExpressAdGot ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,在SDK V2900以上全屏视频客户端将无需区分模板非模板"); + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUFullscreenVideoAd.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUFullscreenVideoAd.h.meta new file mode 100644 index 0000000..04f07c9 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUFullscreenVideoAd.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 743c2848884a4b04eabd4ffb967e4397 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUImage.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUImage.h new file mode 100644 index 0000000..5ea083c --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUImage.h @@ -0,0 +1,26 @@ +// +// ABUImage.h +// BUAdSDK +// +// Copyright © 2017 bytedance. All rights reserved. +// + +#import + +@interface ABUImage : NSObject +// image.If is nil,Please use imageURL as the standard to display image. +@property (nonatomic, copy) UIImage *image; + +// image address URL +@property (nonatomic, copy) NSURL *imageURL; + +// image width +@property (nonatomic, assign) float width; + +// image height +@property (nonatomic, assign) float height; + +// image scale +@property (nonatomic, assign) float scale; + +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUImage.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUImage.h.meta new file mode 100644 index 0000000..579e370 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUImage.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 1391490e550d14a4698feecac8aa32ac +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUInterstitialAd.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUInterstitialAd.h new file mode 100644 index 0000000..f5bd8c1 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUInterstitialAd.h @@ -0,0 +1,104 @@ +// +// ABUInterstitialAd.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/25. +// + +#import "ABUBaseAd.h" + +NS_ASSUME_NONNULL_BEGIN + +@class ABUInterstitialAd; + +/// 插屏广告代理协议 +@protocol ABUInterstitialAdDelegate + +@optional + +/// 广告加载成功回调 +/// @param interstitialAd 广告管理对象 +- (void)interstitialAdDidLoad:(ABUInterstitialAd *)interstitialAd; + +/// 广告加载失败回调 +/// @param interstitialAd 广告管理对象 +/// @param error 加载错误信息 +- (void)interstitialAd:(ABUInterstitialAd *)interstitialAd didFailWithError:(NSError *_Nullable)error; + +/// 模板广告渲染失败时回调,非模板广告不会回调该方法 +/// @param interstitialAd 广告管理对象 +/// @param error 错误信息 +- (void)interstitialAdViewRenderFail:(ABUInterstitialAd *)interstitialAd error:(NSError *__nullable)error; + +/// 广告展示回调 +/// @param interstitialAd 广告管理对象 +- (void)interstitialAdDidVisible:(ABUInterstitialAd *)interstitialAd; + +/// 广告展示失败回调 +/// @param interstitialAd 广告管理对象 +/// @param error 展示失败的原因 +- (void)interstitialAdDidShowFailed:(ABUInterstitialAd *_Nonnull)interstitialAd error:(NSError *_Nonnull)error; + +/// 广告点击事件回调 +/// @param interstitialAd 广告管理对象 +- (void)interstitialAdDidClick:(ABUInterstitialAd *)interstitialAd; + +/// 广告关闭事件回调 +/// @param interstitialAd 广告管理对象 +- (void)interstitialAdDidClose:(ABUInterstitialAd *)interstitialAd; + +/// 即将弹出广告详情页回调 +/// @param interstitialAd 广告管理对象 +- (void)interstitialAdWillPresentFullScreenModal:(ABUInterstitialAd *)interstitialAd; + +/// 广告即将关闭广告详情页回调 +/// @param interstitialAd 广告管理对象 +- (void)interstitialAdWillDismissFullScreenModal:(ABUInterstitialAd *)interstitialAd; + +@end + +/// 插屏广告管理类 +@interface ABUInterstitialAd : ABUBaseAd + +/// 插屏广告构造方法 +/// @param adUnitID 广告位ID +/// @param expectSize 期望广告尺寸 +- (instancetype)initWithAdUnitID:(NSString *_Nonnull)adUnitID size:(CGSize)expectSize; + +/// 广告代理对象 +@property (nonatomic, weak) id delegate; + +/// 是否静音播放视频,是否真实静音由adapter确定,默认为NO,仅在广告加载前设置有效,优先以平台配置为准 +@property (nonatomic, assign) BOOL mutedIfCan; + +/// 是否使用GDT express 2.0,对GDT( ≥ 4.11.60)有效,默认为NO,仅在广告加载前设置有效,优先以平台配置为准 +@property (nonatomic, assign) BOOL useExpress2IfCanForGDT ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,在SDK V2900以上配合GdtV4.12.80+插屏视频客户端将无需区分模板2.0"); + +/// 是否已经准备广告展示,理论上在广告加载回调后即为YES,但受一些因素的影响(例如广告失效),可能为NO。建议在广告展示前调用该方法进行是否可以展示 +@property (nonatomic, assign, readonly) BOOL isReady; + +/// 广告的扩展信息,可能为nil +- (NSDictionary *_Nullable)extraData; + +/// 展示广告 +/// @param rootViewController 跳转控制器,必传 +- (BOOL)showAdFromRootViewController:(UIViewController *_Nonnull)rootViewController; + +/// 返回显示广告对应的披露信息,当没有权限访问时Ecpm会返回'-3' +- (ABURitInfo *)getShowEcpmInfo; + +/// 填充后可调用,返回当前最佳广告的ecpm;当为server bidding ad时访问需要白名单权限;nil为无权限 +- (ABURitInfo *)getCurrentBestEcpmInfo; + +/// 填充后可调用,但推荐展示后调用,返回竞价广告的ecpm;当为server bidding ad时访问需要白名单权限; +- (NSArray *)multiBiddingEcpmInfos; + +/// 填充后可调用, 返回广告缓存池内所有信息;nil为无权限 +- (NSArray *)cacheRitList; + +/// 填充后可调用,获取广告中的extra信息。目前只支持穿山甲,并且只支持获取coupon, live_room, product信息。 +- (nullable NSDictionary *)getMediaExtraInfo; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUInterstitialAd.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUInterstitialAd.h.meta new file mode 100644 index 0000000..74d5c0d --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUInterstitialAd.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 07a5723cce1790246b5e591522c876e4 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUInterstitialProAd.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUInterstitialProAd.h new file mode 100644 index 0000000..bed7f46 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUInterstitialProAd.h @@ -0,0 +1,123 @@ +// +// ABUInterstitialProAd.h +// ABUAdSDK +// +// Created by CHAORS on 2021/10/14. +// + +#import "ABUBaseAd.h" +#import "ABURewardedVideoModel.h" + +NS_ASSUME_NONNULL_BEGIN + +@class ABUInterstitialProAd, ABUAdapterRewardAdInfo; +/// 插全屏广告代理协议 +@protocol ABUInterstitialProAdDelegate + +@optional + +/// 广告加载成功回调 +/// @param interstitialProAd 广告管理对象 +- (void)interstitialProAdDidLoad:(ABUInterstitialProAd *_Nonnull)interstitialProAd; + +/// 广告已加载视频素材回调;非视频素材会在load之后立即给出,开发者可统一在该回调后作为离线展示广告的条件 +/// @param interstitialProAd 广告管理对象 +- (void)interstitialProAdDidDownLoadVideo:(ABUInterstitialProAd *_Nonnull)interstitialProAd; + + +/// 视频素材广告播放完毕; +/// @param interstitialProAd 广告管理对象 +/// @param error 正常播放完毕为nil;异常结束时承载错误信息 +- (void)interstitialProAdDidPlayFinish:(ABUInterstitialProAd * _Nonnull)interstitialProAd didFailWithError:(NSError *_Nullable)error; + +/// 广告加载失败回调 +/// @param interstitialProAd 广告管理对象 +/// @param error 加载错误信息 +- (void)interstitialProAd:(ABUInterstitialProAd *_Nonnull)interstitialProAd didFailWithError:(NSError *_Nullable)error; + +/// 模板广告渲染失败时回调,非模板广告不会回调该方法 +/// @param interstitialProAd 广告管理对象 +/// @param error 错误信息 +- (void)interstitialProAdViewRenderFail:(ABUInterstitialProAd *_Nonnull)interstitialProAd error:(NSError *__nullable)error; + +/// 广告展示回调 +/// @param interstitialProAd 广告管理对象 +- (void)interstitialProAdDidVisible:(ABUInterstitialProAd *_Nonnull)interstitialProAd; + +/// 广告展示失败回调 +/// @param interstitialProAd 广告管理对象 +/// @param error 展示失败的原因 +- (void)interstitialProAdDidShowFailed:(ABUInterstitialProAd *_Nonnull)interstitialProAd error:(NSError *_Nonnull)error; + +/// 广告点击事件回调 +/// @param interstitialProAd 广告管理对象 +- (void)interstitialProAdDidClick:(ABUInterstitialProAd *_Nonnull)interstitialProAd; + +/// 广告点击跳过事件回调 +/// @param interstitialProAd 广告管理对象 +- (void)interstitialProAdDidSkip:(ABUInterstitialProAd *_Nonnull)interstitialProAd; + + +/// 广告关闭事件回调 +/// @param interstitialProAd 广告管理对象 +- (void)interstitialProAdDidClose:(ABUInterstitialProAd *_Nonnull)interstitialProAd; + +/// 即将弹出广告详情页回调 +/// @param interstitialProAd 广告管理对象 +- (void)interstitialProAdWillPresentFullScreenModal:(ABUInterstitialProAd *_Nonnull)interstitialProAd; + +/// 请求的服务器验证成功包括C2C和S2S方法回调;支持全屏视频,目前支持的adn:GDT, Load前可按需传入rewardModel信息 +/// @param interstitialProAd 广告管理对象 +/// @param rewardInfo 奖励发放验证信息 +/// @param verify 是否验证通过 +- (void)interstitialProAdServerRewardDidSucceed:(ABUInterstitialProAd *_Nonnull)interstitialProAd rewardInfo:(ABUAdapterRewardAdInfo *_Nullable)rewardInfo verify:(BOOL)verify; + +@end + + +/// 插全屏广告管理类 +@interface ABUInterstitialProAd : ABUBaseAd + +/// 插屏广告构造方法 +/// @param adUnitID 广告位ID +/// @param sizeForInterstitial 针对插屏(非全屏)期望的广告尺寸 +- (instancetype _Nonnull )initWithAdUnitID:(NSString *_Nonnull)adUnitID sizeForInterstitial:(CGSize)sizeForInterstitial; + +/// 广告代理对象 +@property (nonatomic, weak) id _Nullable delegate; + +/// optional 激励模型,用于全屏视频广告服务端激励回调;目前支持的adn:GDT +@property (nonatomic, strong) ABURewardedVideoModel * _Nonnull rewardModel; + +/// 是否静音播放视频,是否真实静音由adapter确定,默认为NO,仅在广告加载前设置有效 +@property (nonatomic, assign) BOOL mutedIfCan; + +/// 是否已经准备广告展示,理论上在广告加载回调后即为YES,但受一些因素的影响(例如广告失效),可能为NO。建议在广告展示前调用该方法进行是否可以展示 +@property (nonatomic, assign, readonly) BOOL isReady; + +/// 广告的扩展信息,可能为nil +- (NSDictionary *_Nullable)extraData; + +/// 展示广告 +/// @param viewController 跳转控制器,必传 +/// @param extraInfos 扩展信息,可选,与adapter及ADN是否实现有关,字段参见ABUADSDKConst.h中全屏视频、激励视频展示扩展部分 +- (BOOL)showAdFromRootViewController:(UIViewController *_Nonnull)viewController extraInfos:(NSDictionary *_Nullable)extraInfos; + +/// 返回显示广告对应的披露信息,当没有权限访问时Ecpm会返回'-3' +- (ABURitInfo *)getShowEcpmInfo; + +/// 填充后可调用,返回当前最佳广告的ecpm;当为server bidding ad时访问需要白名单权限;nil为无权限 +- (ABURitInfo *_Nullable)getCurrentBestEcpmInfo; + +/// 填充后可调用,但推荐展示后调用,返回竞价广告的ecpm;当为server bidding ad时访问需要白名单权限; +- (NSArray *)multiBiddingEcpmInfos; + +/// 填充后可调用, 返回广告缓存池内所有信息;nil为无权限 +- (NSArray *_Nullable)cacheRitList; + +/// 填充后可调用,获取广告中的extra信息。目前只支持穿山甲,并且只支持获取coupon, live_room, product信息。 +- (nullable NSDictionary *)getMediaExtraInfo; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUInterstitialProAd.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUInterstitialProAd.h.meta new file mode 100644 index 0000000..8bcfc11 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUInterstitialProAd.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 65b74926407f65c4f84dea88c49f5b86 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediaBidResult.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediaBidResult.h new file mode 100644 index 0000000..bc9c1da --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediaBidResult.h @@ -0,0 +1,28 @@ +// +// ABUMediaBidResult.h +// Ads-Mediation-CN +// +// Created by bytedance on 2021/11/23. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface ABUMediaBidResult : NSObject + +@property (nonatomic, assign, readonly) BOOL win; + +@property (nonatomic, assign, readonly) NSInteger winnerPrice; + +@property (nonatomic, copy, readonly) NSString *lossDescription; + +@property (nonatomic, copy, readonly) NSString *winnerAdnID; + +@property (nonatomic, copy, readonly) NSDictionary *ext; + +@property (nonatomic, strong, readonly) id originNativeAdData; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediaBidResult.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediaBidResult.h.meta new file mode 100644 index 0000000..2882971 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediaBidResult.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 66360def11607024c8490964e5df5dcc +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAd.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAd.h new file mode 100644 index 0000000..cf2e6a5 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAd.h @@ -0,0 +1,23 @@ +// +// Created by bytedance on 2021/7/8. +// + +#import +#import "ABUMediatedNativeAdData.h" +#import "ABUMediatedNativeAdViewCreator.h" + +@interface ABUMediatedNativeAd : NSObject + +// 广告物料,包含有最全的广告数据 +@property (nonatomic, strong, nonnull) id data; + +// 广告视图创建对象,对常用广告展示元素进行创建(存在意义:对部分adn创建特定视图的支持) +@property (nonatomic, strong, nonnull) id viewCreator; + +// 广告视图对象(存在意义:对部分adn创建特定视图的支持) +@property (nonatomic, strong, nonnull) UIView *view; + +// adn获取到的原始广告数据 +@property (nonatomic, strong, nonnull) id originMediatedNativeAd; + +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAd.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAd.h.meta new file mode 100644 index 0000000..06f9232 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAd.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f17d50f5d3540564499b8531fcf6f9bd +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAdData.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAdData.h new file mode 100644 index 0000000..fe76dcc --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAdData.h @@ -0,0 +1,111 @@ +// +// Created by bytedance on 2021/7/5. +// + +#import +#import "ABUAdSDKConst.h" + +@class ABUImage; + +typedef NS_ENUM (NSInteger, ABUMediatedNativeAdCallToType) { + ABUMediatedNativeAdCallToTypeUnknown = 0, + ABUMediatedNativeAdCallToTypeNone = 1, // pure ad display + ABUMediatedNativeAdCallToTypeURL = 2, // open the webpage using a browser + ABUMediatedNativeAdCallToTypePage = 3, // open the webpage within the app + ABUMediatedNativeAdCallToTypeDownload = 4, // download the app + ABUMediatedNativeAdCallToTypePhone = 5, // make a call + ABUMediatedNativeAdCallToTypeMessage = 6, // send messages + ABUMediatedNativeAdCallToTypeEmail = 7, // send email + ABUMediatedNativeAdCallToTypeVideoAdDetail = 8, // video ad details page + ABUMediatedNativeAdCallToTypeOthers = 100 //其他广告sdk返回的类型 +}; + +typedef NS_ENUM (NSInteger, ABUMediatedNativeAdMode) { + ABUMediatedNativeAdModeUnknown = 00, // 未知 + ABUMediatedNativeAdModeSmallImage = 02, // 水平小图样式 + ABUMediatedNativeAdModeLargeImage = 03, // 水平大图样式 + ABUMediatedNativeAdModeGroupImage = 04, // 水平组图样式 + ABUMediatedNativeAdModeLandscapeVideo = 05, // 水平视频样式 + ABUMediatedNativeAdModePortraitVideo = 15, // 垂直视频样式 + ABUMediatedNativeAdModePortraitImage = 16, // 垂直图片样式 + // 兼容 + ABUFeedADModeSmallImage = 02, // ABUMediatedNativeAdModeSmallImage, + ABUFeedADModeLargeImage = 03, // ABUMediatedNativeAdModeLargeImage, + ABUFeedADModeGroupImage = 04, // ABUMediatedNativeAdModeGroupImage, + ABUFeedVideoAdModeImage = 05, // ABUMediatedNativeAdModeLandscapeVideo, + ABUFeedVideoAdModePortrait = 15, // ABUMediatedNativeAdModePortraitVideo, + ABUFeedADModeImagePortrait = 16, // ABUMediatedNativeAdModePortraitImage, +}; + +typedef ABUMediatedNativeAdMode ABUFeedADMode; + +@protocol ABUMediatedNativeAdData; +@class ABUDislikeReason; + +typedef NSObject ABUMaterialMeta; + +/// 媒体native ad数据协议,配合ABUMediatedNativeAdViewCreator使用 +@protocol ABUMediatedNativeAdData + +/// 广告支持的跳转类型 +@property (nonatomic, assign, readonly) ABUMediatedNativeAdCallToType callToType; + +/// 物料图片集,如果图片有宽高,请尽量配置width和height +@property (nonatomic, copy, readonly, nullable) NSArray *imageList; + +/// app类型广告的广告商app图标,如果图标有宽高,请尽量配置width和height +@property (nonatomic, strong, readonly, nullable) ABUImage *icon; + +/// 广告adn的logo,如果logo有宽高,请尽量配置width和height +@property (nonatomic, strong, readonly, nullable) ABUImage *adLogo; + +/// 广告标题 +@property (nonatomic, copy, readonly, nullable) NSString *adTitle; + +/// 广告详情描述 +@property (nonatomic, copy, readonly, nullable) NSString *adDescription; + +/// 应用来源、市场,例如'App Store' +@property (nonatomic, copy, readonly, nullable) NSString *source; + +/// 按钮文案,例如'下载/安装' +@property (nonatomic, copy, readonly, nullable) NSString *buttonText; + +/// 图片/视频模式 +@property (nonatomic, assign, readonly) ABUMediatedNativeAdMode imageMode; + +/// app评分,区间为1-5,如果没有值返回-1 +@property (nonatomic, assign, readonly) NSInteger score; + +/// 评论数量,如果没有值返回-1 +@property (nonatomic, assign, readonly) NSInteger commentNum; + +/// 广告安装包体大小,单位KB,如果没有值返回-1 +@property (nonatomic, assign, readonly) NSInteger appSize; + +/// 视频时长,单位秒,如果没有值返回0 +@property (nonatomic, assign, readonly) NSInteger videoDuration; + +/// 视频纵横比(width/height),如果没有值或者异常返回0 +@property (nonatomic, assign, readonly) CGFloat videoAspectRatio; + +/// 媒体扩展数据 +@property (nonatomic, copy, readonly, nullable) NSDictionary *mediaExt; + +/// app购买价格,例如'免费',没有则为nil +@property (nonatomic, strong, readonly, nullable) NSString *appPrice; + +/// 广告商标识,广告商的名称或者链接 +@property (nonatomic, copy, readonly, nullable) NSString *advertiser; + +/// 品牌名称,若广告返回中无品牌名称则为空 +@property (copy, nonatomic, readonly, nullable) NSString *brandName; + +/// ADN提供的不喜欢广告的原因,可能为空 +@property (nonatomic, copy, readonly, nullable) NSArray *dislikeReasons; + +/// ADN提供的视频类型广告的资源路径,部分ADN需要申请白名单,可能为空 +@property (nonatomic, copy, readonly, nullable) NSString *videoUrl; + +@end + diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAdData.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAdData.h.meta new file mode 100644 index 0000000..5e7bb85 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAdData.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 047005b8d20f50b4c8ca592a13dd854a +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAdViewCreator.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAdViewCreator.h new file mode 100644 index 0000000..1111836 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAdViewCreator.h @@ -0,0 +1,42 @@ +// +// Created by bytedance on 2021/7/5. +// + +#import +#import + +/// 媒体Native非模板广告视图构造协议 +/// 📣 adapter开发者可不配置数据内容,外部开发者在接入时需手动填充ABUMediatedNativeAdData中数据 +@protocol ABUMediatedNativeAdViewCreator + +/// 是否支持自定义事件按钮,如果为YES,开发者可以配置 callToActionBtn 的数据,默认为YES +@property (nonatomic, assign, readonly) BOOL hasSupportActionBtn; + +/// 广告标题视图 +@property (nonatomic, strong, nullable, readonly) UILabel *titleLabel; + +/// 广告描述信息视图 +@property (nonatomic, strong, nullable, readonly) UILabel *descLabel; + +/// 广告图标视图 +@property (nonatomic, strong, nullable, readonly) UIImageView *iconImageView; + +/// 广告图片视图 +@property (nonatomic, strong, nullable, readonly) UIImageView *imageView; + +/// 广告事件按钮 +@property (nonatomic, strong, nullable, readonly) UIButton *callToActionBtn; + +/// 广告商视图 +@property (nonatomic, strong, nullable, readonly) UIView *advertiserView; + +/// 不喜欢广告按钮 +@property (nonatomic, strong, nullable, readonly) UIButton *dislikeBtn; + +/// 视频视图 +@property (nonatomic, strong, nullable, readonly) UIView *mediaView; + +/// 广告图标视图 +@property (nonatomic, strong, nullable, readonly) UIView *adLogoView; + +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAdViewCreator.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAdViewCreator.h.meta new file mode 100644 index 0000000..6798dcd --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUMediatedNativeAdViewCreator.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 480776acbacbd634d8f57d7a2924a610 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdVideoDelegate.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdVideoDelegate.h new file mode 100644 index 0000000..71c8eb8 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdVideoDelegate.h @@ -0,0 +1,30 @@ +// +// Created by bytedance on 2021/7/8. +// Copyright (c) 2021 wangchao. All rights reserved. +// + +#import +#import "ABUPlayerPlayState.h" + +@class ABUNativeAdView; + +@protocol ABUNativeAdVideoDelegate + +@optional + +/// 当视频播放状态改变之后触发 +/// @param nativeAdView 广告视图 +/// @param playerState 变更后的播放状态 +- (void)nativeAdVideo:(ABUNativeAdView *_Nullable)nativeAdView stateDidChanged:(ABUPlayerPlayState)playerState; + + +/// 广告视图中视频视图被点击时触发 +/// @param nativeAdView 广告视图 +- (void)nativeAdVideoDidClick:(ABUNativeAdView *_Nullable)nativeAdView; + + +/// 广告视图中视频播放完成时触发 +/// @param nativeAdView 广告视图 +- (void)nativeAdVideoDidPlayFinish:(ABUNativeAdView *_Nullable)nativeAdView; + +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdVideoDelegate.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdVideoDelegate.h.meta new file mode 100644 index 0000000..e7cb802 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdVideoDelegate.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 5981586900f508947b45351d8e52f509 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdView.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdView.h new file mode 100644 index 0000000..58b2a56 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdView.h @@ -0,0 +1,85 @@ +// +// ABUMediatedNativeAd.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/9. +// + +#import +#import "ABUCanvasView.h" +#import "ABUNativeAdView.h" +#import "ABUImage.h" +#import "ABUNativeAdViewDelegate.h" +#import "ABUNativeAdVideoDelegate.h" + +NS_ASSUME_NONNULL_BEGIN + +@class ABUDictionary; + +@class ABUNativeAdsManager,ABURitInfo,ABUVideoAdReporter; + +/// native广告视图类 +@interface ABUNativeAdView : ABUCanvasView + +/// 广告管理者 +@property (nonatomic, weak, readonly) ABUNativeAdsManager *adManager; + +/// 代理协议对象 +@property (nonatomic, weak, readwrite, nullable) id delegate; + +/// 视频播放代理协议对象 +@property (nonatomic, weak, readwrite, nullable) id videoDelegate; + +/// 是否是模板广告,由adapter开发者实现 +@property (nonatomic, assign, readonly) BOOL isExpressAd; + +/// 是否是模板广告,由adapter开发者实现,同isExpressAd +@property (nonatomic, assign, readonly) BOOL hasExpressAdGot; + +/// [必传]跳转控制器 +@property (nonatomic, weak, readwrite) UIViewController *_Nullable rootViewController; + +/// 是否已经准备广告展示,理论上在广告加载回调后即为YES,但受一些因素的影响(例如广告失效),可能为NO。建议在广告展示前调用该方法进行是否可以展示 +@property (nonatomic, assign, readonly) BOOL isReady; + +/// 返回显示广告对应的披露信息,当没有权限访问时Ecpm会返回'-3' +- (nullable ABURitInfo *)getShowEcpmInfo; + +/// 广告的扩展信息,可能为nil +- (ABUDictionary *_Nullable)extraData; + +/// 填充后可调用,但推荐展示后调用,返回竞价广告的ecpm;当为server bidding ad时访问需要白名单权限; +- (NSArray *)multiBiddingEcpmInfos; + +/// 填充后可调用, 返回广告缓存池内所有信息;nil为无权限 +- (NSArray *)cacheRitList; + +/// 填充后可调用,返回当前最佳广告的ecpm;当为server bidding ad时访问需要白名单权限 +- (ABURitInfo *)getCurrentBestEcpmInfo; + +/// 填充后可调用,获取广告中的extra信息。目前只支持穿山甲,并且只支持获取coupon, live_room, product信息。 +- (nullable NSDictionary *)getMediaExtraInfo; + +/// 广告视图的唯一标识 +@property (nonatomic, copy, readonly) NSString *adViewID; + +@end + +/// native广告视图类,模板部分 +@interface ABUNativeAdView (Express) + +/// [必要]渲染模板广告,开发者调用前无需区分是否为模板广告,GroMore会自行处理 +- (void)render; + +/// [保留方法]更新模板媒体视图大小 +- (void)reSizeMediaView; + +@end + +@interface ABUNativeAdView (Native) + +/// 自渲染视频类广告事件上报对象,仅采用自定义视频播放器时需要上报,部分ADN需申请白名单 +@property (nonatomic, strong, readonly) ABUVideoAdReporter *videoAdReporter; + +@end +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdView.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdView.h.meta new file mode 100644 index 0000000..a437507 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdView.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a77b3754cf9d8f742bfae481ad19c530 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdViewDelegate.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdViewDelegate.h new file mode 100644 index 0000000..a7b6d52 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdViewDelegate.h @@ -0,0 +1,51 @@ +// +// Created by bytedance on 2021/7/8. +// Copyright (c) 2021 wangchao. All rights reserved. +// + +#import +#import "ABUPlayerPlayState.h" + +@class ABUNativeAdView; + +@protocol ABUNativeAdViewDelegate + +@optional + +/// 模板广告渲染成功回调,非模板广告不会回调,模板广告可能不会回调 +/// @param nativeExpressAdView 模板广告对象 +- (void)nativeAdExpressViewRenderSuccess:(ABUNativeAdView *_Nonnull)nativeExpressAdView; + +/// 模板广告渲染成功回调,非模板广告不会回调,模板广告可能不会回调 +/// @param nativeExpressAdView 模板广告对象 +/// @param error 渲染出错原因 +- (void)nativeAdExpressViewRenderFail:(ABUNativeAdView *_Nonnull)nativeExpressAdView error:(NSError *_Nullable)error; + +/// 广告展示回调,不区分模板与非模板 +/// @param nativeAdView 广告对象 +- (void)nativeAdDidBecomeVisible:(ABUNativeAdView *_Nonnull)nativeAdView; + +/// 广告视频播放状态变更回调,是否回调与adapter实现有关 +/// @param nativeAdView 广告对象 +/// @param playerState 播放状态 +- (void)nativeAdExpressView:(ABUNativeAdView *_Nonnull)nativeAdView stateDidChanged:(ABUPlayerPlayState)playerState; + +/// 广告点击事件回调 +/// @param nativeAdView 广告对象 +/// @param view 广告展示视图 +- (void)nativeAdDidClick:(ABUNativeAdView *_Nonnull)nativeAdView withView:(UIView *_Nullable)view; + +/// 广告即将展示全屏页面/商店时触发 +/// @param nativeAdView 广告视图 +- (void)nativeAdViewWillPresentFullScreenModal:(ABUNativeAdView *_Nonnull)nativeAdView; + +/// 广告即将退出全屏页面/商店时触发 +/// @param nativeAdView 广告视图 +- (void)nativeAdViewDidDismissFullScreenModal:(ABUNativeAdView *_Nonnull)nativeAdView; + +/// 模板广告点击关闭时触发 +/// @param nativeAdView 广告视图 +/// @param filterWords 广告关闭原因,adapter开发者透传数据 +- (void)nativeAdExpressViewDidClosed:(ABUNativeAdView *_Nullable)nativeAdView closeReason:(NSArray *_Nullable)filterWords; + +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdViewDelegate.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdViewDelegate.h.meta new file mode 100644 index 0000000..e4b9035 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdViewDelegate.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9f05bff0374c4aa4d9ea526ad70051f5 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdsManager.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdsManager.h new file mode 100644 index 0000000..75a67b1 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdsManager.h @@ -0,0 +1,122 @@ +// +// ABUNativeAd.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/8. +// + +#import "ABUBaseAd.h" +#import "ABUSize.h" +#import "ABUNativeAdView.h" + +NS_ASSUME_NONNULL_BEGIN + +/// Native广告配置协议 +@protocol ABUNativeAdSlot +@required + +/// 必要,广告位ID +@property (nonatomic, copy) NSString *ID; + +@optional + +/// 是否获取模板广告,默认为NO,优先以平台配置为准 +@property (nonatomic, assign) BOOL getExpressAdIfCan; + +/// 图片大小,包括视频媒体的大小设定 +@property (nonatomic, strong) ABUSize *imgSize; + +/// 同imgSize +@property (nonatomic, assign) CGSize imageOrVideoSize; + +/// 广告视图的尺寸,请勿设置为0 +@property (nonatomic, assign) CGSize adSize; + +@end + +#define ABUAdSlotPositionFeed 0; + +/// 旧版本广告配置类 +@interface ABUAdUnit : NSObject + +/// 旧版本兼容字段,无需设置 +@property (nonatomic, assign) ABUAdSlotAdType AdType ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,无需设置"); + +/// 旧版本兼容字段,无需设置 +@property (nonatomic, assign) ABUAdSlotPosition position ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,无需设置"); + +/// 旧版本兼容字段,无需设置 +@property (nonatomic, assign) BOOL isSupportDeepLink ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,无需设置"); + +@end + +@class ABUNativeAdsManager; + +/// Native 广告回调协议 +@protocol ABUNativeAdsManagerDelegate + +@optional + +/// Native 广告加载成功回调 +/// @param adsManager 广告管理对象 +/// @param nativeAdViewArray 广告视图,GroMore包装视图对象组,包括模板广告和自渲染广告 +- (void)nativeAdsManagerSuccessToLoad:(ABUNativeAdsManager *_Nonnull)adsManager nativeAds:(NSArray *_Nullable)nativeAdViewArray; + +/// Native 广告加载失败回调 +/// @param adsManager 广告管理对象 +/// @param error 加载出错信息 +- (void)nativeAdsManager:(ABUNativeAdsManager *_Nonnull)adsManager didFailWithError:(NSError *_Nullable)error; + +/// 暂不开放使用 +- (void)nativeAdsManager:(ABUNativeAdsManager *_Nonnull)adsManager didWaitingBiddingResultWithParameters:(NSDictionary *)parameters andResumeHandler:(void(^)(NSDictionary *_Nullable data, NSError *_Nullable error))handler; + +/// 暂不开放使用 +- (void)nativeAdsManagerDidFinishLoadAdnAd:(ABUNativeAdsManager *_Nonnull)adsManager nativeAd:(ABUNativeAdView *_Nullable)nativeAd error:(NSError *_Nullable)error; + +@end + +/// Native广告加载类 +@interface ABUNativeAdsManager : ABUBaseAd + +/// 广告构建方法,开发者可使用'ABUAdUnit'类创建协议对象,也可自行创建类实现协议 +/// @param slot 广告位ID +- (instancetype)initWithSlot:(id)slot; + +/// 快速广告构建方法 +/// @param unitID 广告位ID +/// @param adSize 广告视图大小 +- (instancetype)initWithAdUnitID:(NSString *)unitID adSize:(CGSize)adSize; + +/// 是否使用模板广告,只对支持模板广告的第三方SDK有效,默认为NO,仅在广告加载前设置有效,优先以平台配置为准 +@property (nonatomic, assign) BOOL getExpressAdIfCan; + +/// 是否使用GDT express 2.0,对GDT( ≥ 4.11.9)有效,默认为NO,仅在广告加载前设置有效,优先以平台配置为准 +@property (nonatomic, assign) BOOL useExpress2IfCanForGDT ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,在SDK V2900以上结合GDT V4.12.80以上 Gdt的原生模板广告在客户端无需区分2.0和1.0"); + +/// 图片大小,包括视频媒体的大小设定 +@property (nonatomic, assign) CGSize imageOrVideoSize; + +/// 广告视图的尺寸,请勿设置为0 +@property (nonatomic, assign) CGSize adSize; + +/// 是否静音播放视频,是否真实静音由adapter确定,默认为NO,仅在广告加载前设置有效,优先以平台配置为准 +@property (nonatomic, assign) BOOL startMutedIfCan; + +/// 广告代理对象 +@property (nonatomic, weak) id delegate; + +/// 必要,设置广告详情跳转控制器 +@property (nonatomic, weak) UIViewController *rootViewController; + +/// 加载广告方法 +/// @param count 加载广告的数量,建议单次不超过3个,优先以平台上配置为准 +- (void)loadAdDataWithCount:(NSUInteger)count; + +- (void)loadAdData; + +/// 不再使用加载成功后回调的视图对象组时,可调用该方法释放占用的内存 +- (void)destory; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdsManager.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdsManager.h.meta new file mode 100644 index 0000000..d84da6d --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUNativeAdsManager.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a79c9ddc564983249995044ef78dd17c +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPersonaliseConfigAdapter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPersonaliseConfigAdapter.h new file mode 100644 index 0000000..318f658 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPersonaliseConfigAdapter.h @@ -0,0 +1,82 @@ +// +// ABUPersonaliseConfigAdapter.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/31. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// 个性化配置类 +@interface ABUPersonaliseConfigAdapter : NSObject + ++ (void)configAdapterWithKey:(NSString *)key andBlock:(void(^)(void))block; + +@end + +FOUNDATION_EXTERN API_DEPRECATED("ABUUnityPersonaliseConfigAdapter is deprecated. Use ABUPersonaliseConfigAdapter with a key 'unity' of network instead", ios(2.0, 9.0)) +@interface ABUUnityPersonaliseConfigAdapter : NSObject + ++ (void)configAdapterWithBlock:(void(^)(void))block API_DEPRECATED("Use ABUPersonaliseConfigAdapter instead.", ios(2.0, 9.0)); + +@end + +FOUNDATION_EXTERN API_DEPRECATED("ABUAdmobPersonaliseConfigAdapter is deprecated. Use ABUPersonaliseConfigAdapter with a key 'admob' of network instead", ios(2.0, 9.0)) +@interface ABUAdmobPersonaliseConfigAdapter : NSObject + ++ (void)configAdapterWithBlock:(void(^)(void))block API_DEPRECATED("Use ABUPersonaliseConfigAdapter instead.", ios(2.0, 9.0)); + +@end + +FOUNDATION_EXTERN API_DEPRECATED("ABUBaiduPersonaliseConfigAdapter is deprecated. Use ABUPersonaliseConfigAdapter with a key 'baidu' of network instead", ios(2.0, 9.0)) +@interface ABUBaiduPersonaliseConfigAdapter : NSObject + ++ (void)configAdapterWithBlock:(void(^)(void))block API_DEPRECATED("Use ABUPersonaliseConfigAdapter instead.", ios(2.0, 9.0)); + +@end + +FOUNDATION_EXTERN API_DEPRECATED("ABUPanglePersonaliseConfigAdapter is deprecated. Use ABUPersonaliseConfigAdapter with a key 'pangle' of network instead", ios(2.0, 9.0)) +@interface ABUPanglePersonaliseConfigAdapter : NSObject + ++ (void)configAdapterWithBlock:(void(^)(void))block API_DEPRECATED("Use ABUPersonaliseConfigAdapter instead.", ios(2.0, 9.0)); + +@end + +FOUNDATION_EXTERN API_DEPRECATED("ABUGdtPersonaliseConfigAdapter is deprecated. Use ABUPersonaliseConfigAdapter with a key 'gdt' of network instead", ios(2.0, 9.0)) +@interface ABUGdtPersonaliseConfigAdapter : NSObject + ++ (void)configAdapterWithBlock:(void(^)(void))block API_DEPRECATED("Use ABUPersonaliseConfigAdapter instead.", ios(2.0, 9.0)); + +@end + +FOUNDATION_EXTERN API_DEPRECATED("ABUMintegralPersonaliseConfigAdapter is deprecated. Use ABUPersonaliseConfigAdapter with a key 'mintegral' of network instead", ios(2.0, 9.0)) +@interface ABUMintegralPersonaliseConfigAdapter : NSObject + ++ (void)configAdapterWithBlock:(void(^)(void))block API_DEPRECATED("Use ABUPersonaliseConfigAdapter instead.", ios(2.0, 9.0)); + +@end + +FOUNDATION_EXTERN API_DEPRECATED("ABUSigmobPersonaliseConfigAdapter is deprecated. Use ABUPersonaliseConfigAdapter with a key 'sigmob' of network instead", ios(2.0, 9.0)) +@interface ABUSigmobPersonaliseConfigAdapter : NSObject + ++ (void)configAdapterWithBlock:(void(^)(void))block API_DEPRECATED("Use ABUPersonaliseConfigAdapter instead.", ios(2.0, 9.0)); + +@end + +FOUNDATION_EXTERN API_DEPRECATED("ABUKsPersonaliseConfigAdapter is deprecated. Use ABUPersonaliseConfigAdapter with a key 'ks' of network instead", ios(2.0, 9.0)) +@interface ABUKsPersonaliseConfigAdapter : NSObject + ++ (void)configAdapterWithBlock:(void(^)(void))block API_DEPRECATED("Use ABUPersonaliseConfigAdapter instead.", ios(2.0, 9.0)); + +@end + +FOUNDATION_EXTERN API_DEPRECATED("ABUKlevinPersonaliseConfigAdapter is deprecated. Use ABUPersonaliseConfigAdapter with a key 'klevin' of network instead", ios(2.0, 9.0)) +@interface ABUKlevinPersonaliseConfigAdapter : NSObject + ++ (void)configAdapterWithBlock:(void(^)(void))block API_DEPRECATED("Use ABUPersonaliseConfigAdapter instead.", ios(2.0, 9.0)); + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPersonaliseConfigAdapter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPersonaliseConfigAdapter.h.meta new file mode 100644 index 0000000..5c57b20 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPersonaliseConfigAdapter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 9a0af8020a1ee0047bd4b37a69621cea +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPersonaliseConfigAdapter_internal.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPersonaliseConfigAdapter_internal.h new file mode 100644 index 0000000..90fa98d --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPersonaliseConfigAdapter_internal.h @@ -0,0 +1,68 @@ +// +// ABUPersonaliseConfigAdapter_internal.h +// Pods +// +// Created by Makaiwen on 2021/5/31. +// + +#import "ABUPersonaliseConfigAdapter.h" + +@interface ABUPersonaliseConfigAdapter () + ++ (BOOL)invokePersionaliseConfigWithKey:(NSString *)key; + +@end + +@interface ABUUnityPersonaliseConfigAdapter () + ++ (BOOL)invokePersionaliseConfigWithKey:(NSString *)key; + +@end + +@interface ABUAdmobPersonaliseConfigAdapter () + ++ (BOOL)invokePersionaliseConfigWithKey:(NSString *)key; + +@end + +@interface ABUBaiduPersonaliseConfigAdapter () + ++ (BOOL)invokePersionaliseConfigWithKey:(NSString *)key; + +@end + +@interface ABUPanglePersonaliseConfigAdapter () + ++ (BOOL)invokePersionaliseConfigWithKey:(NSString *)key; + +@end + +@interface ABUGdtPersonaliseConfigAdapter () + ++ (BOOL)invokePersionaliseConfigWithKey:(NSString *)key; + +@end + +@interface ABUMintegralPersonaliseConfigAdapter () + ++ (BOOL)invokePersionaliseConfigWithKey:(NSString *)key; + +@end + +@interface ABUSigmobPersonaliseConfigAdapter () + ++ (BOOL)invokePersionaliseConfigWithKey:(NSString *)key; + +@end + +@interface ABUKsPersonaliseConfigAdapter () + ++ (BOOL)invokePersionaliseConfigWithKey:(NSString *)key; + +@end + +@interface ABUKlevinPersonaliseConfigAdapter () + ++ (BOOL)invokePersionaliseConfigWithKey:(NSString *)key; + +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPersonaliseConfigAdapter_internal.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPersonaliseConfigAdapter_internal.h.meta new file mode 100644 index 0000000..5faa8a0 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPersonaliseConfigAdapter_internal.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e5bf297228912e84b983ae056a34effe +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPlayerPlayState.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPlayerPlayState.h new file mode 100644 index 0000000..132065e --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPlayerPlayState.h @@ -0,0 +1,18 @@ +// +// ABUPlayState.h +// ABUAdSDK +// +// Created by wangchao on 2020/3/31. +// Copyright © 2020 bytedance. All rights reserved. +// + +#import + +typedef NS_ENUM (NSInteger, ABUPlayerPlayState) { + ABUPlayerStateFailed = 0, + ABUPlayerStateBuffering = 1, + ABUPlayerStatePlaying = 2, + ABUPlayerStateStopped = 3, + ABUPlayerStatePause = 4, + ABUPlayerStateDefalt = 5 +}; diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPlayerPlayState.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPlayerPlayState.h.meta new file mode 100644 index 0000000..77d9f09 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPlayerPlayState.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: cb3b145bff5b1fd498bc5551018d43cb +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPrivacyConfig+Private.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPrivacyConfig+Private.h new file mode 100644 index 0000000..af177c2 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPrivacyConfig+Private.h @@ -0,0 +1,20 @@ +// +// ABUPrivacyConfig+Private.h +// ABUAdSDK +// +// Created by CHAORS on 2021/8/24. +// + +#import "ABUPrivacyConfig.h" + +NS_ASSUME_NONNULL_BEGIN + +@protocol ABUCustomConfigAdapter; + +@interface ABUPrivacyConfig (Private) + ++ (instancetype _Nonnull)sharedInstance; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPrivacyConfig+Private.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPrivacyConfig+Private.h.meta new file mode 100644 index 0000000..d6fe87b --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPrivacyConfig+Private.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b7aaf38f06bd9e947b258e58c786017a +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPrivacyConfig.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPrivacyConfig.h new file mode 100644 index 0000000..509d4a6 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPrivacyConfig.h @@ -0,0 +1,41 @@ +// +// ABUPrivacyConfig.h +// ABUAdSDK +// +// Created by CHAORS on 2021/8/24. +// + +#import + +/// 【可选】NSNumber,是否限制个性化广告:0-不限制,1-限制,默认为0。官方维护版本中只适用于CSJ、Ks、Sigmob、百度、GDT。 +const static NSString *kABUPrivacyLimitPersonalAds = @"ABUPrivacyLimitPersonalAds"; + +/// 【可选】NSNumber,是否限制程序化广告:0-不限制,1-限制,默认为0。官方维护版本中只适用于Ks。 +const static NSString *kABUPrivacyLimitProgrammaticAds = @"ABUPrivacyLimitProgrammaticAds"; + +/// 【可选】NSNumber,是否禁止CAID:0-不禁止,1-禁止,默认为0。官方维护版本中只适用于百度。 +const static NSString *kABUPrivacyForbiddenCAID = @"ABUPrivacyForbiddenCAID"; + +/// 【可选】NSNumber,是否在adn中使用位置,如果是,adn将自己获得纬度和经度,而不是使用传入的值(kABUPrivacyLongitude/kABUPrivacyLatitude)。官方维护版本中只适用于CSJ。 +const static NSString *kABUPrivacyCanLocation = @"ABUPrivacyCanLocation"; + +/// 【可选】NSNumber,经度的值。默认值是0.0。官方维护版本中只适用于CSJ。 +const static NSString *kABUPrivacyLongitude = @"ABUPrivacyLongitude"; + +/// 【可选】NSNumber,纬度的值。默认值是0.0。官方维护版本中只适用于CSJ。 +const static NSString *kABUPrivacyLatitude = @"ABUPrivacyLatitude"; + +/// 【可选】NSNumber,是成人或者儿童,2-儿童(<15),1-儿童(15-18岁), 0-成人,默认为0(成人)。官方维护版本中适用于CSJ/sigmob。 +const static NSString *kABUPrivacyNotAdult = @"ABUPrivacyNotAdult"; + + +@interface ABUPrivacyConfig : NSObject + +// 根据key配置相关隐私项 ++ (void)setPrivacyWithKey:(const NSString *)key andValue:(id)value; + +// 获取当前配置项 ++ (NSDictionary *)privacyConfig; + +@end + diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPrivacyConfig.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPrivacyConfig.h.meta new file mode 100644 index 0000000..3e1d59d --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUPrivacyConfig.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: bf3128c22eb0ba547a84c375f1f2f545 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoAd.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoAd.h new file mode 100644 index 0000000..97ff612 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoAd.h @@ -0,0 +1,134 @@ +// +// ABURewardVideoAd.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/25. +// + +#import "ABUBaseAd.h" +#import "ABURewardedVideoModel.h" + +NS_ASSUME_NONNULL_BEGIN + +@class ABURewardedVideoAd,ABUAdapterRewardAdInfo; + +/// 激励视频广告代理协议 +@protocol ABURewardedVideoAdDelegate +@optional + +/// 广告加载成功回调 +/// @param rewardedVideoAd 广告管理对象 +- (void)rewardedVideoAdDidLoad:(ABURewardedVideoAd *)rewardedVideoAd; + +/// 广告加载失败回调 +/// @param rewardedVideoAd 广告管理对象 +/// @param error 错误信息 +- (void)rewardedVideoAd:(ABURewardedVideoAd *)rewardedVideoAd didFailWithError:(NSError *_Nullable)error; + +/// 广告已加载视频素材回调 +/// @param rewardedVideoAd 广告管理对象 +- (void)rewardedVideoAdDidDownLoadVideo:(ABURewardedVideoAd *)rewardedVideoAd; + +/// 广告展示回调 +/// @param rewardedVideoAd 广告管理对象 +- (void)rewardedVideoAdDidVisible:(ABURewardedVideoAd *)rewardedVideoAd; + +/// 广告展示失败回调 +/// @param rewardedVideoAd 广告管理对象 +/// @param error 展示失败的原因 +- (void)rewardedVideoAdDidShowFailed:(ABURewardedVideoAd *_Nonnull)rewardedVideoAd error:(NSError *_Nonnull)error; + +/// 广告点击详情事件回调 +/// @param rewardedVideoAd 广告管理对象 +- (void)rewardedVideoAdDidClick:(ABURewardedVideoAd *)rewardedVideoAd; + +/// 广告点击跳过事件回调 +/// @param rewardedVideoAd 广告管理对象 +- (void)rewardedVideoAdDidSkip:(ABURewardedVideoAd *)rewardedVideoAd; + +/// 广告关闭事件回调 +/// @param rewardedVideoAd 广告管理对象 +- (void)rewardedVideoAdDidClose:(ABURewardedVideoAd *)rewardedVideoAd; + +/// 请求的服务器验证成功包括C2C和S2S方法回调 +/// @param rewardedVideoAd 广告管理对象 +/// @param verify 是否验证通过 +- (void)rewardedVideoAdServerRewardDidSucceed:(ABURewardedVideoAd *)rewardedVideoAd verify:(BOOL)verify ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,请使用 rewardedVideoAdServerRewardDidSucceed:rewardInfo:verify:"); + +/// 请求的服务器验证成功包括C2C和S2S方法回调 +/// @param rewardedVideoAd 广告管理对象 +/// @param rewardInfo 奖励发放验证信息 +/// @param verify 是否验证通过 +- (void)rewardedVideoAdServerRewardDidSucceed:(ABURewardedVideoAd *)rewardedVideoAd rewardInfo:(ABUAdapterRewardAdInfo *_Nullable)rewardInfo verify:(BOOL)verify; + +/// 广告视频播放完成或者出错回调 +/// @param rewardedVideoAd 广告管理对象 +/// @param error 播放出错时的信息,播放完成时为空 +- (void)rewardedVideoAd:(ABURewardedVideoAd *)rewardedVideoAd didPlayFinishWithError:(NSError *_Nullable)error; + +@end + +@interface ABURewardedVideoAd : ABUBaseAd + +- (instancetype)initWithAdUnitID:(NSString *)unitID; + +/// 激励广告的自定义数据 +@property (nonatomic, strong) ABURewardedVideoModel *rewardedVideoModel; + +@property (nonatomic, weak) id delegate; + +/// 再看一次的回调代理;在触发"再看一次"后,展示回调后的一些回调会依此触发,通过该标识判断当次回调是否属于再看一次的回调。支持的adn:Pangle/KS; +/// 再看一次可触发的会滴:visiable/click/clickSkip/playFinesh/rewardedVideoAdServerRewardDidSucceed +@property (nonatomic, weak) id rewardPlayAgainDelegate; + +/** + 2021-02 + optional + 设定是否静音播放视频,YES = 静音,NO = 非静音 + PS: + ①仅gdt、ks、mtg支持设定mute + ②仅适用于视频播放器设定生效 + 重点:请在loadAdData前设置,否则不生效 + */ +@property (nonatomic, assign) BOOL mutedIfCan; + +/** + Required + Get a express Ad if SDK can.Default is NO. + 必须设置且只对支持模板广告的第三方SDK有效,默认为NO. + */ +@property (nonatomic, assign) BOOL getExpressAdIfCan ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,在SDK V2900以上激励视频客户端将无需区分模板非模板"); + +/// 是否已经准备广告展示,理论上在广告加载回调后即为YES,但受一些因素的影响(例如广告失效),可能为NO。建议在广告展示前调用该方法进行是否可以展示 +@property (nonatomic, assign, readonly) BOOL isReady; + +/// 展示广告 +/// @param viewController 跳转控制器,必传 +- (BOOL)showAdFromRootViewController:(UIViewController *)viewController; + +/// 展示广告 +/// @param viewController 跳转控制器,必传 +/// @param extraInfos 扩展信息,可选,与adapter及ADN是否实现有关,字段参见ABUADSDKConst.h中全屏视频、激励视频展示扩展部分 +- (BOOL)showAdFromRootViewController:(UIViewController *)viewController extraInfos:(NSDictionary *_Nullable)extraInfos; + +/// 返回显示广告对应的披露信息,当没有权限访问时Ecpm会返回'-3' +- (ABURitInfo *)getShowEcpmInfo; + +/// 填充后可调用,返回当前最佳广告的ecpm;当为server bidding ad时访问需要白名单权限;nil为无权限 +- (ABURitInfo *)getCurrentBestEcpmInfo; + +/// 填充后可调用,但推荐展示后调用,返回竞价广告的ecpm;当为server bidding ad时访问需要白名单权限; +- (NSArray *)multiBiddingEcpmInfos; + +/// 填充后可调用, 返回广告缓存池内所有信息;nil为无权限 +- (NSArray *)cacheRitList; + +/// 广告的扩展信息,可能为nil +- (NSDictionary *_Nullable)extraData; + +/// 填充后可调用,获取广告中的extra信息。目前只支持穿山甲,并且只支持获取coupon, live_room, product信息。 +- (nullable NSDictionary *)getMediaExtraInfo; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoAd.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoAd.h.meta new file mode 100644 index 0000000..9664c49 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoAd.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: c499c057d0d65254bbe203caef70770d +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoModel+Private.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoModel+Private.h new file mode 100644 index 0000000..7b2fa0d --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoModel+Private.h @@ -0,0 +1,18 @@ +// +// ABURewardedVideoModel+Private.h +// Ads-Mediation-CN +// +// Created by CHAORS on 2021/11/26. +// + +#import "ABURewardedVideoModel.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface ABURewardedVideoModel (Private) + +- (NSString *)toString; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoModel+Private.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoModel+Private.h.meta new file mode 100644 index 0000000..31fb1fa --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoModel+Private.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 8391e79a87f69a24ea90c7787c77c929 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoModel.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoModel.h new file mode 100644 index 0000000..184874d --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoModel.h @@ -0,0 +1,28 @@ +// +// ABURewardedVideoModel.h +// Ads-Mediation-CN +// +// Created by CHAORS on 2021/11/26. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// 开发者提供给GroMore和ADN的奖励信息,适用于ADN的服务端验证和GroMore的S2S验证 +@interface ABURewardedVideoModel : NSObject +/// 可选,三方用户ID。主要用于奖励发放,是服务器到服务器的回调传递参数。在非服务器回调模式下,当视频播放结束时,它也将被透传。是否有效依赖于adapter和adn。 +@property (nonatomic, copy) NSString *userId; + +/// 可选,奖励名称。是否有效依赖于adapter和adn。 +@property (nonatomic, copy) NSString *rewardName; + +/// 可选,奖励金额。是否有效依赖于adapter和adn。 +@property (nonatomic, assign) NSInteger rewardAmount; + +/// 可选,可序列化字符串。是否有效依赖于adapter和adn。 +@property (nonatomic, copy) NSString *extra; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoModel.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoModel.h.meta new file mode 100644 index 0000000..7bc7a61 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURewardedVideoModel.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b22847a3995e6464ca6aecda18da47bd +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURitInfo.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURitInfo.h new file mode 100644 index 0000000..bc6b6c6 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURitInfo.h @@ -0,0 +1,40 @@ +// +// ABURitInfo.h +// ABUAdSDK +// +// Created by CHAORS on 2021/10/25. +// + +#import + +#import "ABUAdSDKConst.h" + + +@interface ABURitInfo : NSObject + +/// ADN的名称,与平台配置一致,自定义ADN时为ADN唯一标识 +@property (nonatomic, copy, readonly, nonnull) NSString * adnName; + +/// 自定义ADN的名称,与平台配置一致,非自定义ADN为nil +@property (nonatomic, copy, readonly, nullable) NSString * customAdnName; + +// 代码位 +@property (nonatomic, copy, readonly, nonnull) NSString *slotID; + +// 价格标签,多阶底价下有效 +@property (nonatomic, copy, readonly, nullable) NSString *levelTag; + +// 返回价格,nil为无权限 +@property (nonatomic, copy, readonly, nullable) NSString *ecpm; + +// 广告类型 +@property (nonatomic, assign, readonly) ABUBiddingType biddingType; + +// 额外错误信息,一般为空(扩展字段) +@property (nonatomic, copy, readonly, nullable) NSString *errorMsg; + +// adn提供的真实广告加载ID,可为空 +@property (nonatomic, copy, readonly, nullable) NSString *requestID; + +@end + diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURitInfo.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURitInfo.h.meta new file mode 100644 index 0000000..5a47825 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABURitInfo.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 908c45349c219d34da4f849b85d52ef7 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSdkInitConfig.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSdkInitConfig.h new file mode 100644 index 0000000..a219887 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSdkInitConfig.h @@ -0,0 +1,62 @@ +// +// ABUSdkInitConfig.h +// ABUAdSDK +// +// Created by wangchao on 2020/2/24. +// Copyright © 2020 bytedance. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class ABUUserConfig; + +/// adn初始化配置信息 +@interface ABUSdkInitConfig : NSObject + +/// 用户自定义配置 +@property (nonatomic, strong, readonly) ABUUserConfig *userConfig; + +/// appID +@property (nonatomic, copy, readonly) NSString *appID; + +/// appKey +@property (nonatomic, copy, readonly) NSString *appKey; + +/// adn的标识 +@property (nonatomic, copy, readonly) NSString *name; + +/// 是否可用状态 +@property (nonatomic, assign, readonly) BOOL valid; + +/// 是否是自定义adapter,白名单用户权限 +@property (nonatomic, assign, readonly) BOOL custom; + +/// 自定义adapter初始化的配置类名,该类对象遵循ABUCustomConfigAdapter协议 +@property (nonatomic, copy, readonly) NSString *customAdnClassName; + +/// 自定义adapter banner广告的配置类名,该类对象遵循ABUCustomBannerAdapter协议 +@property (nonatomic, copy, readonly) NSString *customBannerAdapterClassName; + +/// 自定义adapter 插屏广告的配置类名,该类对象遵循ABUCustomInterstitialAdapter协议 +@property (nonatomic, copy, readonly) NSString *customInterstitialAdapterClassName; + +/// 自定义adapter 激励视频广告的配置类名,该类对象遵循ABUCustomRewardedVideoAdapter协议 +@property (nonatomic, copy, readonly) NSString *customRewardedVideoAdapterClassName; + +/// 自定义adapter 全屏广告的配置类名,该类对象遵循ABUCustomFullscreenVideoAdapter协议 +@property (nonatomic, copy, readonly) NSString *customFullscreenVideoAdapterClassName; + +/// 自定义adapter 开屏广告的配置类名,该类对象遵循ABUCustomSplashAdapter协议 +@property (nonatomic, copy, readonly) NSString *customSplashAdapterClassName; + +/// 自定义adapter native广告的配置类名,该类对象遵循ABUCustomNativeAdapter协议 +@property (nonatomic, copy, readonly) NSString *customNativeAdapterClassName; + +/// 自定义adapter draw广告的配置类名,该类对象遵循ABUCustomDrawAdapter协议 +@property (nonatomic, copy, readonly) NSString *customDrawAdapterClassName; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSdkInitConfig.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSdkInitConfig.h.meta new file mode 100644 index 0000000..547e227 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSdkInitConfig.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b254f65ade256a640aef6d18af6b2072 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSize.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSize.h new file mode 100644 index 0000000..3af80b0 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSize.h @@ -0,0 +1,46 @@ +// +// ABUSize.h +// BUAdSDK +// +// Copyright © 2017 bytedance. All rights reserved. +// + +#import + +/** + Get the view with the best results by using the predefined size in pixels. + When it comes to view display, it is recommended to use the same scaling. +*/ +typedef NS_ENUM (NSInteger, ABUProposalSize) { + ABUProposalSize_Banner600_90, + ABUProposalSize_Banner600_100, + ABUProposalSize_Banner600_150, + ABUProposalSize_Banner600_260, + ABUProposalSize_Banner600_286, + ABUProposalSize_Banner600_300, + ABUProposalSize_Banner600_388, + ABUProposalSize_Banner600_400, + ABUProposalSize_Banner600_500, + ABUProposalSize_Feed228_150, + ABUProposalSize_Feed690_388, + ABUProposalSize_Interstitial600_400, + ABUProposalSize_Interstitial600_600, + ABUProposalSize_Interstitial600_900, + ABUProposalSize_DrawFullScreen +}; + +@interface ABUSize : NSObject + +// width unit pixel. +@property (nonatomic, assign) NSInteger width; + +// height unit pixel. +@property (nonatomic, assign) NSInteger height; + +- (NSDictionary *)dictionaryValue; + +@end + +@interface ABUSize (BU_SizeFactory) ++ (instancetype)sizeBy:(ABUProposalSize)proposalSize; +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSize.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSize.h.meta new file mode 100644 index 0000000..3b91427 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSize.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d3164dea06812c444968793e2fc9f85d +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashAd.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashAd.h new file mode 100644 index 0000000..4a61d8b --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashAd.h @@ -0,0 +1,151 @@ +// +// ABUNewSplashAd.h +// ABUAdSDK +// +// Created by bytedance on 2021/6/8. +// + +#import "ABUBaseAd.h" +#import "ABUSplashZoomOutView.h" +#import "ABUSplashCardView.h" +#import "ABUSplashUserData.h" +#import "ABUAdSDKConst.h" + +NS_ASSUME_NONNULL_BEGIN + +@class ABUSplashAd; +@class ABUAdPackage; + +/// 开屏广告回调协议 +@protocol ABUSplashAdDelegate + +@optional + +/// 广告加载成功回调 +/// @param splashAd 广告管理对象 +- (void)splashAdDidLoad:(ABUSplashAd *)splashAd; + +/// 广告加载失败回调 +/// @param splashAd 广告管理对象 +/// @param error 出错信息 +- (void)splashAd:(ABUSplashAd *)splashAd didFailWithError:(NSError *_Nullable)error; + +/// 广告即将展示回调 +/// @param splashAd 广告管理对象 +- (void)splashAdWillVisible:(ABUSplashAd *)splashAd; + +/// 广告展示失败回调 +/// @param splashAd 广告管理对象 +/// @param error 展示失败原因 +- (void)splashAdDidShowFailed:(ABUSplashAd *_Nonnull)splashAd error:(NSError *)error; + +/// 广告点击事件回调 +/// @param splashAd 广告管理对象 +- (void)splashAdDidClick:(ABUSplashAd *)splashAd; + +/// 广告关闭事件回调 +/// @param splashAd 广告管理对象 +- (void)splashAdDidClose:(ABUSplashAd *)splashAd; + +/// 广告即将展示广告详情页回调 +/// @param splashAd 广告管理对象 +- (void)splashAdWillPresentFullScreenModal:(ABUSplashAd *)splashAd; + +/// 关闭广告详情页回调 +/// @param splashAd 广告管理对象 +- (void)splashAdWillDismissFullScreenModal:(ABUSplashAd *)splashAd; + +/// 广告倒计时结束回调 +/// @param splashAd 广告管理对象 +- (void)splashAdCountdownToZero:(ABUSplashAd *)splashAd; + +/// 模板开屏广告播放完成回调 +/// @param splashAd 广告管理对象 +/// @param error 播放出现的错误信息 +- (void)splashAd:(ABUSplashAd *)splashAd didPlayFinishWithError:(NSError *)error; + +/// 开屏广告播放完成回调 +/// @param splashAd 广告管理对象 +/// @param error 播放出现的错误信息 +- (void)splashAdExpressViewDidPlayFinish:(ABUSplashAd *)splashAd error:(NSError *)error ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,请使用 splashAd:didPlayFinishWithError:"); +@end + +/// 开屏广告管理类 +@interface ABUSplashAd : ABUBaseAd + +/// 广告位ID,只读 +@property (readonly) NSString *adUnitID; + +/// 开屏广告构建方法 +/// @param unitID 广告位ID +- (instancetype)initWithAdUnitID:(NSString *)unitID; + +/// 代理回调对象 +@property (nonatomic, weak) id delegate; + +/// 最大等待加载时长,单位秒,,默认3秒。实现由adapter确定 +@property (nonatomic, assign) NSTimeInterval tolerateTimeout; + +/// 是否需要开启zoomout功能,需要ADN及adapter支持 +@property (nonatomic, assign) BOOL needZoomOutIfCan; + +/// 【必选】广告事件跳转控制器 +@property (nonatomic, weak, nullable) UIViewController *rootViewController; + +/// 展示广告 +/// @param window 展示window,具体由adapter实现 +- (BOOL)showInWindow:(UIWindow *)window; + +/// [可选]在广告位配置拉取失败后,会使用传入的rit和appID兜底,进行广告加载,需要在创建manager时就调用该接口 +- (void)setUserData:(ABUSplashUserData *)userData error:(NSError **)error; + +/// 自定义底部视图,可以设置一些自定义元素,例如LOGO。如果不设置,广告将按照全屏展示。底部视图最大高度不能超过屏幕高度的25%,否则将按照约定最大高度适配 +@property (nonatomic, strong, nullable) UIView *customBottomView; + +/// 销毁广告,建议在不需要展示广告时调用,如close时 +- (void)destoryAd; + +/// optional. Config the behaviour of click splash view.Deafult value is ABUSplashButtonTypeFullScreen.Now only valid for adn:pangle, baidu. +@property (nonatomic, assign) ABUSplashButtonType splashButtonType; + +/// zoom out 视图,需adn和adapter支持,可能为空 +@property (nonatomic, strong, readonly, nullable) ABUSplashZoomOutView *zoomOutView; + +/// The display priority of cardview is higher than that of zoomview. Now only valid for adn:pangle. +@property (nonatomic, assign) BOOL supportCardView; // default is NO + +/// When it is support splash card advertisement, it has value. Now only valid for adn:pangle. +@property (nonatomic, strong, readonly, nullable) ABUSplashCardView *cardView; + +@property (nonatomic, assign, readonly) BOOL isReady; + +/// 广告的扩展信息,可能为nil +- (NSDictionary *_Nullable)extraData; + +/// 返回显示广告对应的rit +- (NSString *)getAdNetworkRitId ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,请使用`getShowEcpmInfo`代替"); + +/// 返回显示广告对应的ecpm,当没有权限访问该部分会返回-3 单位:分 +- (NSString *)getPreEcpm ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,请使用`getShowEcpmInfo`代替"); + +/// 返回显示广告对应的Adn名称 +- (NSString *)getAdNetworkPlatformName ABU_DEPRECATED_MSG_ATTRIBUTE("接口即将废弃,请使用`getShowEcpmInfo`代替"); + +/// 返回显示广告对应的披露信息,当没有权限访问时Ecpm会返回'-3' +- (ABURitInfo *)getShowEcpmInfo; + +/// 填充后可调用,返回当前最佳广告的ecpm;当为server bidding ad时访问需要白名单权限;nil为无权限 +- (ABURitInfo *)getCurrentBestEcpmInfo; + +/// 填充后可调用,但推荐展示后调用,返回竞价广告的ecpm;当为server bidding ad时访问需要白名单权限; +- (NSArray *)multiBiddingEcpmInfos; + +/// 填充后可调用, 返回广告缓存池内所有信息;nil为无权限 +- (NSArray *)cacheRitList; + +/// 填充后可调用,获取广告中的extra信息。目前只支持穿山甲,并且只支持获取coupon, live_room, product信息。 +- (nullable NSDictionary *)getMediaExtraInfo; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashAd.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashAd.h.meta new file mode 100644 index 0000000..4b8bfa3 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashAd.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e26bc0322b019034a8167eacaf8fa89c +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashCardView.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashCardView.h new file mode 100644 index 0000000..d2bc47b --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashCardView.h @@ -0,0 +1,43 @@ +// +// ABUSplashCardView.h +// Ads-Mediation-CN +// +// Created by ByteDance on 2022/5/26. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class ABUSplashCardView; + +@protocol ABUSplashCardViewDelegate +@optional + +/// 开屏广告Cardview点击事件回调 +/// @param splashCardView card view +- (void)splashCardViewAdDidClick:(ABUSplashCardView *_Nonnull)splashCardView; + +/// 开屏广告Cardview关闭事件回调 +/// @param splashCardView card view +- (void)splashCardViewAdDidClose:(ABUSplashCardView *_Nonnull)splashCardView; + +/// 开屏广告Cardview已经打开全屏页面事件回调 +/// @param splashCardView card view +- (void)splashCardViewAdDidPresentFullScreenModal:(ABUSplashCardView *_Nonnull)splashCardView; + +/// 开屏广告Cardview已经关闭全屏页面事件回调 +/// @param splashCardView card view +- (void)splashCardViewAdDidDismissFullScreenModal:(ABUSplashCardView *_Nonnull)splashCardView; + +@end + +@interface ABUSplashCardView : UIView + +@property (nonatomic, weak, nullable) id delegate; + +- (void)showSplashCardInRootVC:(UIViewController *)rootVC; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashCardView.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashCardView.h.meta new file mode 100644 index 0000000..52a9b86 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashCardView.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: ed4240b96871e88418a179d52fb73e7d +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashUserData.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashUserData.h new file mode 100644 index 0000000..dd49006 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashUserData.h @@ -0,0 +1,30 @@ +// +// ABUNewSplashUserData.h +// ABUAdSDK +// +// Created by bytedance on 2021/7/30. +// + +#import +#import "ABUAdSDKConst.h" + +NS_ASSUME_NONNULL_BEGIN + +/// 开屏广告兜底数据 +@interface ABUSplashUserData : NSObject + +/// adn的名字,请使用如下值 'pangle','baidu','gdt','ks',其他值可能导致无法加载广告 +@property (nonatomic, copy) NSString *adnName; + +// adn对应代码位 +@property (nonatomic, copy) NSString *_Nonnull rit; + +// adn对应appID +@property (nonatomic, copy) NSString *_Nonnull appID; + +// adn对应appKey, 没有时可不传 +@property (nonatomic, copy) NSString *_Nullable appKey; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashUserData.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashUserData.h.meta new file mode 100644 index 0000000..788e5c2 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashUserData.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d813bbc329989de458623a89d9acf960 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashZoomOutView.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashZoomOutView.h new file mode 100644 index 0000000..355de11 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashZoomOutView.h @@ -0,0 +1,61 @@ +// +// ABUNewSplashZoomOutView.h +// ABUAdSDK +// +// Created by bytedance on 2021/8/13. +// + +#import +#import "ABUZoomOutViewProperty.h" +#import "ABUAdSDKConst.h" + +NS_ASSUME_NONNULL_BEGIN + + +@class ABUSplashZoomOutView; + +/// zoom out view代理协议 +@protocol ABUZoomOutSplashAdDelegate +@optional +/// This method is called when splash ad is clicked. +/// @param splashZoomOutView zoom out view + + +/// 开屏广告zoomoutview点击事件回调 +/// @param splashZoomOutView zoom out view +- (void)splashZoomOutViewAdDidClick:(UIView *_Nonnull)splashZoomOutView; + +/// 开屏广告zoomoutview关闭事件回调 +/// @param splashZoomOutView zoom out view +- (void)splashZoomOutViewAdDidClose:(UIView *_Nonnull)splashZoomOutView; + +/// 开屏广告zoomoutview已经打开全屏页面事件回调 +/// @param splashZoomOutView zoom out view +- (void)splashZoomOutViewAdDidPresentFullScreenModal:(UIView *_Nonnull)splashZoomOutView; + +/// 开屏广告zoomoutview已经关闭全屏页面事件回调 +/// @param splashZoomOutView zoom out view +- (void)splashZoomOutViewAdDidDismissFullScreenModal:(UIView *_Nonnull)splashZoomOutView; + +@end + +/// 开屏 zoom out view +@interface ABUSplashZoomOutView : UIView + +/// 跳转控制器 +@property (nonatomic, weak, nullable) UIViewController *rootViewController; + +/// 代理对象 +@property (nonatomic, weak, nullable) id delegate; + +/// 建议展示尺寸 +@property (nonatomic, assign, readonly) CGSize suggestedSize; + +/// zoom out view 是否有自己的动画实现 +@property (nonatomic, assign, readonly) BOOL hasAnimation; + +/// 开屏点睛处理时机 +@property (nonatomic, assign) ABUAddOccasionType addOccasionType; +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashZoomOutView.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashZoomOutView.h.meta new file mode 100644 index 0000000..2eb4e30 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUSplashZoomOutView.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 0eda8c215e79cc347b8e224cbd644a7f +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUUserConfig.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUUserConfig.h new file mode 100644 index 0000000..76bb6a6 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUUserConfig.h @@ -0,0 +1,50 @@ +// +// ABUUserConfig.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/20. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// 日志级别 +typedef NS_ENUM (NSInteger, ABUAdSDKLogLevel) { + ABUAdSDKLogLevelNone = 0, + ABUAdSDKLogLevelError = 1, + ABUAdSDKLogLevelDebug = 1 +}; + +typedef NS_ENUM (NSInteger, ABUAdSDKLogLanguage) { + ABUAdSDKLogLanguageCH, + ABUAdSDKLogLanguageEN +}; + +// Theme mode for iOS. +typedef NS_ENUM(NSInteger, ABUAdSDKThemeStatus) { + ABUAdSDKThemeStatus_None = -1, + ABUAdSDKThemeStatus_Normal = 0, + ABUAdSDKThemeStatus_Night = 1, +}; + +@interface ABUUserConfig : NSObject + +/// 是否开启日志输出 +@property (nonatomic, assign) BOOL logEnable; + +/// 设置广告主题,扩展暗黑模式 +@property (nonatomic, assign) ABUAdSDKThemeStatus themeStatus; + +/// 设置扩展设备信息,如不了解该功能,请勿使用。 如@"[{\"device_id\":\"62271333038\"}]" +@property (nonatomic, copy) NSDictionary *extraDeviceMap; + +/// 就版本兼容,是否开启调试模式。真实情况由adapter实现,官方adapter中Unity可用 +@property (nonatomic, assign) BOOL testMode; + +/// 设置预先从平台下载的SDKConfig文件路径,当首次安装网络请求SDKConfig失败时会使用。 +@property (nonatomic, copy, nullable) NSString *advanceSDKConfigPath; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUUserConfig.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUUserConfig.h.meta new file mode 100644 index 0000000..3eb4564 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUUserConfig.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f2993d80de297aa4cb0ff33d1c5d1dd8 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUUserInfoForSegment.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUUserInfoForSegment.h new file mode 100644 index 0000000..f5e1879 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUUserInfoForSegment.h @@ -0,0 +1,48 @@ +// +// ABUUserInfoForSegment.h +// ABUAdSDK +// +// Created by heyinyin on 2021/2/25. +// + +#import + +typedef NS_ENUM (NSInteger, ABUUserInfoGender) { + ABUUserInfoGenderFemale = 0, + ABUUserInfoGenderMale = 1, + ABUUserInfoGenderUnknown = 2, + ABUUserInfoGenderUnSet = 3 //default,can't use. +}; + +// 兼容旧版本 +typedef ABUUserInfoGender ABUUserInfo_Gender; +#define ABUUserInfo_Gender_Female ABUUserInfoGenderFemale +#define ABUUserInfo_Gender_Male ABUUserInfoGenderMale +#define ABUUserInfo_Gender_Unknown ABUUserInfoGenderUnknown +#define ABUUserInfo_Gender_UnSet ABUUserInfoGenderUnSet + +/// 流量分组信息 +@interface ABUUserInfoForSegment : NSObject +/// user_id +@property (nonatomic, copy) NSString *user_id; +/// 渠道 +@property (nonatomic, copy) NSString *channel; +/// 子渠道 +@property (nonatomic, copy) NSString *sub_channel; +/// 用户年龄 +@property (nonatomic, assign) NSInteger age; +/// 用户性别 +@property (nonatomic, assign) ABUUserInfoGender gender; +/// 价值分组 +@property (nonatomic, copy) NSString *user_value_group; + +/// 自定义设置 +/** + 要求: + 自定义参数key&value要求均为string + 字符为数字,字母,"-","_"任意组合 + 长度上限为100 + */ +@property (nonatomic, copy) NSDictionary *customized_id; +@end + diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUUserInfoForSegment.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUUserInfoForSegment.h.meta new file mode 100644 index 0000000..599ece4 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUUserInfoForSegment.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: c369eb6ba0160de409d09f0aa20c2258 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVersion.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVersion.h new file mode 100644 index 0000000..475228a --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVersion.h @@ -0,0 +1,92 @@ +// +// ABUVersion.h +// ABUAdSDK +// +// Created by Makaiwen on 2021/5/31. +// + +#import + +#ifndef ABU_VERSION_H_ +#define ABU_VERSION_H_ + +struct ABUVersion { + NSInteger great; // Great version. + NSInteger major; // Major version. + NSInteger minor; // Minor version. + NSInteger patch; // Patch version. +}; +typedef struct ABUVersion ABUVersion; + +/// create a version struct by values +static inline ABUVersion ABUVersionMake(NSUInteger great, NSUInteger major, NSUInteger minor, NSUInteger patch); + +/// create a version struct by string, 4 values required, if less than 4, will be 0 from great, e.g @"1.2.3", great value is 0 +static inline ABUVersion ABUVersionFromString(NSString *string); + +/// convert version struct to string, may be called for log most +static inline NSString *NSStringFromABUVersion(ABUVersion version); + +/// compare two versions, first > second = 1, first < second = -1, first == second = 0 +static inline int ABUVersionCompare(ABUVersion version1, ABUVersion version2); + +/// compare two versions by string, ABUVersionCompare method will be called +static inline int ABUVersionCompareByString(NSString *version1, NSString *version2); + +#pragma mark - Functions + +static inline +ABUVersion ABUVersionMake(NSUInteger great, NSUInteger major, NSUInteger minor, NSUInteger patch) { + ABUVersion version; + version.great = great; + version.major = major; + version.minor = minor; + version.patch = patch; + return version; +} + +static inline +ABUVersion ABUVersionFromString(NSString *string) { + NSArray *vcs = [string componentsSeparatedByString:@"."]; + int limitCount = 4; + ABUVersion version = {0}; + int minCount = MIN(limitCount, (int) vcs.count); + NSInteger *p = (NSInteger *) &version; + for (int i = 0; i < minCount; i++) { + p[i] = [vcs[i] integerValue]; + } + return version; +} + +static inline +NSString *NSStringFromABUVersion(ABUVersion version) { + NSInteger *p = (NSInteger *) &version; + NSMutableArray *list = [NSMutableArray arrayWithCapacity:4]; + for (int i = 0; i < 4; i++) { + if (p[i] == 0 && list.count == 0) continue; + [list addObject:@(p[i])]; + } + + return [list componentsJoinedByString:@"."]; +} + +static inline +int ABUVersionCompare(ABUVersion version1, ABUVersion version2) { + NSInteger *p1 = (NSInteger *) &version1; + NSInteger *p2 = (NSInteger *) &version2; + for (int i = 0; i < 4; i++) { + if (p1[i] == p2[i]) continue; + if (p1[i] > p2[i]) return 1; + return -1; + } + return 0; +} + +static inline +int ABUVersionCompareByString(NSString *version1, NSString *version2) { + ABUVersion v1 = ABUVersionFromString(version1); + ABUVersion v2 = ABUVersionFromString(version2); + return ABUVersionCompare(v1, v2); +} + +#endif diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVersion.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVersion.h.meta new file mode 100644 index 0000000..8286666 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVersion.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 55fa6b3aa8ec1f04d826fec9914ee30b +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVideoAdReportSupport.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVideoAdReportSupport.h new file mode 100644 index 0000000..0b105e9 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVideoAdReportSupport.h @@ -0,0 +1,27 @@ +// +// Created by bytedance on 2022/5/6. +// + +#import + +/// 待上报的视频事件枚举类型 +typedef NS_ENUM(NSInteger, ABUVideoAdEvent) { + ABUVideoAdEventVideoDidPlay = 1, // 视频开始播放 + ABUVideoAdEventVideoDidFinish = 2, // 视频播放完成,无异常 + ABUVideoAdEventVideoDidPause = 3, // 视频暂停 + ABUVideoAdEventVideoDidResume = 4, // 视频恢复播放 + ABUVideoAdEventVideoDidBreak = 5, // 视频意外终止,如跳过、视频切出屏幕等 + ABUVideoAdEventVideoDidClick = 6, // 视频被点击 + ABUVideoAdEventVideoDidStartFailed = 7, // 视频开始播放时出现异常 + ABUVideoAdEventVideoDidPlayFailed = 8, // 视频播放中出现异常 + +}; + +typedef NSString * ABUVideoAdEventParameter; + +/// 视频总时长,NSNumber类型,单位s +extern ABUVideoAdEventParameter const ABUVideoAdEventParameterVideoTotalDurationKey; +/// 视频播放时长,NSNumber类型,单位s +extern ABUVideoAdEventParameter const ABUVideoAdEventParameterVideoCurrentDurationKey; +/// 视频出现异常原因,NSError类型 +extern ABUVideoAdEventParameter const ABUVideoAdEventParameterErrorKey; diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVideoAdReportSupport.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVideoAdReportSupport.h.meta new file mode 100644 index 0000000..06b8d0c --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVideoAdReportSupport.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 84bda4d1624626143ac40d83da20c663 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVideoAdReporter.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVideoAdReporter.h new file mode 100644 index 0000000..ffc5251 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVideoAdReporter.h @@ -0,0 +1,31 @@ +// +// Created by bytedance on 2022/5/6. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +/// 自渲染视频类广告事件上报类 +@interface ABUVideoAdReporter : NSObject + +/// 上报视频开始播放事件 +- (void)didStartPlayVideo; +/// 上报视频播放完成事件 +- (void)didFinishVideo; +/// 上报视频播放暂停事件 +- (void)didPauseVideoWithCurrentDuration:(NSTimeInterval)duration; +/// 上报视频播放继续事件 +- (void)didResumeVideoWithCurrentDuration:(NSTimeInterval)duration; +/// 上报视频播放中止事件 +- (void)didBreakVideoWithCurrentDuration:(NSTimeInterval)duration; +/// 上报视频视图点击事件 +- (void)didClickVideoViewWithCurrentDuration:(NSTimeInterval)duration; +/// 上报视频播放失败事件 +- (void)didPlayFailedWithError:(NSError *)error; +/// 上报视频无法播放事件 +- (void)didPlayStartFailedWithError:(NSError *)error; + +@end + +NS_ASSUME_NONNULL_END \ No newline at end of file diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVideoAdReporter.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVideoAdReporter.h.meta new file mode 100644 index 0000000..283f0d1 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUVideoAdReporter.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: ea7fcddc52552e24f815a28dd97856a7 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUViewTracker.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUViewTracker.h new file mode 100644 index 0000000..07629ee --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUViewTracker.h @@ -0,0 +1,77 @@ +// +// ABUViewTracker.h +// ABUAdSDK +// +// Created by wangchaop on 22/06/2020. +// Copyright © 2017年 bytedance. All rights reserved. +// + +#import +#import + +typedef NS_ENUM (NSInteger, ABUViewTrackerRepeatType) { + ABUViewTrackerRepeatType_none = 1, //上报一次 + ABUViewTrackerRepeatType_repeat = 2, //重复检测上报 +}; + +typedef NS_ENUM (NSInteger, ABUViewTrackerLastPresentation) { + ABUViewTrackerLastPresentation_outScreen = 0, //上次检测的上报时在屏幕外 + ABUViewTrackerLastPresentation_inScreen = 1, //上次检测的上报时在屏幕上 +}; + +@protocol ABUViewTracker +@property (nonatomic, assign) BOOL isWitness; +@property (nonatomic, assign) ABUViewTrackerRepeatType repeatType; +@property (nonatomic, assign) ABUViewTrackerLastPresentation lastPresentation; +@property (nonatomic, assign) NSTimeInterval showTimestamp; +@property (nonatomic, copy) void (^ showEvent)(id); +@property (nonatomic, copy) void (^ hideEvent)(id); +@property (nonatomic, strong) NSDictionary *extra; +@property (nonatomic, strong) id admodel; + +- (BOOL)invalid; +- (BOOL)checkIfViewInScreen; +- (void)snapShot; + +@end + +/* + BUViewTracker用于单个view + */ +@interface ABUViewTracker : NSObject +@property (nonatomic, weak) UIView *view; +@property (nonatomic, strong) id admodel; +@property (nonatomic, strong) NSDictionary *extra; +@property (nonatomic, assign) BOOL isWitness; +@property (nonatomic, assign) ABUViewTrackerRepeatType repeatType; +@property (nonatomic, assign) ABUViewTrackerLastPresentation lastPresentation; +@property (nonatomic, copy) void (^ showEvent)(id tracker); +@property (nonatomic, copy) void (^ hideEvent)(id tracker); +@property (nonatomic, assign) NSTimeInterval showTimestamp; +@property (nonatomic, copy) NSString *source; +@property (nonatomic, copy) NSString *tag; + +- (BOOL)checkIfViewInScreen; +- (BOOL)invalid; + +@end + +/* + ABUNativeViewTracker用于多个view + */ +@interface ABUNativeViewTracker : NSObject +@property (nonatomic, strong) NSPointerArray *views; +@property (nonatomic, strong) id admodel; +@property (nonatomic, strong) NSDictionary *extra; +@property (nonatomic, assign) BOOL isWitness; +@property (nonatomic, assign) ABUViewTrackerRepeatType repeatType; +@property (nonatomic, assign) ABUViewTrackerLastPresentation lastPresentation; +@property (nonatomic, copy) void (^ showEvent)(id); +@property (nonatomic, copy) void (^ hideEvent)(id); +@property (nonatomic, assign) NSTimeInterval showTimestamp; +@property (nonatomic, copy) NSString *tag; + +- (BOOL)checkIfViewInScreen; +- (BOOL)invalid; + +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUViewTracker.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUViewTracker.h.meta new file mode 100644 index 0000000..81b23ea --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUViewTracker.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a25a0c6cdbe67e34eb3aaa385432aa32 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUViewTrackerHelper.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUViewTrackerHelper.h new file mode 100644 index 0000000..dd0fc12 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUViewTrackerHelper.h @@ -0,0 +1,19 @@ +// +// ABUViewTrackerHelper.h +// ABUAdSDK +// +// Created by wangchaop on 22/06/2020. +// Copyright © 2018年 bytedance. All rights reserved. +// + +#import +#import + +@interface ABUViewTrackerHelper : NSObject + ++ (BOOL)checkIfViewInScreen:(UIView *)view; + +/// 当前屏幕内展示的面积 ++ (CGFloat)visibleAreaWithView:(UIView *)view; + +@end diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUViewTrackerHelper.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUViewTrackerHelper.h.meta new file mode 100644 index 0000000..4a240ae --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUViewTrackerHelper.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 8a631c40550450242a25607869c9bb63 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUZoomOutViewProperty.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUZoomOutViewProperty.h new file mode 100644 index 0000000..1dfaf0c --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUZoomOutViewProperty.h @@ -0,0 +1,31 @@ +// +// ABUZoomOutViewProperty.h +// ABUAdSDK +// +// Created by bytedance on 2021/9/28. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +// 开屏点睛处理时机 +typedef NS_ENUM (NSInteger, ABUAddOccasionType) { + ABUAddOccasionTypeWhenLoad = 0, // 需要在load回调里处理开屏点睛视图ABUSplashZoomOutView,eg:gdt + ABUAddOccasionTypeWhenClose, // 需要在close回调里处理开屏点睛视图ABUSplashZoomOutView,eg:pangle +}; + +/// 开屏点睛属性类 +@interface ABUZoomOutViewProperty : NSObject + +/// 点睛的展示尺寸 +@property (nonatomic, assign) CGSize size; + +/// 是否自己有动画 +@property (nonatomic, assign) BOOL hasAnimation; + +/// 处理时机 +@property (nonatomic, assign) ABUAddOccasionType addOccasionType; +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUZoomOutViewProperty.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUZoomOutViewProperty.h.meta new file mode 100644 index 0000000..9ff669b --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/ABUZoomOutViewProperty.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 99f5db0a18d08f145aaa2d58e6b72612 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/Ads-Mediation-CN.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/Ads-Mediation-CN.h new file mode 100644 index 0000000..885955e --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/Ads-Mediation-CN.h @@ -0,0 +1,8 @@ +// +// Ads-Mediation-CN.h +// Ads-Mediation-CN +// +// Created by bytedance on 2021/11/19. +// + +#import "ABUAdSDK.h" diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/Ads-Mediation-CN.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/Ads-Mediation-CN.h.meta new file mode 100644 index 0000000..c1ec05a --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/Ads-Mediation-CN.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: ba6ebec84299c7847983cfbbf0407547 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/UIWindow+GroMore.h b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/UIWindow+GroMore.h new file mode 100644 index 0000000..5ee848a --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/UIWindow+GroMore.h @@ -0,0 +1,18 @@ +// +// UIWindow+GroMore.h +// ABUAdSDK +// +// Created by bytedance on 2021/8/23. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@interface UIWindow (GroMore) + +- (UIViewController *)abu_topViewController; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/UIWindow+GroMore.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/UIWindow+GroMore.h.meta new file mode 100644 index 0000000..5c47555 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Headers/UIWindow+GroMore.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 6e9b199e12b7ac94f842989416f3a8df +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Modules.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Modules.meta new file mode 100644 index 0000000..4d560ed --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Modules.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3cc3d40f607fd3640bb9d2e05ad40a7c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Modules/module.modulemap b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Modules/module.modulemap new file mode 100644 index 0000000..affea4a --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module ABUAdSDK { + umbrella header "ABUAdSDK.h" + + export * + module * { export * } +} diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Modules/module.modulemap.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Modules/module.modulemap.meta new file mode 100644 index 0000000..10d0a1f --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/ABUAdSDK.framework/Modules/module.modulemap.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3afadb4d8b637084d8996216d764d855 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework.meta new file mode 100644 index 0000000..2f409ad --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework.meta @@ -0,0 +1,28 @@ +fileFormatVersion: 2 +guid: 7b02184c8ccbf6046bfa5a39710b15ea +folderAsset: yes +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 1 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + DefaultValueInitialized: true + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/AnyThinkMobrainAdapter_Plus b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/AnyThinkMobrainAdapter_Plus new file mode 100644 index 0000000..e69de29 diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/AnyThinkMobrainAdapter_Plus.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/AnyThinkMobrainAdapter_Plus.meta new file mode 100644 index 0000000..a87e37b --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/AnyThinkMobrainAdapter_Plus.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b1f44b2d609cb374c98eb715a7e18d3b +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers.meta new file mode 100644 index 0000000..5e0d556 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1ea2e237858e8974a96e9c24e99bb817 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/ATGromoreExtraConfig.h b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/ATGromoreExtraConfig.h new file mode 100644 index 0000000..983b157 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/ATGromoreExtraConfig.h @@ -0,0 +1,23 @@ +// +// ATGromoreExtraConfig.h +// AnyThinkMobrainAdapter +// +// Created by GUO PENG on 2022/8/26. +// Copyright © 2022 AnyThink. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +@class ABUAdSDKManager; + +@interface ATGromoreExtraConfig : NSObject + + ++ (void)setExtraConfig:(void(^_Nullable)(ABUAdSDKManager * _Nullable configuration))extraConfigBlock; + + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/ATGromoreExtraConfig.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/ATGromoreExtraConfig.h.meta new file mode 100644 index 0000000..62969d1 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/ATGromoreExtraConfig.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: de3f4d2f9a4d19e488d06d65d628dbd2 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/ATMobrainBaseManager.h b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/ATMobrainBaseManager.h new file mode 100644 index 0000000..de12839 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/ATMobrainBaseManager.h @@ -0,0 +1,80 @@ +// +// ATMobrainBaseManager.h +// AnyThinkMobrainAdapter +// +// Created by Topon on 2/1/21. +// Copyright © 2021 AnyThink. All rights reserved. +// + +#import + +NS_ASSUME_NONNULL_BEGIN + +#pragma mark - Mobrain +// kATSplashExtraMobrainAdnTypeKey Obsolete, please use kATSplashExtraMobrainAdnNameKey to pass in, the name of adn, please use the following values'pangle','baidu','gdt','ks', other values may cause the advertisement to fail to load +extern NSString *const kATSplashExtraMobrainAdnNameKey; +extern NSString *const kATSplashExtraMobrainAppKeyKey; +extern NSString *const kATSplashExtraMobrainAppIDKey; +extern NSString *const kATSplashExtraMobrainRIDKey; + +/** + optional + Set whether to mute the video,YES = mute,NO = unMute + PS: + 1、RV:only GDT,Klevin,MTG support setting mute + 2、IV:only GDT support setting mute + 3、Native video:only GDT,Admob,Baidu,MTG support setting mute + */ +extern NSString *const kATExtraMobrainMutedKey; + +typedef NS_ENUM(NSUInteger, ATBUAdSDKTerritory) { + BUAdSDKTerritory_CN = 1, + BUAdSDKTerritory_NO_CN, +}; + +static NSString * kAdGromoreInitiatedKey = @"kAdGromoreInitiatedKey"; + +@interface ATMobrainBaseManager : ATNetworkBaseManager + +@end + +@protocol ATABUPanglePersonaliseConfigAdapter ++ (void)configAdapterWithBlock:(void(^)(void))block; +@end + +@protocol ATBUAdSDKConfiguration ++ (instancetype)configuration; +@property (nonatomic, assign) ATBUAdSDKTerritory territory; +@property (nonatomic, strong) NSNumber *debugLog; + +@end + +@protocol ATGromoreBiddingRequest_plus +@property(nonatomic, strong) id customObject; + +@property(nonatomic, strong) ATUnitGroupModel *unitGroup; + +@property(nonatomic, strong) ATAdCustomEvent *customEvent; + +@property(nonatomic, copy) NSString *unitID; +@property(nonatomic, copy) NSString *placementID; + +@property(nonatomic, copy) NSDictionary *extraInfo; + +@property(nonatomic, copy) NSArray *nativeAds; +@property(nonatomic, copy) UIView *bannerView; + +@property(nonatomic, copy) void(^bidCompletion)(ATBidInfo * _Nullable bidInfo, NSError * _Nullable error); +@property(nonatomic, assign) ATAdFormat adType; + +@end + +@protocol ATGromoreC2SBiddingRequestManager_plus + ++ (instancetype)sharedInstance; + +- (void)startWithRequestItem:(id)request; + +@end + +NS_ASSUME_NONNULL_END diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/ATMobrainBaseManager.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/ATMobrainBaseManager.h.meta new file mode 100644 index 0000000..2971ffc --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/ATMobrainBaseManager.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: c6f9532db5b8fb54c9c5b3da132a0ccd +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/AnyThinkMobrainAdapter_Plus.h b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/AnyThinkMobrainAdapter_Plus.h new file mode 100644 index 0000000..6b2dffe --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/AnyThinkMobrainAdapter_Plus.h @@ -0,0 +1,22 @@ +// +// AnyThinkMobrainAdapter_Plus.h +// AnyThinkMobrainAdapter_Plus +// +// Created by Topon on 5/18/22. +// Copyright © 2022 AnyThink. All rights reserved. +// + +#import + +#import +#import + +//! Project version number for AnyThinkMobrainAdapter_Plus. +FOUNDATION_EXPORT double AnyThinkMobrainAdapter_PlusVersionNumber; + +//! Project version string for AnyThinkMobrainAdapter_Plus. +FOUNDATION_EXPORT const unsigned char AnyThinkMobrainAdapter_PlusVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/AnyThinkMobrainAdapter_Plus.h.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/AnyThinkMobrainAdapter_Plus.h.meta new file mode 100644 index 0000000..4f11b43 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Headers/AnyThinkMobrainAdapter_Plus.h.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: df1528928e3f2d34aad11b1805196754 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Info.plist b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Info.plist new file mode 100644 index 0000000..a919f2a Binary files /dev/null and b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Info.plist differ diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Info.plist.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Info.plist.meta new file mode 100644 index 0000000..7b6b3b1 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Info.plist.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d9a2b4612ee105f4d8fb48ccc2589363 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Modules.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Modules.meta new file mode 100644 index 0000000..58e00b0 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Modules.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 18aa7139e947ed2409d7bb10f8830ce1 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Modules/module.modulemap b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Modules/module.modulemap new file mode 100644 index 0000000..8100fa4 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Modules/module.modulemap @@ -0,0 +1,6 @@ +framework module AnyThinkMobrainAdapter_Plus { + umbrella header "AnyThinkMobrainAdapter_Plus.h" + + export * + module * { export * } +} diff --git a/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Modules/module.modulemap.meta b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Modules/module.modulemap.meta new file mode 100644 index 0000000..db80ef0 --- /dev/null +++ b/AnyThinkAds/Plugins/iOS/gromore_plus/AnyThinkMobrainAdapter_Plus.framework/Modules/module.modulemap.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: af49ac76e726ae6499bfb430fb9bb2f4 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkAds/Plugins/iOS/kuaishou/Editor/Dependencies.xml b/AnyThinkAds/Plugins/iOS/kuaishou/Editor/Dependencies.xml index e9e1630..ed3dca5 100644 --- a/AnyThinkAds/Plugins/iOS/kuaishou/Editor/Dependencies.xml +++ b/AnyThinkAds/Plugins/iOS/kuaishou/Editor/Dependencies.xml @@ -1,6 +1,6 @@ - + diff --git a/AnyThinkAds/Plugins/iOS/pangle_China/Editor/Dependencies.xml b/AnyThinkAds/Plugins/iOS/pangle_China/Editor/Dependencies.xml index 5e7a40a..3da493f 100644 --- a/AnyThinkAds/Plugins/iOS/pangle_China/Editor/Dependencies.xml +++ b/AnyThinkAds/Plugins/iOS/pangle_China/Editor/Dependencies.xml @@ -1,5 +1,5 @@ - + diff --git a/AnyThinkPlugin/Editor.meta b/AnyThinkPlugin/Editor.meta new file mode 100644 index 0000000..831f748 --- /dev/null +++ b/AnyThinkPlugin/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 26d1bcdb3b8214044b38db308499f29c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AnyThinkPlugin/Editor/localConfig.json b/AnyThinkPlugin/Editor/localConfig.json new file mode 100644 index 0000000..0037cdb --- /dev/null +++ b/AnyThinkPlugin/Editor/localConfig.json @@ -0,0 +1 @@ +{"version":"","sDKInfo":[{"network":"Core","version":"6.1.71","displayVersion":"iOS : 6.1.71 Android : 6.1.68"},{"network":"GDT","version":"6.1.71","displayVersion":"iOS : 4.14.12 Android : 4.511.1381"},{"network":"KuaiShou","version":"6.1.71","displayVersion":"iOS : 3.3.40 Android : 3.3.40"},{"network":"Pangle","version":"6.1.71","displayVersion":"iOS : 5.1.0.1 Android : 5.1.0.2"}],"versionList":[]} \ No newline at end of file diff --git a/Editor/localConfig.json.meta b/AnyThinkPlugin/Editor/localConfig.json.meta similarity index 100% rename from Editor/localConfig.json.meta rename to AnyThinkPlugin/Editor/localConfig.json.meta diff --git a/Editor/ATDownloadManager.cs b/Editor/ATDownloadManager.cs index 3059ae9..a1f7a49 100644 --- a/Editor/ATDownloadManager.cs +++ b/Editor/ATDownloadManager.cs @@ -1,9 +1,9 @@ - using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; +using System.Xml; using UnityEditor; using UnityEngine; @@ -11,9 +11,10 @@ using UnityEngine.Networking; using ATJson; using ATProviderInfo; using ATNet; +using UnityEditor.PackageManager.Requests; +using UnityEditor.PackageManager; using ATConf; - public class ATDownloadManager : EditorWindow { private GUIStyle headerStyle; diff --git a/Editor/localConfig.json b/Editor/localConfig.json deleted file mode 100644 index d26659e..0000000 --- a/Editor/localConfig.json +++ /dev/null @@ -1 +0,0 @@ -{"version":"","sDKInfo":[{"network":"Core","version":"6.1.55","displayVersion":"iOS : 6.1.51 Android : 6.1.55"},{"network":"Pangle","version":"6.1.55","displayVersion":"iOS : 4.9.0.2 Android : 5.0.0.4"},{"network":"KuaiShou","version":"6.1.55","displayVersion":"iOS : 3.3.33 Android : 3.3.34"},{"network":"GDT","version":"6.1.55","displayVersion":"iOS : 4.13.90 Android : 4.510.1380"}],"versionList":[]} \ No newline at end of file