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

[Android&iOS] - Ads not showing up due to same correlator id #134

Open
gladiuscode opened this issue Jul 18, 2024 · 0 comments
Open

[Android&iOS] - Ads not showing up due to same correlator id #134

gladiuscode opened this issue Jul 18, 2024 · 0 comments

Comments

@gladiuscode
Copy link
Contributor

Hi!

We're experiencing troubles with ads, basically if we instantiate a new banner in the same screen, we see an ad only for the first instance, the others one throw the same error: Request Error: No Ad to show.

Through the official google documentation we discovered that the correlator value plays a key role in displaying ads. If we supply the same value, then the campaign doesn't return the ad since it has already served it.

In the library code we can see that you check the adUnitId and supply a custom correlator value if the adUnitId isn't already registered. If we comment out the check and let it generate a new correlator value, then we always see an ad being shown for every banner instance.

Why do we need this check on the correlator? What happens if we set a new value for each instance?

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