بازیها
همکاری با بیش از 20 بازی پرمخاطب ایرانی
AdPlayDeveloper Docs
AdPlay یک SDK یونیتی برای درخواست و نمایش تبلیغات داخل UI بازی است. این SDK، فایلهای تبلیغ را دانلود میکند، تبلیغهای فعال را کش میکند و داده impression یا click را ارسال میکند.
The repository was created with Unity 6000.3.8f1. Unity 6.3 or newer Unity 6.3 patch releases are recommended for this SDK build.
| Field | Use |
|---|---|
| Recommended Unity Editor | Unity 6000 or newer |
| Minimum declared in package manifest | unity: 2020 |
| Required Unity packages | com.unity.nuget.newtonsoft-json, RTLTMPro |
| دسترسی شبکه در زمان اجرا | بازی باید به https://addata.ir و دامنههای فایلهای تبلیغ دسترسی داشته باشد. |
همکاری با بیش از 20 بازی پرمخاطب ایرانی، ساعت بازی ماهانه بیش از 75 میلیون ساعت و بازدید ماهانه بیش از 150 میلیون بازدید.
همکاری با بیش از 20 بازی پرمخاطب ایرانی
ساعت بازی ماهانه بیش از 75 میلیون ساعت
بازدید ماهانه بیش از 150 میلیون بازدید
The SDK currently supports Splash, Banner, Pop-up, Pop-up Button, and interstitial sound ad formats.
Before importing the AdPlay SDK, make sure your Unity project has the required packages and App Key.
The SDK package should be imported with Assets > Import Package > Custom Package.
The SDK requires RTLTMPro for Persian and right-to-left text through RTLTextMeshPro components.
The SDK uses Newtonsoft Json for serializing and deserializing API data.
After importing the package, the main SDK directory is added under Assets/Adplay.
| Path | Purpose |
|---|---|
| Assets/Adplay/Prefabs/AdPlayManager.prefab | Runtime manager that initializes ads, caches textures, and sends engagement batches |
| Assets/Adplay/Prefabs/AdPlayTemplate.prefab | Reusable UI template containing required image, button, and RTL text references |
| Assets/Adplay/ScriptableObjects/Adplay/AdPlayApiConfigData.asset | Stores the app key in the apiToken field |
| Assets/Adplay/ScriptableObjects/Adplay/AdPlayRequest.asset | API request asset that references AdPlayApiConfigData |
| Assets/Adplay/AdPlaySampleScene.unity | Sample scene demonstrating SDK initialization and ad requests |