Hi all,
I am developing a WordPress plugin which polls the Adsense Management API to get info about earnings; so far for development purposes I have used most of the code from the google-api-php-client, but before releasing the plugin I would like to get info about licensing issues (sorry if this is not the best place to ask!).
I would like to have 2 flavours:
1. Free plugin, uploaded to the WP Plugin repository
2. Paid version, with premium functionality
My question is, how much of the Google examples code can I reuse for my plugin (my main concern is the OAuth part, as the Adsense API part seems not too hard for me to code my own version), in both versions (free/paid)? WP Plugins (as I understand it) come under GPLv2, whereas Google samples are Apache 2.0 license.
Could you please show some light on this?
Thanks a lot!