Commit 909b6dae authored by 王雪伟's avatar 王雪伟

no message

parent 5b57d047
...@@ -6,15 +6,15 @@ public class AdUtils ...@@ -6,15 +6,15 @@ public class AdUtils
{ {
private string Banner = "banner"; private string Banner = "banner";
private string Splash = "splash"; private string Splash = "splash";
private string Feed = "common_bigimage"; private string Feed = "bigimage";
private string FullVideo = "fullvideo"; private string FullVideo = "fullvideo";
private string Reward = "common_video"; private string Reward = "video";
private string Interstitial = "Interstitial"; private string Interstitial = "Interstitial";
public static void ShowFeedAd(string actionName) public static void ShowFeedAd(string actionName)
{ {
AdManager.Instance.ShowCacheFeedAd("common_bigimage", actionName); AdManager.Instance.ShowCacheFeedAd("bigimage", actionName);
} }
public static void CloseFeedAd() public static void CloseFeedAd()
{ {
...@@ -29,7 +29,7 @@ public class AdUtils ...@@ -29,7 +29,7 @@ public class AdUtils
// ReportVideo(slot); // ReportVideo(slot);
callback(true); callback(true);
#else #else
AdManager.Instance.PlayCacheRewardVideoAd("common_video", actionName, new RewardAdListener(actionName, callback)); AdManager.Instance.PlayCacheRewardVideoAd("video", actionName, new RewardAdListener(actionName, callback));
#endif #endif
} }
...@@ -65,7 +65,7 @@ public class AdUtils ...@@ -65,7 +65,7 @@ public class AdUtils
public void onAdClose(AdEntity entity) public void onAdClose(AdEntity entity)
{ {
AdManager.Instance.LoadCacheRewardVideoAd("common_video"); AdManager.Instance.LoadCacheRewardVideoAd("video");
ReportVideo(actionName); ReportVideo(actionName);
callback(true); callback(true);
EventCenter.Broadcast(MyEventType.FlyVideoRedPack); EventCenter.Broadcast(MyEventType.FlyVideoRedPack);
...@@ -163,7 +163,7 @@ public class AdUtils ...@@ -163,7 +163,7 @@ public class AdUtils
ReportVideo(slot); ReportVideo(slot);
callback(true); callback(true);
#else #else
AdManager.Instance.PlayCacheRewardVideoAd("common_video", slot, new RewardAdListener(slot, callback)); AdManager.Instance.PlayCacheRewardVideoAd("video", slot, new RewardAdListener(slot, callback));
#endif #endif
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment