The fact that payments are automated makes this extremely interesting. A trusted third party holding the funds is always something to thank when dealing with affiliate programs.
What happens if there is a need to refund the tokens to advertisers in case there are no sales? Can the smart contact detect the advertiser should get the funds back after a specific period of time?