노출 단위 수익 데이터(ILRD)

노출 단위 수익 데이터(ILRD)로 상세 수익 데이터를 처리할 수 있습니다. Mobile Ads SDK 5.0.0부터 SDK는 각 광고 노출에 대한 수익 정보와 광고를 게재한 광고 네트워크 정보(모바일 미디에이션 사용 시)를 제공합니다. 이 정보는 퍼블리셔 앱의 기기에서 실시간으로 제공됩니다. 데이터를 직접 처리하거나 제3자 분석 제공업체로 전달할 수 있습니다.

어떤 데이터를 얻을 수 있는지

퍼블리셔가 사용할 수 있는 데이터는 다음과 같습니다.

필드

유형

설명

ad_unit_id

string

고유 광고 유닛 ID.

adType

string

광고 유형:

  • 배너 광고
  • 전면 광고
  • 네이티브 광고
  • 리워드 광고

currency

string

광고 네트워크 통화.

revenue

string

광고 네트워크 통화로 표시한 노출당 수익. currency 필드 값이 사용됩니다.

revenueUSD

string

USD로 환산한 노출당 수익.

precision

string

revenue 값의 정확도. 허용 값:

  • publisher_defined: 미디에이션 인터페이스의 CPM 하한을 반영한 값.
  • estimated: 자동 전략에 따른 값.

network.name

string

광고를 게재한 네트워크 이름(Mediation용).

network.ad_unit_id

string

광고를 게재한 네트워크의 고유 광고 유닛 ID(Mediation용).

ILRD

  1. Enable version 5.0.0 or later of the Mobile Ads SDK by following the instructions (Yandex Advertising Network: Android, Mediation: Android).

  2. Implement client-side interfaces/protocols for event tracking.

    When implementing the BannerAdEventListener, InterstitialAdEventListener, NativeAdEventListener, and RewardedAdEventListener interfaces, use the onImpression method with the ImpressionData parameter. The onImpression method is called when an impression is counted. The ImpressionData asset has a single method, getRawData, that returns a JSON string with ILRD.

      class ExampleNativeAdEventListener : NativeAdEventListener {
         // ...
         override fun onImpression(impressionData: ImpressionData?) {
             val rawData = impressionData?.rawData
            // ...
         }
         // ...
      }
    
      public class ExampleNativeAdEventListener implements NativeAdEventListener {
         // ...
         @Override
         public void onImpression(@Nullable final ImpressionData impressionData) {
             final String rawData = impressionData.getRawData();
            // ...
         }
         // ...
      }