Complet adgenerator example.