I'm sorry, I forget checking with http://validator.w3.org/check.
среда, 30 января 2013 г., 14:04:27 UTC+4 пользователь People Search написал: > > Hi! > > I have request to > https://adwords.google.com/api/adwords/mcm/v201209/ManagedCustomerServicewith > soap body: > <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env=" > http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" > http://www.w3.org/2001/XMLSchema" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" xmlns=" > https://adwords.google.com/api/adwords/mcm/v201209" xmlns:ns0=" > https://adwords.google.com/api/adwords/cm/v201209"> <env:Header> > <RequestHeader><userAgent>Nectarin AdWords Ruby Awesome Client > (ruby/1.9.3-p327, > x86_64-darwin12.3.0)</userAgent><developerToken>1111111111111111111111</developerToken><clientCustomerId>1111111111</clientCustomerId> > > </RequestHeader> </env:Header> <env:Body> <get><serviceSelector> > <ns0:fields>Login</ns0:fields> <ns0:fields>CustomerId</ns0:fields> > <ns0:fields>Name</ns0:fields></serviceSelector> </get> > </env:Body></env:Envelope> > and oauth2 header: Authorization: Bearer > ya29.AHES6ZSb11MWCwQ0q_1111CjfcbJRzaqCIdS1111111111111 > > When I execute the query I got error response: > <soap:Envelope > xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Header><ns2:ResponseHeader > > xmlns:ns2=\"https://adwords.google.com/api/adwords/mcm/v201209\" xmlns=\" > https://adwords.google.com/api/adwords/cm/v201209\"><requestId>0004d47e4a07da180aec3b2300006a59</requestId><serviceName>ManagedCustomerService</serviceName><methodName>get</methodName><operations>0</operations><responseTime>7</responseTime><units>0</units></ns2:ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[QuotaCheckError.INVALID_TOKEN_HEADER > > @ ]</faultstring><detail><ns2:ApiExceptionFault xmlns=\" > https://adwords.google.com/api/adwords/cm/v201209\" xmlns:ns2=\" > https://adwords.google.com/api/adwords/mcm/v201209\"><message>[QuotaCheckError.INVALID_TOKEN_HEADER > > @ > ]</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors > > xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" > xsi:type=\"QuotaCheckError\"><fieldPath></fieldPath><trigger></trigger><errorString>QuotaCheckError.INVALID_TOKEN_HEADER</errorString><ApiError.Type>QuotaCheckError</ApiError.Type><reason>INVALID_TOKEN_HEADER</reason></errors></ns2:ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope> > > Why if oauth2 token is valid? > > Thank you. > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.