Google Anylystice GA Export error

Error: getReport() failed to get a valid XML from Google Analytics API service

Updated: https://code.google.com/p/google-api-php-client/

Do I have to activate the API in my google account?