您好,我在测试访问adwords api时提示开发者权限问题,这个应该怎么去解决呢。 这是输出的消息内容: [10 六月 2019 11:00:43,279-requestInfoLogger:WARN:main] Request made: Service: CampaignService Method: get clientCustomerId: 535-962-2005 URL: https://adwords.google.com/api/adwords/cm/v201809/CampaignService Request ID: 00058af6178142130a37a152570b9f73 ResponseTime(ms): 130 OperationsCount: 1 IsFault: true FaultMessage: ApiException{applicationExceptionType=ApiException, errors=[AuthorizationError{apiErrorType=AuthorizationError, errorString=AuthorizationError.SERVICE_ACCESS_DENIED, fieldPath=, reason=SERVICE_ACCESS_DENIED, trigger=}]} [10 六月 2019 11:00:43,309-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/v201809" soapenv:mustUnderstand="0"> <ns1:clientCustomerId>535-962-2005</ns1:clientCustomerId> <ns1:developerToken>REDACTED</ns1:developerToken> <ns1:userAgent>unknown (AwApi-Java, AdWords-Axis/4.2.0, Common-Java/4.2.0, Axis/1.4, Java/1.8.0_181, jars, 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/v201809"> <serviceSelector> <fields>Id</fields> <fields>Name</fields> <ordering> <field>Name</field> <sortOrder>ASCENDING</sortOrder> </ordering> <paging> <startIndex>0</startIndex> <numberResults>100</numberResults> </paging> </serviceSelector> </get> </soapenv:Body> </soapenv:Envelope>
[10 六月 2019 11:00:43,309-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/v201809"> <requestId>00058af6178142130a37a152570b9f73</requestId> <serviceName>CampaignService</serviceName> <methodName>get</methodName> <operations>1</operations> <responseTime>130</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Client</faultcode> <faultstring>[AuthorizationError.SERVICE_ACCESS_DENIED @ ]</faultstring> <detail> <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201809"> <message>[AuthorizationError.SERVICE_ACCESS_DENIED @ ]</message> <ApplicationException.Type>ApiException</ApplicationException.Type> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AuthorizationError"> <fieldPath/> <trigger/> <errorString>AuthorizationError.SERVICE_ACCESS_DENIED</errorString> <ApiError.Type>AuthorizationError</ApiError.Type> <reason>SERVICE_ACCESS_DENIED</reason> </errors> </ApiExceptionFault> </detail> </soap:Fault> </soap:Body> </soap:Envelope> Request failed due to ApiException. Underlying ApiErrors: Error 0: AuthorizationError{apiErrorType=AuthorizationError, errorString=AuthorizationError.SERVICE_ACCESS_DENIED, fieldPath=, reason=SERVICE_ACCESS_DENIED, trigger=} -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ef58ecf4-c10e-437c-beb3-a39bd02f1074%40googlegroups.com.
