اطلاعات پاسخ

public final class ResponseInfo


اطلاعات مربوط به پاسخ به یک تبلیغ.

خلاصه

زمینه‌های عمومی

final List < AdapterResponseInfo >

روش‌های عمومی

@ NonNull List < AdapterResponseInfo >

Returns the list of AdapterResponseInfo containing metadata for each adapter included in the ad response.

@ Nullable AdapterResponseInfo

Returns the AdapterResponseInfo corresponding to the adapter that was used to load the ad.

@ Nullable String

Returns the mediation adapter class name of the ad network that loaded the ad.

Bundle

اطلاعات اضافی در مورد پاسخ تبلیغ را برمی‌گرداند.

@ Nullable String

شناسه پاسخ برای تبلیغ بارگذاری شده را برمی‌گرداند.

String

یک نسخه رشته‌ایِ سازگار با گزارش (log) از این شیء را برمی‌گرداند.

زمینه‌های عمومی

پاسخ‌های آداپتور

public final List<AdapterResponseInfoadapterResponses

روش‌های عمومی

دریافت پاسخ‌های آداپتور

public @NonNull List<AdapterResponseInfogetAdapterResponses()

Returns the list of AdapterResponseInfo containing metadata for each adapter included in the ad response. Can be used to debug the mediation waterfall execution.

اطلاعات پاسخ آداپتور دریافت‌شده

public @Nullable AdapterResponseInfo getLoadedAdapterResponseInfo()

Returns the AdapterResponseInfo corresponding to the adapter that was used to load the ad. Returns null if the ad failed to load.

نام کلاس آداپتور دریافت‌شده

public @Nullable String getMediationAdapterClassName()

Returns the mediation adapter class name of the ad network that loaded the ad. In the case of a mediated ad response, this is the name of the class that was responsible for performing the ad request and rendering the ad. For non-mediated responses, this value will be com.google.ads.mediation.admob.AdMobAdapter . Returns null if the ad failed to load.

دریافت پاسخ‌های اضافی

public Bundle getResponseExtras()

اطلاعات اضافی در مورد پاسخ تبلیغ را برمی‌گرداند.

دریافت شناسه پاسخ

public @Nullable String getResponseId()

Returns the response ID for the loaded ad. Can be used to look up ads in the Ad Review Center. Returns null if the ad failed to load.

رشته‌ی دوتایی

public String toString()

یک نسخه رشته‌ایِ سازگار با گزارش (log) از این شیء را برمی‌گرداند.