Skip to main content

How to configure an offer with several events

J
Written by Jorge Rubia
Updated over 3 months ago

You can set up different payout rules for different events in one offer.

For example, one offer with three events:

  • Install (KPI)

  • Registration (Payable)

  • Sale (Payable)

This is how it works in Aftrad.

Go to one offer >> GENERAL >> Payouts & Events

In the "Payouts & Events", you must create one payout rule per event. In this case, we will define Install as the default event and the other two as custom payout rules. This is how it looks:

Now let's see rule by rule.

Install

We have configured it as the default payout rule.

The most important thing here is:

  • Classification = KPI.

For more detailed information about the other fields, please check the "Offer payout rules"


Registration

We have configured it as the custom payout rule.

The most important thing here is:

  • Event parameter = List

  • Event parameter for Event type = registration

  • Classification = Payable

For more detailed information about the other fields, please check the "Offer payout rules"

Sale

We have configured it as the custom payout rule.

The most important thing here is:

  • Event parameter = List

  • Event parameter for Event type = sale

  • Classification = Payable

For more detailed information about the other fields, please check the "Offer payout rules"

How do you get the different events from the Advertiser?

http://thechameleonbay.com/api/v1/events?click_id={aftrad_click_id}&aggregated_id={aftrad_aggredated_id}&event_parameter={event_type}&payout={payout_in_USD}

Then you need to agree with your Advertiser on the values you expect for every event in the "event_parameter" parameter.

In our example:

  • Install:

    • click_id [mandatory]: must be a valid Aftrad_click_id.

    • aggregated_id [optional]: must be a valid Aftrad_aggregated_id. This is mainly for Apps. Can be empty, or can be removed, or can be kept as {aftrad_aggregated_id} as value.

    • event_parameter: can be empty, or can be removed, or can be kept as {event_type} as value.

    • payout: can be empty, or can be removed, or can be kept as {payout_in_USD} as value.

    • For instance:

      • http://thechameleonbay.com/api/v1/events?click_id=204NozcXUKnzsFgzf9DDTrpJWZ7PyJkTtCDsjRZryrqPGKHH36mjzFNFDKtekDzs5HmPMh

  • Registration:

    • click_id [mandatory]: must be a valid Aftrad_click_id.

    • aggregated_id [optional]: must be a valid Aftrad_aggregated_id. This is mainly for Apps. Can be empty, or can be removed, or can be kept as {aftrad_aggregated_id} as value.

    • event_parameter: must be registration

    • payout: can be empty, removed, or kept as {payout_in_USD} as value.

    • For instance:

      • http://thechameleonbay.com/api/v1/events?click_id=204NozcXUKnzsFgzf9DDTrpJWZ7PyJkTtCDsjRZryrqPGKHH36mjzFNFDKtekDzs5HmPMh&event_parameter=registration

  • Sale:

    • click_id [mandatory]: must be a valid Aftrad_click_id.

    • aggregated_id [optional]: must be a valid Aftrad_aggregated_id. This is mainly for Apps. Can be empty, or can be removed, or can be kept as {aftrad_aggregated_id} as value.

    • event_parameter: must be sale

    • payout: can be empty, removed, or kept as {payout_in_USD} as value.

    • For instance:

      • http://thechameleonbay.com/api/v1/events?click_id=204NozcXUKnzsFgzf9DDTrpJWZ7PyJkTtCDsjRZryrqPGKHH36mjzFNFDKtekDzs5HmPMh&event_parameter=sale


How will you see these events in the Platform?

Go to Tools >> Advertiser events and filter by "Click event id"

Did this answer your question?