رندر سفارشی به شما امکان می دهد یک مکان تبلیغاتی طراحی کنید که با سبک برنامه شما مطابقت داشته باشد. در حالی که این انعطافپذیری زیادی را فراهم میکند، مهم است که مطمئن شوید مکانهای شما با خطمشیهای Ad Manager مطابقت دارند.
Native Validator یک ویژگی جدید است که به شما کمک میکند تا قبل از ارسال برنامه، تخلفات خطمشی را تشخیص دهید. به طور خودکار برخی موارد نقض خط مشی را در برنامه شما شناسایی می کند و از طریق رابط کاربری برنامه به شما اطلاع می دهد.
Native Validator به طور پیشفرض برای تبلیغات آزمایشی فعال است، اما میتوان آن را مطابق شکل زیر غیرفعال کرد. با این حال، به خاطر داشته باشید که وقتی اعتبارسنجی غیرفعال شود، تبلیغات آزمایشی دیگر اطلاعاتی درباره مشکلات احتمالی طرحبندی تبلیغات شما نشان نمیدهند.
پیش نیازها
Google Mobile Ads SDK 7.68.0 یا بالاتر.
مطمئن شوید که دستگاه شما به عنوان یک دستگاه آزمایشی پیکربندی شده است.
با استفاده از Native Validator
Native Validator بهطور خودکار از طریق یک پنجره بازشوی همپوشانی در کنار آگهی، شما را از برخی موارد نقض خطمشی در UI خود آگاه میکند.
با کلیک بر روی «مشاهده مسائل» به فهرستی تمام صفحه از نقض خطمشی مربوطه میروید.
غیرفعال کردن اعتبارسنجی
برای غیرفعال کردن Native Validator، GADNativeAdValidatorEnabled = false را به Info.plist خود اضافه کنید.
تاریخ آخرین بهروزرسانی 2025-08-27 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-27 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eCustom rendering allows for flexible ad placement design but must adhere to Ad Manager policies.\u003c/p\u003e\n"],["\u003cp\u003eNative Validator, enabled by default for test ads, automatically detects policy violations and provides feedback through the app's UI.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Mobile Ads SDK 7.68.0 or higher and a configured test device are prerequisites for using Native Validator.\u003c/p\u003e\n"],["\u003cp\u003eNative Validator can be disabled by setting \u003ccode\u003eGADNativeAdValidatorEnabled\u003c/code\u003e to \u003ccode\u003efalse\u003c/code\u003e in the \u003ccode\u003eInfo.plist\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Native Validator\n\nSelect platform: [Android](/ad-manager/mobile-ads-sdk/android/native/validator \"View this page for the Android platform docs.\") [iOS](/ad-manager/mobile-ads-sdk/ios/native/validator \"View this page for the iOS platform docs.\")\n\n\u003cbr /\u003e\n\nCustom rendering lets you design an ad placement that matches the style of your app. While this provides a lot of flexibility, it's important to ensure your placements remain compliant with Ad Manager policies.\n\n\u003cbr /\u003e\n\nNative Validator is a new feature to help you catch policy violations before\nyour app ships. It automatically identifies certain policy violations in your\napp and notifies you through the app's UI.\n| **Key Point:** Native Validator will appear only on test ads. Live ad requests will never show Native Validator.\n\nNative Validator is enabled by default for test ads, but can be disabled as\nshown below. Keep in mind however that once the validator is disabled, test ads\nwill no longer show information about potential issues with your ad layouts.\n\nPrerequisites\n-------------\n\n- Google Mobile Ads SDK 7.68.0 or higher.\n\n\u003c!-- --\u003e\n\n- Ensure your device is configured as a [test\n device](/ad-manager/mobile-ads-sdk/ios/test-ads#enable_test_devices).\n\nUsing Native Validator\n----------------------\n\nNative Validator automatically alerts you of certain policy violations in your\nUI through an overlay popup next to the ad.\n\nClicking on **See Issues** takes you to a fullscreen list of the relevant policy\nviolations.\n\nDisabling the validator\n-----------------------\n\nTo disable Native Validator, add `GADNativeAdValidatorEnabled = false` to your\n`Info.plist`. \n\n \u003ckey\u003eGADNativeAdValidatorEnabled\u003c/key\u003e\n \u003cfalse/\u003e\n\nOr, edit it in the property list editor:"]]