Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

UMP shows twice: manual & auto before ads. Consent already obtained. How to prevent duplication?

73 views
Skip to first unread message

Gerasim Israyelyan

unread,
Nov 21, 2024, 5:33:06 AM11/21/24
to Google Mobile Ads SDK Developers
I am experiencing an issue with the User Messaging Platform (UMP) in my iOS app when integrating Google interstitial ads. Here’s a detailed description of the problem:
1. I manually present the UMP consent dialog to the user when the app launches.
2. The user provides consent, and I successfully obtain the UMP consent status.
3. Later, when attempting to display a Google interstitial ad, the SDK automatically presents the UMP consent dialog again, even though the consent status was already obtained earlier.

This results in a duplicate UMP consent prompt, which negatively impacts the user experience.

Here’s what I’ve confirmed:
• Consent status is already obtained (UMPConsentInformation.sharedInstance.consentStatus is not .unknown).
• Despite this, the Google SDK triggers the UMP consent dialog again before showing the interstitial ad.

Rj

unread,
Nov 28, 2024, 1:24:27 AM11/28/24
to Google Mobile Ads SDK Developers
It's unlikely that the sdk is doing this. You display consent form if consent is not already available, and before requesting ads, check if you have obtained consent from the user using UMPConsentInformation.sharedInstance.canRequestAds and if available, request ad, else, show consent form. It looks like somewhere in code you're showing consent form whenever an ad is requested irrespective of previous consent status

Mobile Ads SDK Forum Advisor

unread,
Nov 28, 2024, 9:25:21 AM11/28/24
to gerasimi...@nextstack.org, google-adm...@googlegroups.com

Hi,

Could you please attempt to run our Google sample project to replicate the issue and confirm the results? Kindly share below details to do further investigation privately:

  • app ID
  • ad unit ID
  • Mobile Ads SDK version
  • Steps to replicates the issue
  • Sample project which replicates the issue

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, kindly provide requested information to us via reply to author option or using the steps below:

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002vGmVOQA0&entry.80707362=00277088

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGmVO:ref" (ADR-00277088)

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5


 


Reply all
Reply to author
Forward
0 new messages