Untuk mendiskusikan dan memberikan masukan tentang produk kami, bergabunglah ke channel Discord AdMob resmi di server Komunitas Iklan dan Pengukuran Google.
Untuk tujuan logging dan proses debug, iklan yang berhasil dimuat menyediakan objek
ResponseInfo. Objek ini berisi informasi tentang iklan yang dimuatnya.
Setiap class format iklan memiliki properti responseInfo yang diisi setelah dimuat.
Properti di ResponseInfo meliputi:
Properti
Deskripsi
adapterResponses
Daftar AdapterResponseInfo yang berisi metadata untuk
setiap adaptor yang disertakan dalam respons iklan. Dapat digunakan untuk men-debug
mediasi waterfall dan eksekusi bidding. Urutan daftar cocok dengan urutan waterfall mediasi untuk permintaan iklan ini.
mediation_ab_test_variant: Varian yang digunakan dalam
pengujian A/B mediasi, jika ada
Info Respons Adaptor
AdapterResponseInfo berisi metadata untuk setiap adaptor yang disertakan dalam respons
iklan yang dapat digunakan untuk men-debug eksekusi bidding dan mediasi waterfall. Urutan daftar cocok dengan urutan waterfall mediasi
untuk permintaan iklan.
Untuk setiap jaringan iklan, AdapterResponseInfo menyediakan properti berikut:
Properti
Deskripsi
adapterClassName
Nama class yang mengidentifikasi jaringan iklan.
credentials
Deskripsi string kredensial adaptor yang ditentukan di
UI AdMob.
adError
Error yang terkait dengan permintaan ke jaringan. Null jika jaringan
berhasil memuat iklan atau jika jaringan tidak dicoba.
latencyMillis
Jumlah waktu yang dihabiskan jaringan iklan untuk memuat iklan. 0 jika
jaringan tidak dicoba.
description
Versi string yang kompatibel dengan log dari AdapterResponseInfo.
[null,null,["Terakhir diperbarui pada 2025-09-05 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. |"]]