Hi, I'm trying to use the adWords API in a web application, but it seems that my authentification file is incorrect. Here it is :
[ADWORDS] ; Required AdWords API properties. Details can be found at: ; https://developers.google.com/adwords/api/docs/guides/basic-concepts#soap_and_xml developerToken = "" ;Nothing here because I'm using a test account ? clientCustomerId = "XXX-XXX-XXXX" ; Optional. Set a friendly application name identifier. ; userAgent = "INSERT_USER_AGENT_HERE" ; Optional additional AdWords API settings. ; endpoint = "https://adwords.google.com/" ; isPartialFailure = false ; Optional setting for utility usage tracking in the user agent in requests. ; Defaults to true. ; includeUtilitiesInUserAgent = true [ADWORDS_REPORTING] ; Optional reporting settings. ; isSkipReportHeader = false ; isSkipColumnHeader = false ; isSkipReportSummary = false ; isUseRawEnumValues = false [OAUTH2] ; Required OAuth2 credentials. Uncomment and fill in the values for the ; appropriate flow based on your use case. See the README for guidance: ; https://github.com/googleads/googleads-php-lib/blob/master/README.md#getting-started ; For installed application or web application flow. clientId = "1291XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXq61.apps.googleusercontent.com" clientSecret = "M6XXXXXXXXXXXXXXXXXXXDr" refresh_token = "1/FzXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXv4y8yZhAP" ; For service account flow. ; jsonKeyFilePath = "INSERT_ABSOLUTE_PATH_TO_OAUTH2_JSON_KEY_FILE_HERE" ; scopes = "https://www.googleapis.com/auth/adwords" ; impersonatedEmail = "INSERT_EMAIL_OF_ACCOUNT_TO_IMPERSONATE_HERE" [SOAP] ; Optional SOAP settings. See SoapSettingsBuilder.php for more information. ; compressionLevel = <COMPRESSION_LEVEL> [CONNECTION] ; Optional proxy settings to be used by requests. ; If you don't have username and password, just specify host and port. ; proxy = "protocol://user:pass@host:port" ; Enable transparent HTTP gzip compression for all reporting requests. ; enableReportingGzip = false [LOGGING] ; Optional logging settings. ; soapLogFilePath = "path/to/your/soap.log" ; soapLogLevel = "INFO" ; reportDownloaderLogFilePath = "path/to/your/report-downloader.log" ; reportDownloaderLogLevel = "INFO" ; batchJobsUtilLogFilePath = "path/to/your/bjutil.log" ; batchJobsUtilLogLevel = "INFO" Is something wrong ? Or is this error coming from something else ? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/1f0354fe-41dd-43cc-acea-8e40de562cf7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
