Re: Can't get data from Test Adwords account . getting AuthorizationError.USER_PERMISSION_DENIE

2018-10-24 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

Could you please continue the discussion on that thread 

 
to avoid the duplication? 

Thanks,
Milind, 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 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/016a3e3d-aea0-4e54-b32b-8a544f5337f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can't get data from Test Adwords account . getting AuthorizationError.USER_PERMISSION_DENIE

2018-10-24 Thread ragi via AdWords API and Google Ads API Forum
This is what I have done
- Created a new gmail account (call it produ...@gmail.com) and created 
Production Manager Account using this new gmail account
- Created a new gmail account (call it testu...@gmail.com) and created a 
Test Manager Account with this new gmail account
- Created a set of OAuth Client Crendentials using produ...@gmail.com ( I 
had to create a new Project as well)
- Generated a developer token for ProdManager account through API Center
- Authenticated and generated refreshtoken with oauth client credentials 
against Test gmail account (access type was set to offline and user consent 
prompt was setup too)
- Configured, Client Id, Client Secret, Refresh token, Test Account Client 
Customer Id, Prod Manager Developer Token, Some random UserAgent
- When I try to list the Campaigns, I endup getting 
AuthorizationError.USER_PERMISSION_DENIED

I follwed this doc this procedure - 
https://developers.google.com/adwords/api/docs/guides/accounts-overview

Not sure what I am missing and why I get this error. Any help would be much 
appreciated

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/4cbfb1e9-d684-4e7c-9948-ed66c4937dea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthorizationError.USER_PERMISSION_DENIE

2011-10-23 Thread Anash P. Oommen
Hi Alwin,

If you think this is related to Google Apps, then things should start 
working fine once you complete your migration. If you need to change the 
login email, then see 
http://adwords.google.com/support/aw/bin/answer.py?hl=enanswer=24828 for 
details on how this can be done. You don't need to create a new MCC account 
for this.

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


Re: AuthorizationError.USER_PERMISSION_DENIE

2011-10-21 Thread Anash P. Oommen
Hi Alwin,

AdWords API v201109 no longer supports clientEmail, so try providing the 
client customerId in the clientId field instead.

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


Re: AuthorizationError.USER_PERMISSION_DENIE

2011-10-21 Thread Alwin
Hi Anash

Thanks, I also tried this and same result!

Alwin

On Oct 21, 8:49 am, Anash P. Oommen anash.p.oommen
+fo...@google.com wrote:
 Hi Alwin,

 AdWords API v201109 no longer supports clientEmail, so try providing the
 client customerId in the clientId field instead.

 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


Re: AuthorizationError.USER_PERMISSION_DENIE

2011-10-21 Thread Anash P. Oommen
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


Re: AuthorizationError.USER_PERMISSION_DENIE

2011-10-21 Thread Alwin
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


Re: AuthorizationError.USER_PERMISSION_DENIE

2011-10-21 Thread Alwin
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=0004afd3742645200a96d1071ee6 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-instancesoapenv:Headerns1:RequestHeader
soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next;
soapenv:mustUnderstand=0 xmlns:ns1=https://adwords.google.com/api/
adwords/cm/v201101ns1:authToken xmlns:ns1=https://
adwords.google.com/api/adwords/cm/v201101**/
ns1:authTokenns1:clientCustomerId  X1X  /
ns1:clientCustomerIdns1:developerToken  X2X  /
ns1:developerTokenns1:userAgentAdWords API Java Client Library -
v8.3.1 - ahaensel/ns1:userAgentns1:validateOnlyfalse/
ns1:validateOnlyns1:partialFailurefalse/ns1:partialFailure/
ns1:RequestHeader/soapenv:Headersoapenv:Bodymutate
xmlns=https://adwords.google.com/api/adwords/cm/
v201101operationsoperatorADD/
operatoroperandnameInterplanetary Cruise #1319222632528/
namestatusPAUSED/statusbudgetperiodDAILY/
periodamountmicroAmount5000/microAmount/
amountdeliveryMethodSTANDARD/deliveryMethod/
budgetbiddingStrategy xsi:type=ns2:ManualCPC xmlns:ns2=https://
adwords.google.com/api/adwords/cm/v201101/
networkSettingtargetGoogleSearchtrue/
targetGoogleSearchtargetSearchNetworktrue/
targetSearchNetworktargetContentNetworkfalse/
targetContentNetworktargetContentContextualfalse/
targetContentContextualtargetPartnerSearchNetworkfalse/
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:HeaderResponseHeader xmlns=https://
adwords.google.com/api/adwords/cm/
v201101requestId0004afd3742645200a96d1071ee6/
requestIdoperations0/operationsresponseTime113/
responseTimeunits0/units/ResponseHeader/
soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/
faultcodefaultstring[AuthorizationError.USER_PERMISSION_DENIED @ ]/
faultstringdetailApiExceptionFault xmlns=https://
adwords.google.com/api/adwords/cm/
v201101message[AuthorizationError.USER_PERMISSION_DENIED @ ]/
messageApplicationException.TypeApiException/
ApplicationException.Typeerrors xsi:type=AuthorizationError
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;fieldPath/
trigger/errorStringAuthorizationError.USER_PERMISSION_DENIED/
errorStringApiError.TypeAuthorizationError/
ApiError.TypereasonUSER_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


AuthorizationError.USER_PERMISSION_DENIE

2011-10-20 Thread Alwin
Hi

I'm new with the AdWords API and I wanted to get started with the
examples and then learning by doing.

I got two main problems and I think I have some trouble with my API
authentication

1) when I run the GetAllCampaigns.java I get that there are no
campaigns (actually there is a active campaign under the client login
2) when I now try to add a campaign with the AddCampign.java I get the
error below (AuthorizationError.USER_PERMISSION_DENIE)

The only thing what works is the check how much api units I've used!!!

I really need some help to get me started here.

Thanks,
Alwin


my adwords.propertes file:
email=mcc_login_email
password=mcc_login_password
clientId=client_login_email - the account where I wanna make changes
useragent=some user string
developerToken=my developertoken
useSandbox=false
partialFailure=false
returnMoneyInMicros=false


output after running  AddCampign.java :

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode:
 faultString: [AuthorizationError.USER_PERMISSION_DENIED @ ]
 faultActor:
 faultNode:
 faultDetail:
{https://adwords.google.com/api/adwords/cm/v201101}
ApiExceptionFault:message[AuthorizationError.USER_PERMISSION_DENIED
@ ]/messageApplicationException.TypeApiException/
ApplicationException.Typeerrors xmlns:xsi=http://www.w3.org/2001/
XMLSchema-instance xsi:type=AuthorizationErrorfieldPath/trigger/
errorStringAuthorizationError.USER_PERMISSION_DENIED/
errorStringApiError.TypeAuthorizationError/
ApiError.TypereasonUSER_PERMISSION_DENIED/reason/errors

[AuthorizationError.USER_PERMISSION_DENIED @ ]

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