Smart-Contracts for digital advertisements