Для отладки и ведения журнала успешно загруженные объявления предоставляют объект ResponseInfo . Этот объект содержит информацию о загруженном объявлении. Каждый класс формата объявления имеет свойство responseInfo , которое заполняется после загрузки.
Свойства ResponseInfo включают:
Свойство
Описание
adapterResponses
Список AdapterResponseInfo , содержащий метаданные для каждого адаптера, включённого в ответ на объявление. Может использоваться для отладки каскадной медиации и выполнения торгов. Порядок в списке соответствует порядку каскада медиации для данного запроса объявления.
Возвращает имя класса адаптера-посредника рекламной сети, загрузившей объявление.
responseId
Идентификатор ответа — это уникальный идентификатор ответа на объявление. Этот идентификатор можно использовать для идентификации и блокировки объявления в Центре просмотра объявлений (ARC) .
responseExtras
Возвращает дополнительную информацию об отклике на объявление. Дополнительные данные могут возвращать следующие ключи:
mediation_group_name : Название группы посредничества
mediation_ab_test_variant : вариант, используемый в тесте A/B посредничества, если применимо
Информация об ответе адаптера
AdapterResponseInfo содержит метаданные для каждого адаптера, включённого в ответ на объявление, которые можно использовать для отладки каскадной медиации и выполнения торгов. Порядок в списке соответствует порядку каскада медиации для запроса объявления.
Для каждой рекламной сети AdapterResponseInfo предоставляет следующие свойства:
Свойство
Описание
adapterClassName
Имя класса, идентифицирующее рекламную сеть.
credentials
Строковое описание учетных данных адаптера, указанных в пользовательском интерфейсе AdMob.
adError
Ошибка, связанная с запросом к сети. Возвращает значение NULL, если сеть успешно загрузила объявление или если попытка загрузки не была предпринята.
latencyMillis
Количество времени, потраченное рекламной сетью на загрузку объявления. 0 , если сеть не пыталась загрузить объявление.
description
Лог-дружественная строковая версия AdapterResponseInfo.
[null,null,["Последнее обновление: 2025-09-03 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eResponseInfo\u003c/code\u003e object, accessible via the \u003ccode\u003eresponseInfo\u003c/code\u003e property of ad format classes, provides debugging and logging data for successfully loaded ads.\u003c/p\u003e\n"],["\u003cp\u003eThis object includes details such as adapter responses, the loading adapter, mediation information, a unique response ID, and optional response extras.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAdapterResponseInfo\u003c/code\u003e objects within \u003ccode\u003eResponseInfo\u003c/code\u003e offer insights into each adapter's performance in the mediation waterfall, including latency, errors, and credentials.\u003c/p\u003e\n"],["\u003cp\u003eThese objects are crucial for understanding ad loading behavior and diagnosing issues in the ad serving process.\u003c/p\u003e\n"]]],[],null,["Select platform: [Android](/admob/android/response-info \"View this page for the Android platform docs.\") [iOS](/admob/ios/response-info \"View this page for the iOS platform docs.\") [Unity](/admob/unity/response-info \"View this page for the Unity platform docs.\") [Flutter](/admob/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/admob/answer/3480906). |\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: - `mediation_group_name`: The name of the mediation group - `mediation_ab_test_name`: The name of the [mediation A/B test](//support.google.com/admob/answer/9572326), if applicable - `mediation_ab_test_variant`: The variant used in the mediation A/B test, if applicable |\n\nAdapter Response Info\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 AdMob 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. |"]]