Demand site should pay for displayed/converted advertisements. It should send ADS to supply side using ADS blockchain. The perfect operation for this is send_many.
It is important to store payments’ data because supply side will ask for it will settle payments. Details are presented on Adserver’s metadata