[[["易于理解","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-09-10。"],[[["\u003cp\u003eThis guide helps you enable test ads in your app during development to avoid impacting campaign stats and accidental charges.\u003c/p\u003e\n"],["\u003cp\u003eYou can use Google-provided demo ad units or configure your own device as a test device for more realistic testing scenarios.\u003c/p\u003e\n"],["\u003cp\u003eWhen using your own ad units, register your device programmatically for testing and remember to remove this configuration before releasing your app.\u003c/p\u003e\n"],["\u003cp\u003eTest ads are clearly labeled, ensuring clicks won't affect your reports; however, mediated ads might not have this label, requiring extra caution.\u003c/p\u003e\n"],["\u003cp\u003eFor mediation testing, enable test ads for each network individually and refer to their respective guides to ensure accurate results and prevent invalid activity flags.\u003c/p\u003e\n"]]],["To enable test ads, use Google-provided demo ad units during development, replacing them with your own before publishing. For more rigorous testing, configure devices as test devices. Programmatically, add devices by retrieving the device ID from logcat, then use `RequestConfiguration.Builder.setTestDeviceIds()` to register it. Test ads will have a \"Test Ad\" label. For mediation, use test devices, as mediated ads lack the label; consult each network's guide and use `getMediationAdapterClassName()` to identify the serving network.\n"],null,[]]