Previously, i have configured Google Analytics & Ad-word PHP API to access/manipulate reports, data etc programmatically with simple OATH 2.0 by giving some sort of client id & client secret.
Here actually i want to get daily basis Earning Reports from ad-sense account with one time user consent & using refresh token for future requests.(like Service Account Support).
Please provide me some sort of direction how to do that ? How to setup a test Adsense TEST account to debug/test my codes? How to set redirect URL path? i have never used that previously for Adword or Analytics API.