iOS) Is there a way to change the GADApplicationIdentifier value at runtime?

27 views
Skip to first unread message

Myoungkyu Shin

unread,
Aug 14, 2025, 6:11:43 PM8/14/25
to Google Mobile Ads SDK Developers

Hello, team,

We are currently reviewing whether it is possible to use multiple GADApplicationIdentifiers in a single app.

By default, the GADApplicationIdentifier is set in the info.plist file.
I am wondering if it is possible to change this value at runtime, as shown in the example below.

[Example]
App IDs

  • App ID: TestA
  • App ID: TestB
  • App ID: TestC

Scenario

  • info.plist > GADApplicationIdentifier is set to TestA
  • Is it possible to change GADApplicationIdentifier to TestB or TestC at runtime (while the app is running)?

Thank you.

Mobile Ads SDK Forum Advisor

unread,
Aug 18, 2025, 3:36:22 AM8/18/25
to ikaru...@gmail.com, google-adm...@googlegroups.com

Hi,
Thank you for contacting the GMA SDK Support team.

Please find the answers to your questions below:

 Q: Is it possible to use multiple GADApplicationIdentifier values in a single app?
A: No, it's not possible. The SDK only supports one GADApplicationIdentifier per app.

Q: Can the GADApplicationIdentifier be changed at runtime (while the app is running)?
A: No, it is not supported to change the GADApplicationIdentifier at runtime. The SDK reads the App ID once during app launch from the Info.plist file.

Q: Can I switch from one App ID (e.g., TestA) to another (e.g., TestB or TestC) after the app has launched?
A: No, switching App IDs during runtime is not supported. Only the App ID defined in Info.plist at launch will be used by the SDK.


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-08-18 07:35:31Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01szDLc:ref" (ADR-00330020)



Reply all
Reply to author
Forward
0 new messages