Unity Google Cell Advertisements Model 8 Launched
We’re excited to announce the launch of Model 8 of the Google Cell Advertisements for Unity plugin! This new model comprises quite a few new options and upgraded APIs.
Minimal Unity model is now 2019.4
The Google Cell Advertisements Unity plugin now has a minimal Unity Engine model requirement of 2019.4. This was accomplished to align with Unity’s long run help.
Compatibility with Android v22.0.0
This launch helps the Android Google Cell Advertisements SDK model 22.0.0 main model launch.
Consumer Messaging Platform (UMP) help
The Google Cell Advertisements Unity plugin now contains help for the Google Consumer Messaging Platform (UMP) that can assist you collect consent from app customers. To allow UMP help, see the person privateness get began information.
Plugin now has C# reference documentation
With the discharge of model 8, we now have launched C# reference documentation. Furthermore, this model added xml-doc summaries to all public fields, properties, strategies, and lessons. This makes the plugin simpler to make use of and offers full IntelliSense help when creating in Visible Studio.
Migrate advert format occasions to the brand new interface
Full-screen advert codecs APIs now have a uniform interface and we’re eradicating the outdated advert occasion APIs. These modifications make the APIs for every advert format extra constant and simpler to make use of. The brand new interface features a static Load() methodology, use of generic delegates as a substitute of EventArgs, and constant advert occasions names throughout codecs.
For a full checklist of modifications and steps for upgrading your code, please see the model 8 migration information.
Use RaiseAdEventsOnUnityMainThread() to ensure thread security
The Google Cell Advertisements Unity plugin now contains an elective help function for Unity thread security. This function means you now not have to handle threading considerations when dealing with platform occasions or callbacks.
In the event you use this function, the SDK might pause occasions throughout full display screen advert shows. Because of this you won’t get some occasions, like OnAdFullScreenContentOpened or OnAdImpressionRecorded, till after the person comes again to the sport. If you might want to gather this information in actual time, this won’t be a great choice. We advocate you check this function to see if it really works for you.
This is an instance of how one can use Google Cell Advertisements new thread security help:
Deprecation of Advert Placements
The Google Cell Advertisements Unity plugin’s Advert Placements function is deprecated. There aren’t any plans to maneuver it into public launch.
You probably have any questions or considerations about migrating your mission, please attain out on our developer discussion board.