-
Notifications
You must be signed in to change notification settings - Fork 47
Error: consent form can be used with custom provider selection only. #7
Comments
I had the same behavior when I used a "commonly used set of ad-tech providers" in Admob -> Blocking Controls -> EU Consent. You need to select "Custom set of ad technology providers" and choose less than 12 ad providers to use Google's consent SDK. Note that it takes some time to apply this setting. |
Thanks Dymtro. I see a list of over 600 ad technology providers to choose from. The "commonly used providers" has 200. I've no idea which 12 to choose! |
@hacknicity here is my list of the 12 selected hope it helps :) | Google | | https://www.google.com/policies/technologies/partner-sites/ |
@alrocha have you tried just to wait a few hours after making a change? |
@dmytro-me yes, doesn't work since last Friday, when I added the SDK 😢 |
Thanks @dmytro-me and @alrocha for more comments. I've given up! I have a few indie apps that show AdMob ads but make very little money. They're basically hobby projects. Ad revenue has been even worse the last few months. It would be pretty tricky for me to get consent before showing ads and handle the UX around the different choices. I really can't justify the time and effort for the small amount of ad revenue they make. So I just decided to remove ads completely! Some of the apps that had an in-app purchase to remove ads now have an in-app purchase to unlock some features (and people who bought the old iAP get the extra features too). Took me a few days, but I still think it's the better choice for me and my apps. Good luck everyone. Hopefully they'll be some nice Medium article or Ray Wenderlich tutorial on how to use the consent API soon ;-) |
Yeah is becoming a bit messy lately, tbh I am not adding ads to earn money, is more integrate the SDK and play around, but yeah... makes much more sense add features to the apps and earn money with that. Cheers and thanks u2! |
LOL after a big headache, I just got an email that my account is verified (from Friday, the day that I created it) so took 4 days to verify it... |
Closing issue as it is expected behavior that the Google-rendered consent form is compatible with at most 12 ad technology providers. |
When I try and present the
PACConsentForm
I get called back with an error:This seems to be coming from this code in
consentform.html
:Debugging a little I tracked down code in
PACView.m
which is calling the Javascript in the web view:The
mutableFormInformation
contains a lot of JSON. Xcode's debugger output isn't quite valid JSON (lots of things are escaped with backslashes), but I was able to see this using an online JSON formatter:The
ad_network_ids
array has a single element. My AdMobad_network_id
is obscured in this screenshot. Thepublisher_consent_type
is1
, causing thevalidateRawResponse
to throw the error because "All ad networks must have publisher_consent_type2
"The text was updated successfully, but these errors were encountered: