<Google> To get test ads on this device, set:
GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers =
@[ @"2077ef9a63d2b398840261c8221a0c9b" ];
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-21。"],[[["This guide explains how to display test ads during development to avoid invalid activity flags on your AdMob account."],["You can receive test ads using Google-provided demo ad units or by enabling test mode for your own ad units."],["When using demo ad units, remember to replace them with your own ad unit IDs before publishing your app."],["To enable test mode, add your device as a test device either through the AdMob UI or programmatically using the provided code snippet."],["Ensure test mode is enabled for your mediation networks to prevent invalid activity concerns when testing with mediation."]]],["To test ads, use Google's demo ad units or enable test mode with your own units. Demo units avoid account issues and offer specific IDs for various ad formats, but must be replaced before publishing. Test mode, which is necessary for mediation testing, allows production-like ads by either adding a device via the AdMob UI or programmatically, setting a device ID. Test ads show a \"Test mode\" label; mediated ads do not, requiring individual network test mode configurations to prevent invalid activity.\n"]]