-
Notifications
You must be signed in to change notification settings - Fork 4
Manager Ad object
Denis edited this page Jan 14, 2022
·
16 revisions
⚡ Before you start
Make sure you have correctly configure SDK.
Implementation by UnityEditor | Script C#
To display ads, you must initialize the mediation manager with a unique Manager ID.
This needs to be done only once for each manager, ideally on first scene.
⚠️ If you are working with Facebook Audience Network then you must set Facebook Data Processing Options, but theManager Ad Object
does not provide such possibilities. Please use Script C# implementation.
We will be working on updatingManager Ad Object
to resolve issue in future releases.
- Add an GameObject to your scene using
GameObject > Create Empty
in the Unity Editor. - Add Component
CleverAdsSolutions/Initialize Manager Ad Object
in the inspector to new GameObject. - Select Manager ID from settings asset for each runtime platform.
- Invoke a
Initialize()
method to begin initialization.
-
Initialize On Awake
Automatically invoke theInitialize()
method on the component awake. -
OnInitialized
The Unity event will be invoked when the Mediation Manager is initialized and ready.
What’s Next?
- Follow our integration guides and implement our Ad Units:
- See the Privacy page to learn how to ensure that your application complies with privacy regulations.
- Project Setup
- Configuring SDK
- Include Android
- Include iOS
- Additional mediation steps
- App-ads.txt🔗