Generating Google API credentials
Please follow the below process for generating API credentials for using self-Google API keys.
(1) Create a project at Google API console
(2) Enable Google Analytics API for your project
(3) Create OAuth client ID visiting credentials page
(3) Choose "Application type" as - Web Application
(5) At "Authorized redirect URIs" add the following URLs