Official Unity Plugin for the Google Mobile Ads SDK
putPublisherFirstPartyIdEnabled
with boolean return type.gradle.projectsEvaluated
for executing validate_dependencies
gradle script.AdapterResponseInfo.LatencyMillis
on iOS.GetAdUnitID
API that allows reading the ad unit id for all ad formats.AdManagerAdRequest
as part of Load
API for Rewarded, Rewarded Interstitial and AppOpen formats.SameAppKeyEnabled
in RequestConfiguration
. Use PublisherFirstPartyIdEnabled
instead.ServerSideVerificationOptions.Builder
. Use ServerSideVerificationOptions
directly.RequestConfiguration.Builder
. Use RequestConfiguration
directly.AdRequest.Builder
. Use AdRequest
directly.AdErrorEventArgs
. Use AdError
directly.AppOpenAd.Load
API that takes a ScreenOrientation
parameter.AdValueEventArgs
Obsolete. Use AdValue
directly.AdFailedToLoadEventArgs
Obsolete. Use LoadAdError
directly.CFPreferences
APIs for ApplicationPreferences
instead of NSUserDefaults
on iOS.NativeOverlayAd
class to fetch and display native ads using templates.Custom Main Gradle Template
under Publishing Settings
of the Player Settings
.ConsentInformation.Update()
is now required before interacting
with other ConsentInformation
public APIs. Before calling it, the following are returned:
ConsentStatus
returns ConsentStatus.Unknown
PrivacyOptionsRequirementStatus
returns
PrivacyOptionsRequirementStatus.Unknown
ConsentInformation.CanRequestAds
returns false
.LoadAndPresentIfRequired
to combine load and show calls.
This method is intended for the use case of showing a form if needed
when the app starts.ShowPrivacyOptionsForm
, to be called when users interact
with your app's privacy setting.CanRequestAds
property.PrivacyOptionsRequirementStatus
property to indicate whether
privacy options are required to be shown in this session.