Google admob not working for specific bundle identifier iOS

I'm integrating AdMob rewarded interstitial ads into my live iOS app using CocoaPods and package dependency management. The ads are working fine when I use the bundle identifier com.CreativeCub.ProgrammingHu, but when I use the correct identifier com.CreativeCub.ProgrammingHub, the ads stop working.

Here’s what I’ve tried:

  • Verified that the bundle identifier matches across Xcode and AdMob.
  • Double-checked the App ID and Ad Unit ID in the AdMob dashboard for com.CreativeCub.ProgrammingHub.
  • Reinstalled the AdMob SDK using CocoaPods.
  • Attempted to integrate AdMob using Swift Package Manager.
  • Created a test project to rule out potential issues with my existing project.
  • Despite these steps, ads only work when I use the shortened bundle identifier (com.CreativeCub.ProgrammingHu), which is not the correct one.
  • Contacted Google admob support for the same but did not worked
  • Tried running in different MacBook system
Answered by DTS Engineer in 812852022

Apple has document limits on what can go into a bundle ID, and both of your examples look valid to me. It’s possible that someone else might chime in but, if not, my advice is that you escalate this via the support channel for the third-party library you’re using.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Apple has document limits on what can go into a bundle ID, and both of your examples look valid to me. It’s possible that someone else might chime in but, if not, my advice is that you escalate this via the support channel for the third-party library you’re using.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Google admob not working for specific bundle identifier iOS
 
 
Q