Measurement را با Google Mobile Ads SDK باز کنید
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
Open Measurement یک استاندارد IAB است که به ناشران اجازه میدهد از ارائهدهندگان قابلیت مشاهده شخص ثالث برای تأیید نمایشها و اندازهگیریهای کلیک استفاده کنند. Google Mobile Ads SDK از Open Measurement با شروع نسخه 18.1.0 پشتیبانی می کند. این و نسخههای بعدی Google Mobile Ads SDK با Open Measurement (OM) SDK ادغام میشود تا اندازهگیری قابلیت مشاهده شخص ثالث را فعال کند.
Google Mobile Ads SDK از OM SDK نسخه 1.4 پشتیبانی می کند.
پیش نیازها
* Google Mobile Ads SDK 18.1.0 یا بالاتر.
اجرای Open Measurement
Google Mobile Ads SDK به طور خودکار Open Measurement را با استفاده از "Google" به عنوان نام شریک Open Measurement برای همه تبلیغات ارائه شده با استفاده از Google Mobile Ads SDK اجرا می کند.
برای استفاده از ارائهدهنده قابلیت مشاهده شخص ثالث، آن را در رابط کاربری AdMob پیکربندی کنید و موارد خط خود را برای استفاده از آن ارائهدهنده قابلیت مشاهده پیکربندی کنید. برای جزئیات بیشتر، پیکربندی ارائهدهنده قابلیت مشاهده برنامه تلفن همراه را ببینید.
اطمینان حاصل کنید که روکش های شفاف مانعی ندارند
برای اینکه یک تبلیغ مسدود شده تلقی نشود، نمایی که تبلیغ را پنهان می کند باید یکی از این تنظیمات را داشته باشد:
-
visibility = View.GONE
یا visibility = View.INVISIBLE
فرقی نمیکند که نمای مبهم پسزمینه شفافی داشته باشد، مقادیر آلفای و نمایان بودن نما چیزی است که تعیین میکند آیا نما تبلیغات شما را مسدود میکند یا خیر.
اگر Open Measurement SDK مانعی را بر روی تبلیغ تشخیص دهد، میتواند تأثیری بر اینکه ارائهدهنده قابلیت مشاهده، نمایش را قابل مشاهده میداند یا خیر. برای رفع این مشکل، آلفای نمای خود را روی 0
یا نمایان بودن را روی View.GONE
یا View.INVISIBLE
تنظیم کنید.
عیب یابی
هنگام اجرای Open Measurement به موارد زیر توجه داشته باشید:
باید با شریک میانجی چک کنید تا بدانید آیا آنها از Open Measurement برای تبلیغاتی که ارائه می دهند پشتیبانی می کنند یا خیر.
تبلیغاتی که با همپوشانی نماها پنهان می شوند ممکن است اندازه گیری قابلیت مشاهده را ثبت نکنند. برای اطلاعات بیشتر، به اطمینان حاصل کنید که پوششهای شفاف مانعی ندارند مراجعه کنید.
در دستگاههای آزمایشی ، از جمله شبیهساز Android، برچسب آگهی آزمایشی بهعنوان مانعی برای نمای آگهی تشخیص داده میشود.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eOpen Measurement is an IAB standard allowing publishers to use third-party verification for impressions and clicks, supported by the Google Mobile Ads SDK for Android (version 18.1.0 and later).\u003c/p\u003e\n"],["\u003cp\u003eThe Mobile Ads SDK integrates with the Open Measurement SDK (OM SDK) to enable third-party viewability measurements for Banner, Interstitial, Rewarded, and Native ad formats.\u003c/p\u003e\n"],["\u003cp\u003eEnsure any transparent overlays on top of ads have \u003ccode\u003ealpha = 0\u003c/code\u003e or \u003ccode\u003evisibility = View.GONE/INVISIBLE\u003c/code\u003e to avoid obstructing viewability measurements.\u003c/p\u003e\n"],["\u003cp\u003eOpen Measurement requires the Google Play Services SDK on devices and is not supported for AdMob campaigns; check with mediation partners for their support.\u003c/p\u003e\n"]]],["The Google Mobile Ads SDK, version 18.1.0 and later, supports Open Measurement (OM) using the OM SDK 1.4, enabling third-party viewability verification for impressions and clicks. To use this, configure your desired provider in the AdMob UI and set line items accordingly. Ensure overlaying views do not obstruct ads by setting their alpha to 0 or visibility to GONE/INVISIBLE. Note that AdMob campaigns and some mediation partners do not have OM support. The \"Test Ad\" label is not considered obstructing on test devices.\n"],null,["# Open Measurement with the Google Mobile Ads SDK\n\nOpen Measurement is an IAB standard that allows publishers to use third-party\nviewability providers to verify impressions and click measurements.\n\n\nGoogle Mobile Ads SDK\n\n\nsupports Open Measurement starting with version\n18.1.0. This and later versions of\n\nGoogle Mobile Ads SDK\n\n\nintegrates with the\n[Open Measurement (OM) SDK](https://iabtechlab.com/standards/open-measurement-sdk/)\nto enable third-party viewability measurement.\n\n\nGoogle Mobile Ads SDK\n\nsupports OM SDK version 1.4.\n\nPrerequisites\n-------------\n\n\\* Google Mobile Ads SDK 18.1.0 or higher.\n\n- Complete [Get started](/admob/android/quick-start).\n\nImplement Open Measurement\n--------------------------\n\n\nGoogle Mobile Ads SDK\n\nautomatically implements Open Measurement using\n**\"Google\"** as the Open Measurement partner name for all ads served using the\n\n\nGoogle Mobile Ads SDK\n\n.\n\nTo use a third-party viewability provider, configure it in the\nAdMob UI, and configure your line items to use that viewability\nprovider. For more details, see [Configure a mobile app viewability provider](//support.google.com/admanager/answer/9025968).\n\nEnsure that transparent overlays are non-obstructing\n----------------------------------------------------\n\nFor an ad to not be considered blocked, the view that is obscuring the ad must\nhave one of these settings:\n\n- `alpha = 0`, or,\n\n\u003c!-- --\u003e\n\n- `visibility = View.GONE` or `visibility = View.INVISIBLE`\n\nIt doesn't matter if the obscuring view has a transparent background, the\nview's alpha and visibility values are what determine whether the view is\nblocking your ad.\n\nIf the Open Measurement SDK detects an obstruction over the ad, it could impact\nwhether a viewability provider considers the impression viewable. To fix this,\nset your view's alpha to `0` or\n\nset the visibility to `View.GONE` or `View.INVISIBLE`.\n\n\nTroubleshooting\n---------------\n\nBe aware of the following when implementing Open Measurement:\n\n- No support for [AdMob campaigns](//support.google.com/admob/answer/6162747).\n\n\u003c!-- --\u003e\n\n- You must check with the mediation partner to learn if they support Open\n Measurement for ads they render.\n\n- Ads that are obscured by overlaying views might not register viewability\n measurements. For more information, refer to [Ensure that transparent overlays\n are non-obstructing](#obstructing).\n\n- On [test devices](/admob/android/test-ads#enable_test_devices), including the\n Android simulator, the **Test Ad** label is detected as non-obstructing\n to the ad view."]]