Wiki

Clone wiki

REACT native plugin / countedDirectDealImpression

Overview

Notifies that an impression has been counted for Direct Deal rules.

Data passed by the event

placementName

Unique name of the placement. The same name will be used in addapptr.com account.

network

Network name.

Examples

#!javascript

import RNAatkit from '@addapptr/react-native-aatkit'
import { NativeEventEmitter, NativeModules } from 'react-native';
const aatkitEmitter = new NativeEventEmitter(RNAatkit);

const subscription = aatkitEmitter.addListener(
  'countedDirectDealsImpressionForNetwork',
  (data) => console.log("countedDirectDealsImpressionForNetwork placementName: " + data.placementName + " network: " + data.network)
);

Updated