Updated the ads app to conform to PEP8.