SingularAdData constructor

SingularAdData(
  1. dynamic adPlatform,
  2. dynamic currency,
  3. dynamic revenue
)

Implementation

SingularAdData(adPlatform, currency, revenue) {
  this[ADMON_AD_PLATFORM] = adPlatform;
  this[ADMON_REVENUE] = revenue;
  this[ADMON_CURRENCY] = currency;
  this[REVENUE_AMOUNT_KEY] = revenue;
  this[REVENUE_CURRENCY_KEY] = currency;
  this[ADMON_IS_ADMON_REVENUE] = true;
  this[IS_REVENUE_EVENT_KEY] = true;

  this[ADMON_NETWORK_NAME] = adPlatform;
}