I am trying to access information from google analytics, but every time i am stucking. Producing exception

Analytics API responded with an error message: Bad Request

Here is my code link :


Please help me to short it out this problem, i have done lot of search but found nothing, i don't know what's going on

thank you.