Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem not showing test ads in test devices #86

Open
wantroba opened this issue Jan 26, 2024 · 2 comments
Open

Problem not showing test ads in test devices #86

wantroba opened this issue Jan 26, 2024 · 2 comments

Comments

@wantroba
Copy link

When I launch EasyAds without setting admobConfiguration only test ads are displayed on my test devices, as expected.

The problem is when I need to configure set admobConfiguration to not show ads to minors as below:

admobConfiguration: RequestConfiguration(
tagForChildDirectedTreatment: 1,
tagForUnderAgeOfConsent: 1,
testDeviceIds: [
...
]
),

in this case real ads are displayed on my test devices. I've already tried without setting testDeviceIds and I kept getting real ads.

@wantroba
Copy link
Author

in testDeviceIds I put the ids that are registered in the ambobs settings

@wantroba
Copy link
Author

I discovered that I cannot use the ids that are saved in the admobs settings (https://apps.admob.com/v2/settings/test-devices/list) and that I need to get the id from the log. The problem is: how can I avoid displaying real ads on devices where I only know the advertising/ifda ID?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant