برای اهداف اشکال زدایی و ورود به سیستم، تبلیغات با موفقیت بارگذاری شده یک شی ResponseInfo ارائه می دهند. این شی حاوی اطلاعاتی در مورد تبلیغی است که بارگیری کرده است. هر کلاس فرمت آگهی دارای یک ویژگی responseInfo است که پس از بارگیری آن پر می شود.
ویژگی های ResponseInfo عبارتند از:
اموال
توضیحات
adapterResponses
فهرست AdapterResponseInfo حاوی فراداده برای هر آداپتور موجود در پاسخ آگهی. می توان از آن برای رفع اشکال میانجی گری آبشار و اجرای مناقصه استفاده کرد. ترتیب فهرست با ترتیب آبشار میانجی برای این درخواست آگهی مطابقت دارد.
AdapterResponseInfo مربوط به آداپتوری که آگهی را بارگیری کرده است، برمی گرداند.
mediationAdapterClassName
نام کلاس آداپتور میانجی شبکه تبلیغاتی را که آگهی را بارگیری کرده است، برمیگرداند.
responseId
شناسه پاسخ یک شناسه منحصر به فرد برای پاسخ آگهی است. از این شناسه می توان برای شناسایی و مسدود کردن آگهی در مرکز بررسی تبلیغات (ARC) استفاده کرد.
responseExtras
اطلاعات اضافی درباره پاسخ آگهی را برمی گرداند. موارد اضافی ممکن است کلیدهای زیر را برگردانند:
creative_id : شناسه خلاق آگهی انتخاب شده. فقط برای تبلیغات رزرو برگردانده شده است.
line_item_id : شناسه مورد خط آگهی انتخابی. فقط برای تبلیغات رزرو برگردانده شده است.
اطلاعات پاسخ آداپتور
AdapterResponseInfo حاوی ابرداده برای هر آداپتور موجود در پاسخ آگهی است که می تواند برای رفع اشکال واسطه آبشار و اجرای پیشنهاد استفاده شود. ترتیب لیست با ترتیب آبشار میانجی برای درخواست آگهی مطابقت دارد.
برای هر شبکه تبلیغاتی، AdapterResponseInfo ویژگی های زیر را ارائه می دهد:
اموال
توضیحات
adapterClassName
نام کلاسی که شبکه تبلیغاتی را مشخص می کند.
credentials
شرح رشته ای از اعتبار آداپتور مشخص شده در رابط کاربری Ad Manager.
adError
خطای مرتبط با درخواست به شبکه. اگر شبکه با موفقیت یک تبلیغ را بارگیری کند یا اگر شبکه تلاشی نکرده باشد، تهی است.
latencyMillis
مدت زمانی که شبکه تبلیغاتی صرف بارگذاری یک آگهی کرده است. 0 در صورت عدم تلاش برای شبکه.
description
یک نسخه رشته ای سازگار با لاگ AdapterResponseInfo.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe \u003ccode\u003eResponseInfo\u003c/code\u003e object, accessible via the \u003ccode\u003eresponseInfo\u003c/code\u003e property of ad format classes, provides valuable debugging and logging data for successfully loaded ads.\u003c/p\u003e\n"],["\u003cp\u003eThis object includes details such as the ad network that served the ad (\u003ccode\u003emediationAdapterClassName\u003c/code\u003e), a unique identifier for the ad response (\u003ccode\u003eresponseId\u003c/code\u003e), and extra information via \u003ccode\u003eresponseExtras\u003c/code\u003e (currently in beta).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eadapterResponses\u003c/code\u003e property contains a list of \u003ccode\u003eAdapterResponseInfo\u003c/code\u003e objects, offering insights into each adapter's performance in the mediation waterfall, including latency and errors.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAdapterResponseInfo\u003c/code\u003e provides detailed information about each ad network's attempt to load an ad, including latency, errors, and credentials used.\u003c/p\u003e\n"]]],["Successfully loaded ads provide a `ResponseInfo` object, accessible via the `responseInfo` property. This object includes details like `adapterResponses` (metadata for each ad adapter), `loadedAdapterResponseInfo` (adapter that loaded the ad), `mediationAdapterClassName` (ad network name), `responseId` (unique ad identifier), and `responseExtras` (extra info). `AdapterResponseInfo`, part of `adapterResponses`, provides per-network details such as `adapterClassName`, `credentials`, `adError`, `latencyMillis`, and a `description`.\n"],null,["# Retrieve Information about the Ad Response\n\nSelect platform: [Android](/ad-manager/mobile-ads-sdk/android/response-info \"View this page for the Android platform docs.\") [iOS](/ad-manager/mobile-ads-sdk/ios/response-info \"View this page for the iOS platform docs.\") [Unity](/ad-manager/mobile-ads-sdk/unity/response-info \"View this page for the Unity platform docs.\") [Flutter](/ad-manager/mobile-ads-sdk/flutter/response-info \"View this page for the Flutter platform docs.\")\n\n\u003cbr /\u003e\n\nFor debugging and logging purposes, successfully loaded ads provide a\n`ResponseInfo` object. This object contains information about the ad it loaded.\nEach ad format class has a property `responseInfo` which is populated after\nit loads.\n\nProperties on the `ResponseInfo` include:\n\n| Property | Description |\n|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `adapterResponses` | The list of `AdapterResponseInfo` containing metadata for each adapter included in the ad response. Can be used to debug the waterfall mediation and bidding execution. The order of the list matches the order of the mediation waterfall for this ad request. See [Adapter Response Info](#adapter_response_info) for more information. |\n| `loadedAdapterResponseInfo` | Returns the `AdapterResponseInfo` corresponding to the adapter that loaded the ad. |\n| `mediationAdapterClassName` | Returns the mediation adapter class name of the ad network that loaded the ad. |\n| `responseId` | The response identifier is a unique identifier for the ad response. This identifier can be used to identify and block the ad in the [Ads Review Center (ARC)](//support.google.com/admanager/topic/4581206). |\n| `responseExtras` | | **Beta:** This API is in beta. Returned values can change without an SDK release. Returns extra information about the ad response. Extras may return the following keys: - `creative_id`: The creative ID of the selected ad. Returned for reservation ads only. - `line_item_id`: The line item ID of the selected ad. Returned for reservation ads only. |\n\nAdapter Response Info\n---------------------\n\n`AdapterResponseInfo` contains metadata for each adapter included in the ad\nresponse which can be used to debug the waterfall mediation and bidding\nexecution. The order of the list matches the order of the mediation waterfall\nfor the ad request.\n\nFor each ad network, `AdapterResponseInfo` provides the following\nproperties:\n\n| Property | Description |\n|--------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| `adapterClassName` | A class name that identifies the ad network. |\n| `credentials` | A string description of adapter credentials specified in the Ad Manager UI. |\n| `adError` | Error associated with the request to the network. Null if the network successfully loaded an ad or if the network was not attempted. |\n| `latencyMillis` | Amount of time the ad network spent loading an ad. `0` if the network was not attempted. |\n| `description` | A log friendly string version of the AdapterResponseInfo. |"]]