Hi

below the logs of my failed request, somehow my mcc customer id is in
the effected user field, so I would try to set a campaign in an mcc
account, this explains the error. But why do it mixed the client and
the mcc ids???

my adwords.properties file
email="mcc_email"
password="mcc_pass"
clientId="clientID"
useragent="agent string"
developerToken="DevToken"
useSandbox=false
partialFailure=false
returnMoneyInMicros=false


Here the logs when I try to run AddCampaign.java

Request_info.log:
[21 Okt 2011 20:43:53,932 - DEBUG] email= X1X effectiveUser= X2X
service=CampaignService method=mutate operators={ADD: 1}
responseTime=113 operations=0 units=0
requestId=0004afd3742645200a96d10700001ee6 server=https://
adwords.google.com isFault=true
faultMessage=[AuthorizationError.USER_PERMISSION_DENIED @ ]

X1X = was the email of the client which is a gmail email
X2X = was the customer id of my mcc account, the login email is not a
gmail email



Soap_xml.log:
[21 Okt 2011 20:43:53,916 - DEBUG]
<?xml version="1.0" encoding="UTF-8"?><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
soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/
adwords/cm/v201101"><ns1:authToken xmlns:ns1="https://
adwords.google.com/api/adwords/cm/v201101">******</
ns1:authToken><ns1:clientCustomerId>  X1X  </
ns1:clientCustomerId><ns1:developerToken>  X2X  </
ns1:developerToken><ns1:userAgent>AdWords API Java Client Library -
v8.3.1 - ahaensel</ns1:userAgent><ns1:validateOnly>false</
ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></
ns1:RequestHeader></soapenv:Header><soapenv:Body><mutate
xmlns="https://adwords.google.com/api/adwords/cm/
v201101"><operations><operator>ADD</
operator><operand><name>Interplanetary Cruise #1319222632528</
name><status>PAUSED</status><budget><period>DAILY</
period><amount><microAmount>50000000</microAmount></
amount><deliveryMethod>STANDARD</deliveryMethod></
budget><biddingStrategy xsi:type="ns2:ManualCPC" xmlns:ns2="https://
adwords.google.com/api/adwords/cm/v201101"/
><networkSetting><targetGoogleSearch>true</
targetGoogleSearch><targetSearchNetwork>true</
targetSearchNetwork><targetContentNetwork>false</
targetContentNetwork><targetContentContextual>false</
targetContentContextual><targetPartnerSearchNetwork>false</
targetPartnerSearchNetwork></networkSetting></operand></operations></
mutate></soapenv:Body></soapenv:Envelope>
[21 Okt 2011 20:43:53,948 - DEBUG]
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/"><soap:Header><ResponseHeader xmlns="https://
adwords.google.com/api/adwords/cm/
v201101"><requestId>0004afd3742645200a96d10700001ee6</
requestId><operations>0</operations><responseTime>113</
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/
v201101"><message>[AuthorizationError.USER_PERMISSION_DENIED @ ]</
message><ApplicationException.Type>ApiException</
ApplicationException.Type><errors xsi:type="AuthorizationError"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><fieldPath/
><trigger/><errorString>AuthorizationError.USER_PERMISSION_DENIED</
errorString><ApiError.Type>AuthorizationError</
ApiError.Type><reason>USER_PERMISSION_DENIED</reason></errors></
ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>

X1X = id of my mcc account
X2X  = developer token of mcc account
the authtoken was ******, I didn't deleted it

I hope you can help me,
Alwin




On Oct 21, 3:24 pm, Alwin <al...@haensel-ams.com> wrote:
> Hi Anash
>
> I'll post this later, but maybe this could be the problem:
>
> my login email for the mcc account has no @gmail.com domain, when I
> created the account I chosed a different email. today I heart that
> this is becoming a problem with the migration of google Apps.
>
> If this is a problem, how can I change mymcc_login to a gmail.com
> address? Or do I need a totally new account?
>
> Thanks,
> Alwin
>
> On Oct 21, 10:40 am, "Anash P. Oommen" <anash.p.oommen
>
>
>
>
>
>
>
> +fo...@google.com> wrote:
> > Hi Alwin,
>
> > In that case, please post a SOAP xml online after masking out the
> > developerToken, authToken, etc. I'll take a look.
>
> > Cheers,
> > Anash P. Oommen,
> > AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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

Reply via email to