René's URL Explorer Experiment


Title: Question: How can I use this library for GDPR&CCPA requirements of ad-networks sources for Admob mediation? · Issue #70 · IABTechLab/iabgpp-java · GitHub

Open Graph Title: Question: How can I use this library for GDPR&CCPA requirements of ad-networks sources for Admob mediation? · Issue #70 · IABTechLab/iabgpp-java

X Title: Question: How can I use this library for GDPR&CCPA requirements of ad-networks sources for Admob mediation? · Issue #70 · IABTechLab/iabgpp-java

Description: I use Admob mediation with various ad-networks as sources for it for my Android apps, as listed here. I also use UMP SDK by Google (here), to help to handle GDPR&CCPA regulations. For Admob it's quite easy as they handle things themselve...

Open Graph Description: I use Admob mediation with various ad-networks as sources for it for my Android apps, as listed here. I also use UMP SDK by Google (here), to help to handle GDPR&CCPA regulations. For Admob it's qu...

X Description: I use Admob mediation with various ad-networks as sources for it for my Android apps, as listed here. I also use UMP SDK by Google (here), to help to handle GDPR&CCPA regulations. For Admob it&...

Opengraph URL: https://github.com/IABTechLab/iabgpp-java/issues/70

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Question: How can I use this library for GDPR&CCPA requirements of ad-networks sources for Admob mediation?","articleBody":"I use Admob mediation with various ad-networks as sources for it for my Android apps, as listed [here](https://developers.google.com/admob/android/choose-networks).\n\nI also use UMP SDK by Google ([here](https://developers.google.com/admob/android/privacy)), to help to handle GDPR&CCPA regulations. For Admob it's quite easy as they handle things themselves, though there are some useful functions that could be nice to have even for them, such as for the purpose Analytics, to check how many devices are under GDPR regulations, and how many users (in percentage) have accepted all in the dialog and/or enough for Google Admob alone.\n\nThing is, many of the other ad-networks mention they need GDPR&CCPA data to be passed to them in the form of a single boolean.\nSome of them say they already automatically fetch the data anyway, but it's not the case for most.\nI've tried to talk with the ad-networks support, and they just tell me I need to provide them booleans, but I don't have any boolean. I have various key-value mappings from the SharedPreferences, and a poor docs about them and no API for them to produce the booleans they want.\n\nBecause of how complex this is, there are questions about it (such as [here](https://stackoverflow.com/a/68310602/878126)) and even a repository about it ([here](https://github.com/bocops/UMP-workarounds)), but still things are harder to understand about how to handle it per ad-network. Even the simple dialog of CCPA that has just 2 options to choose from seems to create a weird string that it might not be reliable to just compare.\nI've asked Google to help about it, and they mentioned the current repository.\n\nBut things here seems to still stay unclear to me, as they don't produce booleans (at least what I've seen), aren't mentioning ad-networks, and I also don't see the CCPA being mentioned.\n\nEven the easiest, most basic thing to check , if the device is under GDPR regulations - is missing:\n\n```\nval isGdpr = sharedPrefs.getInt(\"IABTCF_gdprApplies\", 0) == 1\n```\n\nI was also told that maybe when an ad-network is on the list of ad-vendors ([here](https://iabeurope.eu/vendor-list-tcf/) or [here](https://www.uniconsent.com/iab-tcf-vendor-list)), I can change the value of \"755\" that's of Admob to the value found there, but still I should check if it's ok. I was also not told how to handle those that aren't on the lists. \n\nAnother things I've noticed is that some ad-networks said that I can just add them to the list of \"[custom ad partners](https://admob.google.com/v2/privacymessaging/gdpr/settings)\", and that would be enough...\n\nI tried to ask about it on StackOverflow too ([here](https://stackoverflow.com/q/79371638/878126)), but still no clear answer for GDPR and not even for CCPA parsing.\n\nAbout CCPA parsing, I also tried to ask on the repository I've mentioned ([here](https://github.com/bocops/UMP-workarounds/issues/14#issuecomment-2736070175)), and was told that while Google might suggest it's ok for now to compare the strings, it's better to parse them properly.\n\n\nSo, my question is:\n\nIs it possible to use this library to help with parsing GDPR&CCPA data out of the UMP SharedPreferences values?\nIf so, can you please update the docs&API to tell how to use for this purpose, or let me know how?\nGiven any ad-network from the list of supported ones by Admob's website, I \n\nIdeally, these are the functions that I would want to know how to produce :\n\n1. getRegulationType - returns a value of : unknown yet, default, GDPR, CCPA . So far I think I know how to check if it's GDPR or not.\n2. canShowPersonalizedAds(adNetwork) - returns a nullable boolean that we can pass to the ad-network, for GDPR result. If null, the value is still unknown as the data isn't available yet. So far I think it should work for Admob, and maybe could handle some others, but still unsure.\n3. isDataShareAllowed - returns a nullable boolean that we can pass to the ad-network, for CCPA result. If null, the value is still unknown as the data isn't available yet. So far the strings I've found seem to be the only ones that are produced, but it's not a good way to fetch the boolean out of them...","author":{"url":"https://github.com/AndroidDeveloperLB","@type":"Person","name":"AndroidDeveloperLB"},"datePublished":"2025-03-19T13:08:53Z","url":"https://github.com/IABTechLab/iabgpp-java/issues/70"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:67a39079-1ad4-b128-9da0-e097740e0d7b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC77E:1F253B:197A8C:223A63:6AF64DC1
html-safe-noncef850c37227a9168150bf64d09cb8f06ba2ccc9e625fc294fee62a94a98c572f4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzdFOjFGMjUzQjoxOTdBOEM6MjIzQTYzOjZBRjY0REMxIiwidmlzaXRvcl9pZCI6IjIxNzY2NzU3NTY1MjY0MjM0ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacebf7c21b9c77eaa646cc8036e3e74c0c4edb06df702fe3006af12f651acfad14
hovercard-subject-tagissue:2931735777
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IABTechLab/iabgpp-java/70/issue_layout
twitter:imagehttps://opengraph.githubassets.com/08fbf1585b074ac88cb129a7c1669f6606a8e27fd123554fef386dc6eedbcb47/IABTechLab/iabgpp-java/issues/70
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/08fbf1585b074ac88cb129a7c1669f6606a8e27fd123554fef386dc6eedbcb47/IABTechLab/iabgpp-java/issues/70
og:image:altI use Admob mediation with various ad-networks as sources for it for my Android apps, as listed here. I also use UMP SDK by Google (here), to help to handle GDPR&CCPA regulations. For Admob it's qu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAndroidDeveloperLB
hostnamegithub.com
expected-hostnamegithub.com
Nonef08f841c97bca81898b33b24705801fbf36c27aa3a76d422631761ce578f7b63
turbo-cache-controlno-preview
go-importgithub.com/IABTechLab/iabgpp-java git https://github.com/IABTechLab/iabgpp-java.git
octolytics-dimension-user_id82903538
octolytics-dimension-user_loginIABTechLab
octolytics-dimension-repository_id538620496
octolytics-dimension-repository_nwoIABTechLab/iabgpp-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id538620496
octolytics-dimension-repository_network_root_nwoIABTechLab/iabgpp-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb946aa396e8129468b84468b6046f18d957f446c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IABTechLab/iabgpp-java/issues/70#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIABTechLab%2Fiabgpp-java%2Fissues%2F70
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIABTechLab%2Fiabgpp-java%2Fissues%2F70
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=IABTechLab%2Fiabgpp-java
Reloadhttps://github.com/IABTechLab/iabgpp-java/issues/70
Reloadhttps://github.com/IABTechLab/iabgpp-java/issues/70
Reloadhttps://github.com/IABTechLab/iabgpp-java/issues/70
IABTechLabhttps://github.com/IABTechLab
iabgpp-javahttps://github.com/IABTechLab/iabgpp-java
Codehttps://github.com/IABTechLab/iabgpp-java
Issues13 (13)https://github.com/IABTechLab/iabgpp-java/issues
Pull requests4 (4)https://github.com/IABTechLab/iabgpp-java/pulls
Actionshttps://github.com/IABTechLab/iabgpp-java/actions
Projectshttps://github.com/IABTechLab/iabgpp-java/projects
Security and qualityhttps://github.com/IABTechLab/iabgpp-java/security
Insightshttps://github.com/IABTechLab/iabgpp-java/pulse
https://github.com/IABTechLab/iabgpp-java
New issuehttps://github.com/login?return_to=https://github.com/IABTechLab/iabgpp-java/issues/70
New issuehttps://github.com/login?return_to=https://github.com/IABTechLab/iabgpp-java/issues/70
Question: How can I use this library for GDPR&CCPA requirements of ad-networks sources for Admob mediation?https://github.com/IABTechLab/iabgpp-java/issues/70#top
https://github.com/AndroidDeveloperLB
AndroidDeveloperLBhttps://github.com/AndroidDeveloperLB
on Mar 19, 2025https://github.com/IABTechLab/iabgpp-java/issues/70#issue-2931735777
herehttps://developers.google.com/admob/android/choose-networks
herehttps://developers.google.com/admob/android/privacy
herehttps://stackoverflow.com/a/68310602/878126
herehttps://github.com/bocops/UMP-workarounds
herehttps://iabeurope.eu/vendor-list-tcf/
herehttps://www.uniconsent.com/iab-tcf-vendor-list
custom ad partnershttps://admob.google.com/v2/privacymessaging/gdpr/settings
herehttps://stackoverflow.com/q/79371638/878126
herehttps://github.com/bocops/UMP-workarounds/issues/14#issuecomment-2736070175
Sign up for freehttps://github.com/signup?return_to=https://github.com/IABTechLab/iabgpp-java/issues/70
Sign in to commenthttps://github.com/login?return_to=https://github.com/IABTechLab/iabgpp-java/issues/70
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.