CAS-Unity

CAS.AI Unity plugin for monetizing mobile applications.

APACHE-2.0 License

Stars
14
Committers
5

Bot releases are hidden (Show)

CAS-Unity - Version 3.9.3 Latest Release

Published by Str4tos 2 months ago

  • Discover the native 3.9.3 SDKs release notes for Android and iOS.

Bug Fixes

  • [Android] Fixed potential ANR from AppStateNotifier initialization.
CAS-Unity - Version 3.9.2

Published by Str4tos 3 months ago

  • Discover the native 3.9.2 SDKs release notes for Android and iOS.
  • Added new methods for retrieving user consent information for individual vendors and additional providers.
ConsentStatus googleConsent = CAS.MobileAds.settings.getVendorConsent(755)
ConsentStatus audienceNetworkConsent = CAS.MobileAds.settings.getAdditionalConsent(89)

Bug Fixes

  • [iOS] Fixed the EXC_BAD_ACCESS crash that occurred when accessing AdMetaData slightly later.
  • [Android] Added an alternative maven repository for Madex artifacts for those who had difficulties accessing the official repository.
  • [Editor] Fixed compilation error: name CASPostGenerateGradle could not be found.

    Please remove the CASDeveloper from the Sciripting Define Symbols if it was added to work around this issue.

CAS-Unity - Version 3.9.1

Published by Str4tos 3 months ago

  • Discover the native 3.9.1 SDKs release notes for Android and iOS.

Changes

  • The CASExchange adapter has been included to the Optimal Ads Solutions.
  • Previously beta adapters are now available to all: CASExchange, HyprMX, and StartIO.
CAS-Unity - Version 3.9.0

Published by Str4tos 3 months ago

  • Discover the native 3.9.0 SDKs release notes for Android and iOS.

Changes

  • [Android] Requires a minimum compileSdkVersion of 34.
  • [iOS] Requires apps to build with Xcode 15.3 or above.

Bug Fixes

  • [Android] Fixed gradle build error Could not find method apply() in Unity 2022+.
  • [Editor] Fixed exception log when detecting Gradle version in Unity 6.
CAS-Unity - Version 3.8.1

Published by Str4tos 4 months ago

  • Discover the native 3.8.1 SDKs release notes for Android and iOS.

Bug Fixes

  • [iOS] Fixed a critical issue related to the position of Banner ads.
  • [iOS] Fixed NSUserTrackingUsageDescription localization with com.unity.localization package.
  • [iOS] Fixed XCode build error CASResources no such file or directory when the unity project was compiled on Windows.
  • [iOS] Fixed an issue where the UIViewController is invalid for the Consent Flow.
CAS-Unity - Version 3.8.0

Published by Str4tos 4 months ago

  • [Hotfix] The version of the Unity plugin has been upgraded.
  • Discover the native 3.8.0 SDKs release notes for Android and iOS.
  • Added a log with useful information about ad impression with disabled verbose logs.

Update Banner Ad Position

  • Added support new AdPosition: MiddleCenter, MiddleLeft, MiddleRight.
  • Added support for offset (X, Y) position from any AdPosition. Previously, only TopLeft was supported.
  • Added optional parameter AdPosition to method SetPosition(int x, int y, AdPosition position = AdPosition.TopLeft) method.
  • Added new method SetPositionPx(int x, int y, AdPosition position = AdPosition.TopLeft) to set (X, Y) offset in pixels.
  • Added new method float CAS.MobileAds.GetDeviceScreenScale() to retrieve the device screen scale in independent pixels (DP). Use this scale to convert pixels to DP and vice versa.
  • The rectInPixels is now available immediately in the OnLoaded event.
  • The rectInPixels will not be reset when the banner is hidden, the values ​​remain from the last display on the screen.

Check out the updated documentation Banner Ad Position

Bug Fixes

  • [iOS] Fixed the position of banner ads after changing the device orientation.
  • [Android] Removed gradle property enableDexingArtifactTransform for Unity 2022.2+ as deprecated with newest gradle versions.

Changes

  • The ConsentFlowAdObject.showOnAwakeIfRequired changed to False by default.
  • The ManagerAdObject.initializeOnAwake changed to False by default.
  • [Android] The CASPlugin.androidlib has been replaced by CASUnityBridge.aar for compatibility with Unity 6.
  • [Android] Now Gradle file modifications will be performed in temporary build files instead of project assets.
  • [iOS] The Info.plist configuration post-process was moved to int.MaxValue - 10 order to workaround an issue where other plugins could override parameters such as SKAdNetowkrIDs.

New ads networks support in closed beta

  • CASExchange - is a cutting-edge exchange platform designed to extend our SDK, enabling integration with Demand Side Platforms (DSPs).
  • Ogury
  • LoopMe
CAS-Unity - Version 3.7.3

Published by Str4tos 5 months ago

  • Discover the native 3.7.3 SDKs release notes for Android and iOS.
  • Added new EnableOptionsButton event for ConsentFlowAdObject to enable/disable Consent option button.

Bug Fixes

  • [iOS] Fixed EXC_BAD_ACCESS crash from didCloseAd callback.

Changes

  • The MyTarget network support has been removed. Our team considers MyTarget to be ineffective and excludes it from CAS mediation.

    Please remove the MyTarget adapter if you are using it.

CAS-Unity - Version 3.7.2

Published by Str4tos 5 months ago

[!NOTE]
We're aware of a potential iOS issue Linker command failed with Undefined symbols arising from MyTarget dependencies. Please do not include the MyTarget dependency in your project. Our team considers MyTarget to be ineffective and excludes it from CAS mediation.

  • Discover the native 3.7.2 SDKs release notes for Android and iOS.
  • Introduced automatic collect impression level data to Tenjin Analytics. (Closed beta)

Bug Fixes

  • [iOS] Fixed an issue where the AppReturn ads events could be raised from outside the Unity Mein Thread.
  • [iOS] Fixed the Privacy Info invalid API reason declaration for UnityFramework in the UserDefaults category. The issue stemmed from the SuperAwesome framework, which received an update with the fix.
  • [Editor] Fixed the compilation error The type or namespace name 'NUnit' could not be found.
  • [Editor] Fixed an error when the plugin component was not found after the unitypackage integration.
  • [Editor] Fixed plugin version checking given Revision part.
CAS-Unity - Version 3.7.1

Published by Str4tos 6 months ago

  • The native SDK remains version 3.7.0.

Bug Fixes

  • [Android] Fixed Exception: JNI: Unknown signature for type 'CAS.Android.CASConsentFlowClient'.
CAS-Unity - Version 3.7.0

Published by Str4tos 6 months ago

  • Discover the latest features in native 3.7.0 SDKs for Android and iOS.
  • Added support AdType.AppOpen. Read integration guides for UnityEditor or Script C#
  • Added new static events in CAS.MobileAds class: OnApplicationBackground and OnApplicationForeground. It's important to use new events when you want to show AppOpen ads on user returning to the game.
  • Added ConsentFlowAdObject component.
  • Added option to disable ConsentFlow via ManagerAdObject component.
  • Added ConsentFlowAdObject optional field for ManagerAdObject to configure ConsentFlow on Ads initialization.
  • Added ConsentFlow.Status enum and new event for ConsentFlow.WithCompletionListener(Action<ConsentFlow.Status>).
  • Added ConsentFlow.DebugGeography enum and ConsentFlow.WithDebugGeography() method to sets debug geography for testing purposes.
  • Added ShowIfRequired() method for ConsentFlow instance to show the consent form only if it is required and the user has not responded previously.
  • Added Show() method for ConsentFlow instance with the same functionality as the CAS.MobileAds.ShowConsentFlow(ConsentFlow) but easier to use.
new ConsentFlow()
    .WithDebugGeography(ConsentFlow.DebugGeography.EEA)
    .WithCompletionListener((status) =>
    {
        if (status == ConsentFlow.Status.Obtained)
        {
            // User consent obtained.
        }
    })
    .ShowIfRequired();
  • Made CAS.MobileAds.ShowConsentFlow() obsolete in favor of new ShowIfRequired() or Show() methods for ConsentFlow instance.
  • Made OnAdOpening events obsolete. Please use OnAdImpression event to collect AdMetaData about the ad impression or OnAdShown event if AdMetaData is not used.
  • Performance improvements when forwarding native callbacks.
  • In manual ad loading mode, the SDK will no longer trigger OnAdFailedToLoad events before closing the Interstitial and Rewarded ads.
  • [Android] Added androidx.lifecycle:lifecycle-process:2.6.2 dependency.
  • [Editor] Added ConsentFlow completion events implementation to testing in editor.
  • [Editor] Removed Delay measurement of the Ad SDK initialization option, which applies in any case.
CAS-Unity - Version 3.7.0-rc1

Published by Str4tos 6 months ago

  • Discover the latest features in native 3.7.0-rc1 SDKs for Android and iOS.
  • Added support AdType.AppOpen.
  • Added AppOpenAdObject component.
  • Added new static events to CAS.MobileAds: OnApplicationPaused and OnApplicationResumed. It's important to use new events when you want to show AppOpen ads on user returning to the game.
  • Added ConsentFlowAdObject component.
  • Added option to disable ConsentFlow via ManagerAdObject component.
  • Added ConsentFlowAdObject optional field for ManagerAdObject to configure ConsentFlow on Ads initialization.
  • Added ConsentFlow.Status enum and new event for ConsentFlow.WithCompletionListener(Action<ConsentFlow.Status>).
  • Added ConsentFlow.DebugGeography enum and ConsentFlow.WithDebugGeography() method to sets debug geography for testing purposes.
  • Added ShowIfRequired() method for ConsentFlow instance to show the consent form only if it is required and the user has not responded previously.
  • Added Show() method for ConsentFlow instance with the same functionality as the CAS.MobileAds.ShowConsentFlow(ConsentFlow) but easier to use.
  • Made CAS.MobileAds.ShowConsentFlow() obsolete in favor of new ShowIfRequired() or Show() methods for ConsentFlow instance.
  • Made OnAdOpening events obsolete. Use OnAdImpression event to collect AdMetaData about the ad impression or OnAdShown event if AdMetaData is not used.
  • Removed Delay measurement of the Ad SDK initialization option, which applies in any case.
  • [Editor] Implemented ConsentFlow completion events to testing in editor.
CAS-Unity - Version 3.6.1

Published by Str4tos 6 months ago

  • Discover the latest features in native 3.6.1 SDKs for Android and iOS.

Bug Fixes

  • [iOS] Fixex Banner ads moving after full screen due to a safe area bug in Unity Engine.
  • [Editor] The Utils class alias has been hidden to avoid conflict with the global namespace.

New ads networks support in closed beta

  • StartIO
CAS-Unity - Version 3.6.0

Published by Str4tos 7 months ago

  • Discover the latest features in native 3.6.0 SDKs for Android and iOS.
  • [iOS] The minimum supported Xcode version has been increased to 15.1.
  • [iOS] Added support for the Apple Privacy Manifest update to ensure publisher compliance with new App Store submission requirements.
  • [iOS] Added to build required AdSupport and AppTrackingTransparency frameworks if UserTrackingUsageDescription defined in settings window.
  • Added CAS.MobileAds.targetingOptions.locationCollectionEnabled property to collect from the device the latitude and longitude coordinated truncated to the hundredths decimal place. And Location targeting if allowed default value for both platforms to settings window. Collect occurs only if your application already has the relevant end-user permissions and if the target audience is not children.
  • Make CAS.MobileAds.settings.trackLocationEnabled obsolete in favor of locationCollectionEnabled in targetingOptions for both platforms.

Bug Fixes

  • Fixed the mapping of AdNetwork.DTExchange to the native CAS for the AdMetaData structure.
CAS-Unity - Version 3.5.6

Published by Str4tos 8 months ago

  • Discover the latest features in native 3.5.6 SDKs for Android and iOS.
CAS-Unity - Version 3.5.5

Published by Str4tos 8 months ago

  • Discover the latest features in native 3.5.5 SDKs for Android and iOS.

Bug Fixes

  • [Android] Fixed NullPointerException when initializing CAS if WithMediationExtras() was not used. (experienced on 3.5.4)

New ads networks support in closed beta

  • Madex
CAS-Unity - Version 3.5.4

Published by Str4tos 8 months ago

[!CAUTION]
For Android apps with CAS SDK version 3.5.4, the banner format from the following advertising networks may be deactivated for the sake of application stability: Google Ads, Unity Ads, IronSource, AudienceNetwork. We are working on fixing this issue in the next update.

  • Discover the latest features in native 3.5.4 SDKs for Android and iOS.

Bug Fixes

  • Fixed invoke of InterstitialAdObject.OnAdShown event.
  • [Android] Added workaround to migrate Kotlin 1.8.0 since it no longer supports JVM targets 1.6 and 1.7.
CAS-Unity - Version 3.5.2

Published by Str4tos 9 months ago

  • Discover the release notes for Android and iOS native 3.5.2 SDKs.
  • [Android] Added packagingOptions to gradle files to pick the first occurrence of META-INF/kotlinx_coroutines_core.version and META-INF/core-utils_release.kotlin_module files. This will fix the duplicate issue.
  • [iOS] Added a delay before calling UnityUpdateMuteState() to fix an issue with Unity losing audio after closing a fullscreen ad.
CAS-Unity - Version 3.5.1

Published by Str4tos 10 months ago

Changes

  • The BidMachine network support has been removed. We continue to collaborate with BidMachine and hope to restore support in the future.

    Please remove the BidMachine adapter if you are using it.

  • Renamed AdNetwork.CASExchange to AdNetwork.DSPExchange to avoid confusion.
CAS-Unity - Version 3.5.0

Published by Str4tos 11 months ago

  • Wraps Android and iOS 3.5.0 SDK
  • Added new CAS.MobileAds.targetingOptions.SetKeywords() to sets a list of keywords, interests, or intents related to your application. Words or phrase describing the current activity of the user for targeting purposes.
  • Added new CAS.MobileAds.targetingOptions.contentUrl to sets the content URL for a web site whose content matches the app's primary content. This web site content is used for targeting and brand safety purposes.
  • [Android] Added new Editor Option to Optimize initialization and Google Ad loading. Look for the new option in CAS Android Settings > Other Settings window. By default, optimization is active.
  • [Android] Added Editor Options to removing the property tag from the Android Manifest of the Google Mobile Ads Android SDK. This is enabled for projects using Android Gradle Plugin version 4.2.1 and lower.

    GMA Android SDK 22.4.0 and above introduces a property tag in its Android Manifest that is not compatible with lower versions of Android Gradle Plugin (used by Unity 2022.1 and below).

  • [Android] The update to CASPlugin.androidlib/AndroidManifest.xml occurs not in Project Assets but in the generated Gradle project.
  • [Editor] Cleaned up scripts by removing redundant code.

Hotfix 07.12.2023

  • [iOS] The #define UnpackDTExchangeXCFramework is now enabled by default, to avoid issues with DTExchange in iOS builds and Xcode 15.

Changes

  • The Meta Audience Network has been included to the Optimal Ads Solutions.

    Please complete Additional integration steps to enable the Meta monetization.

  • The Bigo Ads has been included to the Optimal Ads Solutions.
  • The AdColony network support has been removed. The AdColony will sunset and migrate to DTExchange.

    Please remove the AdColony adapter if you are using it.

  • [Android] Now CASPlugin.androidlib is placed in CleverAdsSolution/Plugins/Android instead of Assets/Plugins/Android. The obsolete CASPlugin.androidlib will be automatically removed during the application build.

New ads networks support in closed beta

  • BidMachine
CAS-Unity - Version 3.5.0

Published by Str4tos 11 months ago

  • Wraps Android and iOS 3.5.0 SDK
  • Added new CAS.MobileAds.targetingOptions.SetKeywords() to sets a list of keywords, interests, or intents related to your application. Words or phrase describing the current activity of the user for targeting purposes.
  • Added new CAS.MobileAds.targetingOptions.contentUrl to sets the content URL for a web site whose content matches the app's primary content. This web site content is used for targeting and brand safety purposes.
  • [Android] Added new Editor Option to Optimize initialization and Google Ad loading. Look for the new option in CAS Android Settings > Other Settings window. By default, optimization is active.
  • [Android] Added Editor Options to removing the property tag from the Android Manifest of the Google Mobile Ads Android SDK. This is enabled for projects using Android Gradle Plugin version 4.2.1 and lower.

    GMA Android SDK 22.4.0 and above introduces a property tag in its Android Manifest that is not compatible with lower versions of Android Gradle Plugin (used by Unity 2022.1 and below).

  • [Android] The update to CASPlugin.androidlib/AndroidManifest.xml occurs not in Project Assets but in the generated Gradle project.
  • [Editor] Cleaned up scripts by removing redundant code.

Changes

  • The Meta Audience Network has been included to the Optimal Ads Solutions.

    Please complete Additional integration steps to enable the Meta monetization.

  • The Bigo Ads has been included to the Optimal Ads Solutions.
  • The AdColony network support has been removed. The AdColony will sunset and migrate to DTExchange.

    Please remove the AdColony adapter if you are using it.

  • [Android] Now CASPlugin.androidlib is placed in CleverAdsSolution/Plugins/Android instead of Assets/Plugins/Android. The obsolete CASPlugin.androidlib will be automatically removed during the application build.

New ads networks support in closed beta

  • BidMachine
Badges
Extracted from project README
openupm App-ads.txt
Related Projects