How it works¶
AdPay collects the following information:
- Campaigns (start and end time, filters)
- Banners (keywords)
- Payments for events (paid amount)
Payment calculation process¶
- AdPay periodically check if it should calculate payments for the last round.
- Payments for each campaign are calculated separately.
- Each unique user get assigned a user budget. User budget maximum pay out, per event type, is the maximum defined value in campaign. Payment is calculated per user per event type, not per event.
- User budget payments can be lowered by lowering the share of the user in all events.
- Each event gets assigned a payment. This payment is a share of the final user budget for this event type.
In detail¶
Each unique user get assigned a user budget. User budget maximum pay out, per event type, is the maximum defined value in campaign. Payment is calculated per user per event type, not per event.
- Get all distinct users with events in this campaign in this payment round.
- Create default user budget for each of them. Each user, for each event type, gets a default payment equal to what’s defined in campaign.
User budget payments can be lowered by lowering the share of the user in all events.
- User share in payment round is calculated.
- Payment for event type is lowered according to user share.
Each event gets assigned a payment. This payment is a share of the final user budget for this event type.