-
Notifications
You must be signed in to change notification settings - Fork 207
Description
In the past we had to add this:
com.google.ads.mediation.pangle.PangleMediationAdapter.setGDPRConsent(
if (isUsingPersonalizedAds)
com.bytedance.sdk.openadsdk.api.PAGConstant.PAGGDPRConsentType.PAG_GDPR_CONSENT_TYPE_CONSENT
else com.bytedance.sdk.openadsdk.api.PAGConstant.PAGGDPRConsentType.PAG_GDPR_CONSENT_TYPE_NO_CONSENT)
com.google.ads.mediation.pangle.PangleMediationAdapter.setDoNotSell(
if (isDataShareAllowed)
com.bytedance.sdk.openadsdk.api.PAGConstant.PAGDoNotSellType.PAG_DO_NOT_SELL_TYPE_SELL
else com.bytedance.sdk.openadsdk.api.PAGConstant.PAGDoNotSellType.PAG_DO_NOT_SELL_TYPE_NOT_SELL
)
Now it's gone on 7.1.0.8.0. Nothing about GDPR and CCPA on the docs:
https://developers.google.com/admob/android/mediation/pangle
Looking at what's new, I can see this:
https://developers.google.com/admob/android/mediation/pangle#next-version
Next Version
Added adaptive banner style.
V71 SDK upgrade removes the CCPA flag. The CCPA flag is replaced by the new PA consent field in the current version
First of all, about banner ads, does it mean it supports all kinds of banner ads now?
As for CCPA, it's unclear how to handle it, and also of course for GDPR which isn't mentioned anywhere now.
I use UMP SDK by Google, so I wonder if now, finally, we get some help from Admob about passing the data automatically to the various ad-networks, or at least for Pangle in this case.
Looking at the code here of the Pangle adapter for Admob mediation, I see something weird about GDPR, but no handling of CCPA:
Line 93 in eb6c679
PAGConfig adConfig = |
// Pangle SDK is only initialized using a single App ID.
PAGConfig adConfig =
pangleFactory
.createPAGConfigBuilder()
.appId(appId)
.setAdxId(PangleConstants.ADX_ID)
.setGDPRConsent(PangleMediationAdapter.getGDPRConsent())
.setUserData(
String.format(
"[{\"name\":\"mediation\",\"value\":\"google\"},{\"name\":\"adapter_version\",\"value\":\"%s\"}]",
BuildConfig.ADAPTER_VERSION))
.build();
pangleSdkWrapper.init(context, adConfig, PangleInitializer.this);
On Pangle website, I can see they still have a function for CCPA ("setDoNotSell") :
https://www.pangleglobal.com/knowledge/android-initialize-pangle-sdk
Searching globally in the code, I see no mention of this function call.
What's going on?