למטרות ניפוי באגים ורישום ביומן, מודעות שנפרסו בהצלחה מספקות אובייקט 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.
[[["התוכן קל להבנה","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"]],["עדכון אחרון: 2025-09-10 (שעון 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,[]]