/**
* Creates an AdWordsUser from the test auth and settings files.
* @param $defaultVersion the default version of the API the user should use
* @return AdWordsUser the new user
*/
public static function CreateUser($defaultVersion = NULL)
{
$testDataPath = dirname(__FILE__) . '/../../../../../../test_data/';
$authFile = $testDataPath . 'test_auth.ini';
$settingsFile = $testDataPath . 'test_settings.ini';
$user = new AdWordsUser($authFile, NULL, NULL, NULL, NULL, NULL, NULL, $settingsFile);
$user->SetDefaultVersion($defaultVersion);
$user->LogDefaults();
return $user;
}