למטרות ניפוי באגים ורישום ביומן, מודעות שנפרסו בהצלחה מספקות אובייקט ResponseInfo. האובייקט הזה מכיל מידע על המודעה שהוא טען.
לכל מחלקה של פורמט מודעה יש מאפיין responseInfo שאוכלס אחרי הטעינה שלו.
המאפיינים ב-ResponseInfo כוללים:
נכס
תיאור
adapterResponses
רשימת AdapterResponseInfo שמכילה מטא-נתונים של כל מתאם שכלול בתגובה לבקשת המודעה. אפשר להשתמש בה כדי לנפות באגים בביצוע של בידינג ושל Waterfall Mediation. הסדר ברשימה תואם לסדר של רשימת הרשתות בתהליך בחירת הרשת עבור הבקשה הזו להצגת מודעה.
מחזירה את AdapterResponseInfo שמתאים לאדפטר
שטען את המודעה.
mediationAdapterClassName
מחזירה את שם המחלקה של מתאם ה-Mediation של רשת המודעות שטענה את המודעה.
responseId
מזהה התגובה הוא מזהה ייחודי של התגובה לבקשת המודעה. אפשר להשתמש במזהה הזה כדי לזהות ולחסום את המודעה במרכז בקרת המודעות.
responseExtras
מחזירה מידע נוסף על תגובת המודעה. התוספות עשויות להחזיר את המפתחות הבאים:
creative_id: מזהה הקריאייטיב של המודעה שנבחרה. הערך מוחזר
למודעות בהזמנה בלבד.
line_item_id: מזהה פריט אחד של המודעה שנבחרה.
הערך הזה מוחזר רק למודעות בהזמנה.
פרטי התגובה של המתאם
AdapterResponseInfo מכיל מטא-נתונים לכל מתאם שכלול בתגובה לבקשת המודעה. אפשר להשתמש במטא-נתונים האלה כדי לנפות באגים בתהליך בחירת הרשת ובבידינג. הסדר של הרשימה תואם לסדר של רשימת הרשתות בתהליך בחירת הרשת עבור הבקשה להצגת מודעה.
לכל רשת מודעות, AdapterResponseInfo מספק את המאפיינים הבאים:
נכס
תיאור
adapterClassName
שם מחלקה שמזהה את רשת המודעות.
credentials
תיאור מחרוזת של פרטי הכניסה של המתאם שצוינו בממשק המשתמש של Ad Manager.
adError
שגיאה שמשויכת לבקשה לרשת. Null אם הרשת טענה מודעה בהצלחה או אם לא נעשה ניסיון לטעון מודעה מהרשת.
latencyMillis
משך הזמן שרשת המודעות השקיעה בטעינת מודעה. 0 אם לא נעשה ניסיון להתחבר לרשת.
description
גרסת מחרוזת ידידותית ליומן של AdapterResponseInfo.
[null,null,["עדכון אחרון: 2025-08-31 (שעון UTC)."],[[["\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. |"]]