To ensure the Applixir Web Ads SDK works properly with your Unity project, you must first set up an account on the Applixir platform and register the website where your WebGL application will be hosted. Follow these steps:
A - Register on Applixir
Visit the Applixir website and create an account if you haven’t already. This account will allow you to manage your ad configurations and retrieve the necessary identifiers (Account ID, Site ID, Zone ID).
B - Add Your Website
Once registered and logged in, navigate to the section where you can add and manage websites. Add the URL of the website where you plan to host your WebGL build. This step is critical because the SDK uses this information to verify and serve ads correctly. If the website URL is not registered, the SDK will not function as intended, and you may encounter errors during testing or production deployment.
Select the platform. For HTML5, choose Web. Enter the "Site Name" and "Site URL”. For the Site URL just enter the domain name, not the path (e.g. https://www.mysite.com)
C - Obtain SDK Configuration Details
After adding your website, retrieve the following details from your Applixir account:
-
- Account ID: Unique identifier for your account.
- Site ID: Identifier linked to the specific website you’ve registered.
-
Zone ID: Used to configure ad zones for serving targeted ads. (The default Zone ID for testing is typically
2050
.)
You will input these details later in the SDK settings during project configuration.
By completing this step, you ensure that your Unity WebGL project is properly linked with the Applixir platform, enabling seamless ad delivery when the integration is complete. Once you have created a Site, the system will automatically generate a Game ID and Zone ID for you. These IDs will be used in the application.
Important note: When first starting your AppLixir integration, you will be using zone 2050 which will operate until your account is enabled and you receive your production zone ID. Zone 2050 displays a special ad you can use to test your integration. You can’t test with real ads since testing looks like click fraud to the ad servers. If you need to do further testing in the future, remember to change the zone to 2050.