enablePerPlacementLoad question.

Hi! I’m currently making my first game on unity outside of tutorials, and right now i’m trying to wrap my head up around the unityAds. However, i don’t quite understand some stuff about ad’s mechanisms. There are no up to date guides on the internet and the documentation is unclear. I hope someone can explain this to me, and sorry if this question is too simple for forums.

So, what is the reason behind using enablePerPlacementLoad during initialization? From what i gathered, it forces us to manually .Load every time before showing an ad. What is the advantage of doing this?

I’ve turned perplacementload off and just call .Show during relevant times and everything seemingly working as intended (I only have rewarded ads in my game currently), but i’m not feeling comfortable not understanding this option, and afraid i might be missing something crucial for my project.

Hello gane1404,

What you understand is correct. When enablePerPlacementLoad is turned on, you must call Load before calling Show. The advantage of this is could save user network resource and improves SDK efficiency.

Since UnityAds SDK automatically load ads for all active placements, it could use a large amount of user network resource when loading all placements during initialization. By using enablePerPlacementLoad you can control when to load an ad per placement, which could reduce the load.

In most cases, you don’t need to turn this option. Unity SDK optimizes placements of the same ad type(video or banner) can share the ad creative cache. Therefore, SDK won’t download the same video or image multiple times.

Hope this makes sense. If you have any other questions, please leave a comment.
Have a good day :slight_smile:

1 Like

Thank you so much! Your answer cleared everything up.

1 Like