Hi, Please ensure that the MCC user you generated the authToken for has access to the client account specified in the clientEmail header.
Best, - Eric Koleda, AdWords API Team On Apr 14, 4:35 pm, "[email protected]" <[email protected]> wrote: > Hi! > I’m new in Google API. > When I’m trying to test the SampleWebSite example(from Google) I have > received the following error: > > Request > ------- > > POST /api/adwords/cm/v200909/CampaignService > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client > Protocol 2.0.50727.3603) > VsDebuggerCausalityData: > uIDPo3TxOc8rln9PhwtVsIp6q88AAAAAKNUARIwswEmeRH9Aw1wGM1fapZQDY8NLoDW6YlqrCSA > ACAAA > Content-Type: text/xml; charset=utf-8 > SOAPAction: "" > Host: adwords-sandbox.google.com > Content-Length: 1116 > Expect: 100-continue > Accept-Encoding: gzip > > <?xml version="1.0" encoding="utf-8"?><soap:Envelope > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/ > XMLSchema"><soap:Header><RequestHeader xmlns="https:// > adwords.google.com/api/adwords/cm/ > v200909"><authToken>XXXXXXXXXXXXXXXXXXXX</ > authToken><clientEmail>[email protected]</ > clientEmail><developerToken>XXXXXXXXX</developerToken><userAgent>AWAPI > DotNetLib 7.1 - tradeC</userAgent></RequestHeader></ > soap:Header><soap:Body><mutate xmlns="https://adwords.google.com/api/ > adwords/cm/v200909"><operations><operator>ADD</ > operator><operand><name>Interplanetary Cruise #1271275457482.76</ > name><status>PAUSED</status><budget><period>DAILY</ > period><amount><microAmount>50000000</microAmount></ > amount><deliveryMethod>STANDARD</deliveryMethod></ > budget><biddingStrategy xsi:type="ManualCPC" /></operand></ > operations></mutate></soap:Body></soap:Envelope> > > Response > -------- > > Content-Encoding: > Transfer-Encoding: chunked > X-Content-Type-Options: nosniff > X-Frame-Options: SAMEORIGIN > X-XSS-Protection: 1; mode=block > Cache-Control: private, max-age=0 > Content-Type: text/xml; charset=UTF-8 > Date: Wed, 14 Apr 2010 20:04:18 GMT > Expires: Wed, 14 Apr 2010 20:04:18 GMT > Server: GSE > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/ > envelope/"><soap:Header><ResponseHeader xmlns="https:// > adwords.google.com/api/adwords/cm/ > v200909"><requestId>949d5b6f2317383930ade588576470e6</ > requestId><operations>0</operations><responseTime>270</ > responseTime><units>0</units></ResponseHeader></ > soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</ > faultcode><faultstring>AuthorizationError.USER_PERMISSION_DENIED @ </ > faultstring><detail><ApiExceptionFault xmlns="https:// > adwords.google.com/api/adwords/cm/ > v200909"><message>AuthorizationError.USER_PERMISSION_DENIED @ </ > message><ApplicationException.Type>ApiException</ > ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/ > XMLSchema-instance" xsi:type="AuthorizationError"><fieldPath></ > fieldPath><trigger></trigger><ApiError.Type>AuthorizationError</ > ApiError.Type><reason>USER_PERMISSION_DENIED</reason></errors></ > ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope> > > Please help me to pass through this error. > Thanks. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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 [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 To unsubscribe, reply using "remove me" as the subject.
