You can use the Adjust SDK to send AD(X) data to Adjust as an AdjustAdRevenue
instance. To do this:
- Create a new function that triggers when the
rewardedAd.OnPaidEvent
method is called in the AD(X) SDK. This function should receive the eCPM (Effective Cost Per Mille) amount as an argument. - Instantiate an
AdjustAdRevenue
object with the source"adx_sdk"
. - Fill in the details of your
AdjustAdRevenue
object. Divide theecpm
value by 1000 to return the estimated revenue for the ad. - Send the ad revenue information to Adjust by calling the
trackAdRevenue
method.
Example
You can use the Adjust SDK to send AD(X) data to Adjust as an AdjustAdRevenue
instance. To do this:
- Create a new function that triggers when the
rewardedAd.OnPaidEvent
method is called in the AD(X) SDK. This function should receive the eCPM (Effective Cost Per Mille) amount as an argument. - Instantiate an
AdjustAdRevenue
object with the sourceAdjustConfig.AD_REVENUE_ADX
. - Fill in the details of your
AdjustAdRevenue
object. Divide theecpm
value by 1000 to return the estimated revenue for the ad. - Send the ad revenue information to Adjust by calling the
trackAdRevenue
method.