Hello Quan,

Re-posting after removing the sensitive information (client credentials and 
OAuth tokens) in your ads.properties screen shot. In the future, please 
redact any sensitive information before posting in the public forum. You 
could check the guidelines 
<https://groups.google.com/forum/#!topic/adwords-api/bBdNvBqDx1I> here. 


[07 May 2018 15:22:05,574-requestInfoLogger:WARN:main] Request made: Service
> : CampaignService Method: get clientCustomerId: **** URL: https://
> adwords.google.com/api/adwords/cm/v201802/CampaignService Request ID: 
> 00056b995d667b980a62ac056c0fe4cc ResponseTime(ms): 69 OperationsCount: 1 
> IsFault: true FaultMessage: 
> ApiException{applicationExceptionType=ApiException, 
> errors=[QuotaCheckError{apiErrorType=QuotaCheckError, 
> errorString=QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED, fieldPath=, 
> reason=DEVELOPER_TOKEN_NOT_APPROVED, trigger=<null>}]}
> [07 May 2018 15:22:05,593-soapXmlLogger:INFO:main] SOAP request:
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> " xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>     <soapenv:Header>
>         <ns1:RequestHeader xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201802"; soapenv:mustUnderstand=
> "0">
>             <ns1:clientCustomerId>*****</ns1:clientCustomerId>
>             <ns1:developerToken>REDACTED</ns1:developerToken>
>             <ns1:userAgent>unknown (AwApi-Java, AdWords-Axis/3.13.0, 
> Common-Java/3.13.0, Axis/1.4, Java/1.8.0_172, maven, SelectorBuilder, 
> SelectorField)</ns1:userAgent>
>             <ns1:validateOnly>false</ns1:validateOnly>
>             <ns1:partialFailure>false</ns1:partialFailure>
>         </ns1:RequestHeader>
>     </soapenv:Header>
>     <soapenv:Body>
>         <get xmlns="https://adwords.google.com/api/adwords/cm/v201802";>
>             <serviceSelector>
>                 <fields>Id</fields>
>             </serviceSelector>
>         </get>
>     </soapenv:Body>
> </soapenv:Envelope>
>
> [07 May 2018 15:22:05,593-soapXmlLogger:INFO:main] SOAP response:
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>     <soap:Header>
>         <ResponseHeader xmlns="https://
> adwords.google.com/api/adwords/cm/v201802">
>             <requestId>00056b995d667b980a62ac056c0fe4cc</requestId>
>             <serviceName>CampaignService</serviceName>
>             <methodName>get</methodName>
>             <operations>1</operations>
>             <responseTime>69</responseTime>
>         </ResponseHeader>
>     </soap:Header>
>     <soap:Body>
>         <soap:Fault>
>             <faultcode>soap:Client</faultcode>
>             <faultstring>[QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED @ ; 
> trigger:'&lt;null&gt;']</faultstring>
>             <detail>
>                 <ApiExceptionFault xmlns="
> https://adwords.google.com/api/adwords/cm/v201802";>
>                     <message>[QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED 
> @ ; trigger:'&lt;null&gt;']</message>
>                     <ApplicationException.Type>ApiException<
> /ApplicationException.Type>
>                     <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:type="QuotaCheckError">
>                         <fieldPath/>
>                         <trigger>&lt;null&gt;</trigger>
>                         
> <errorString>QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED</errorString>
>                         <ApiError.Type>QuotaCheckError</ApiError.Type>
>                         <reason>DEVELOPER_TOKEN_NOT_APPROVED</reason>
>                     </errors>
>                 </ApiExceptionFault>
>             </detail>
>         </soap:Fault>
>     </soap:Body>
> </soap:Envelope>
>
> Request failed due to ApiException. Underlying ApiErrors:
>   Error 0: QuotaCheckError{apiErrorType=QuotaCheckError, 
> errorString=QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED, fieldPath=, 
> reason=DEVELOPER_TOKEN_NOT_APPROVED, trigger=<null>}
>
> This is my terminal when run GetCampaign.class
>
> this is my ads.properties
>
> # OfflineCredentials authentication properties.
> # A refresh token can be acquired using the GetRefreshToken example.
> api.adwords.refreshToken=****
> # If you do not have a client ID or secret, please create a project in the
> # Developers console. See the following link for more information:
> # https://github.com/googleads/googleads-java-lib/wiki/Using-OAuth2.0
> api.adwords.clientId=****
> api.adwords.clientSecret=**** 
> # If you are using a service account, specify the path to the JSON
> # key file instead of using the above authentication properties.
> # api.adwords.jsonKeyFilePath=INSERT_PATH_TO_JSON_KEY_FILE_HERE
> # If you are using a service account, specify the email address of
> # the user account to impersonate. See
> # 
> https://developers.google.com/adwords/api/docs/guides/authentication#granting_impersonation_abilities
> # for details.
> # 
> api.adwords.serviceAccountUser=INSERT_SERVICE_ACCOUNT_USER_EMAIL_ADDRESS_HERE
>
> api.adwords.clientCustomerId=****
> # Optional. Set a friendly application name identifier.
> # api.adwords.userAgent=INSERT_USERAGENT_HERE
> api.adwords.developerToken=****
>
> api.adwords.isPartialFailure=false
>
>
>
>
>
Regards,
Sai Teja, AdWords API Team 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ad88cd64-fa22-4153-bf89-2f995f0e8cbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • DEVELOPER_TOKEN_NOT... Quân Lê Minh
    • Re: DEVELOPER_... 'Teja Makani' via AdWords API and Google Ads API Forum
      • Re: DEVELO... 'Teja Makani' via AdWords API and Google Ads API Forum

Reply via email to