This component/theme does NOT work with the latest OSSN version.
Current Version: 6.1
Requirements: Ossn >= 6.0
GDPR affected: Yes. Since Google not only counts how often your ads are clicked, but also who clicked on which ad, the company receives a detailed user profile. This fact should be mentioned in the privacy policy.
License: GNU General Public License v2
This is just one example how to place a Google ad inside of your community at a location of your choice - in this case on top of all newsfeeds.
The code is derived from https://developers.google.com/publisher-tag/samples/display-test-ad
In order to use your own personalized ads, you have to manually replace the sample ad in plugins/default/AdsenseExample/Config.php
by the code you received from Google. And as with all editing actions like that the Ossn cache needs to be disabled on your admin-backend first.
V 6.1