g4g_exchangeCodeForToken is used to retrieve an OAuth token (and other information). If successful, the user will be set up to use the service with the account that was registered.
Returns: 0 for successful creation, -1 for error.
Out_errorMsg - An error message if an error was encountered.
id - Google ID [required]
service - The service to register [required]
state_code - The state code returned from g4g_getRegistrationURL() [required]
ccsid - The CCSID to use (1208)
debug - Turn on Debug (*NO, *YES)
debug_file - The debug file name. The default is /tmp/g4g_[id]_getRegistrationURL.txt)