This guide is intended for publishers seeking to monetize their Unity app with Pangle. The Pangle Unity Plugin currently supports the following ad formats: Rewarded Video, Interstitial Video, and Banner.
Integrating the Pangle Unity plugin into an app, as detailed in this guide, is the first step towards displaying Pangle ads and generating revenue. After successful integration, you may select an ad format and follow the detailed implementation steps provided for the chosen format.
iOS
Android
Note:
- The official demo example demonstrates the process using Unity 2019 version. In case you are using Unity 2018 version, it is recommended to import the PangleAdapterScripts.unitypackage and Example.unitypackage (example files) in the Unity editor, and then delete the Packages folder. The system will automatically generate new Packages.
- If you are unable to view the ad sample style in Unity 2018 version, you can replace the file with 2018DemoUI_CN.unitypackage to view the sample. Please contact the Pangle support team via email at pangle_support@bytedance.com to obtain the file.
The Pangle Unity plugin enables Unity developers to easily serve Google Mobile Ads on Android and iOS apps without having to write Java or Objective-C code. The plugin provides a C# interface for requesting ads that are used by C# scripts in your Unity project.Download the Pangle Unity plugin on the Pangle platform.
Open your project in the Unity editor, select Assets > Import Package > Custom Package, and find the PangleAdapterScripts.unitypackage. Make sure all files are selected, and then click Import.
Open your project in the Unity editor and select Pangle->Manage SDKs->Upgrade to upgrade the version, see screenshot for details
Notice:
OTHER_LDFLAGS
from *.debug.xcconfig and *.release.xcconfig. (Also apply if there are any other build xcconfig file exist)