Sign up for the Adwords API: 403 forbidden

2015-11-16 Thread Vladimir Shempliner
Hello!
After Step 2a of sign up 
instruction(https://developers.google.com/adwords/api/docs/signingup?hl=en) 
I've got link to a form in email 
(https://services.google.com/fb/forms/newtokenlow/)
Accessing this link I get a "403 Forbidden".
How to complete a registration?!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8eb80f22-92ca-40ea-a950-dc2d8d5c2cf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Api 403

2015-03-16 Thread Michael Cloonan (AdWords API Team)
Hello,

You can read more about how to set up service accounts for AdWords 
specifically at our service accounts guide 
https://developers.google.com/adwords/api/docs/guides/service-accounts. 
However, if you already have it up and running using the installed 
application flow, I suggest leaving it as is.

Regards,
Mike, AdWords API Team

On Friday, March 13, 2015 at 2:31:41 AM UTC-4, Андрей Козлов wrote:

 Thx, it finally works. But i'm kinda confused, what's wrong with my 
 service account approach?. I mean, i have done all steps described in 
 service account oauth2 guide, and it didn't work for some reason.

 четверг, 12 марта 2015 г., 21:52:20 UTC+3 пользователь Michael Cloonan 
 (AdWords API Team) написал:

 Hello,

 There is generally no reason to use a service account for the AdWords 
 API. Please try setting up the installed application OAuth 2.0 flow by 
 following the instructions on our AdWords-specific O:Auth guide 
 https://developers.google.com/adwords/api/docs/guides/authentication.

 Regards,
 Mike, AdWords API Team

 On Thursday, March 12, 2015 at 11:57:05 AM UTC-4, Андрей Козлов wrote:

 Hello,

 I'm using AdWords .net api library vid service account and when i'm 
 trying to call some method i got this error:

 {Failed to get access token for service account.\n{\n  \error\ : 
 \access_denied\,\n  \error_description\ : \Requested client not 
 authorized.\\n}}


 My App.Config looks like this:

 add key=DeveloperToken value=~token/
 add key=OAuth2Mode value=SERVICE_ACCOUNT /
 add key=OAuth2ServiceAccountEmail
 value=emailfromdevelopercons...@developer.gserviceaccount.com 
 /
 add key=OAuth2PrnEmail value=mymmc...@mydomain.net /
 add key=OAuth2JwtCertificatePath
 value=pathToCert /
 add key=OAuth2JwtCertificatePassword
 value=notasecret /
 add key=ClientCustomerId value=111-111-/

 I also correlated my clientId with adWords scope, accroding to this 
 guide 
 https://developers.google.com/drive/web/delegation#delegate_domain-wide_authority_to_your_service_account
 . 

 But it doesn't work. What could i do wrong?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c2245adb-7bf8-4b3c-9b9f-fdaf97ca5737%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Api 403

2015-03-13 Thread Андрей Козлов
Thx, it finally works. But i'm kinda confused, what's wrong with my service 
account approach?. I mean, i have done all steps described in service 
account oauth2 guide, and it didn't work for some reason.

четверг, 12 марта 2015 г., 21:52:20 UTC+3 пользователь Michael Cloonan 
(AdWords API Team) написал:

 Hello,

 There is generally no reason to use a service account for the AdWords API. 
 Please try setting up the installed application OAuth 2.0 flow by following 
 the instructions on our AdWords-specific O:Auth guide 
 https://developers.google.com/adwords/api/docs/guides/authentication.

 Regards,
 Mike, AdWords API Team

 On Thursday, March 12, 2015 at 11:57:05 AM UTC-4, Андрей Козлов wrote:

 Hello,

 I'm using AdWords .net api library vid service account and when i'm 
 trying to call some method i got this error:

 {Failed to get access token for service account.\n{\n  \error\ : 
 \access_denied\,\n  \error_description\ : \Requested client not 
 authorized.\\n}}


 My App.Config looks like this:

 add key=DeveloperToken value=~token/
 add key=OAuth2Mode value=SERVICE_ACCOUNT /
 add key=OAuth2ServiceAccountEmail
 value=emailfromdevelopercons...@developer.gserviceaccount.com 
 javascript: /
 add key=OAuth2PrnEmail value=mymmc...@mydomain.net javascript: 
 /
 add key=OAuth2JwtCertificatePath
 value=pathToCert /
 add key=OAuth2JwtCertificatePassword
 value=notasecret /
 add key=ClientCustomerId value=111-111-/

 I also correlated my clientId with adWords scope, accroding to this guide 
 https://developers.google.com/drive/web/delegation#delegate_domain-wide_authority_to_your_service_account
 . 

 But it doesn't work. What could i do wrong?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3032dee1-2deb-4db0-97b0-d35072c06467%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Api 403

2015-03-12 Thread Michael Cloonan (AdWords API Team)
Hello,

There is generally no reason to use a service account for the AdWords API. 
Please try setting up the installed application OAuth 2.0 flow by following 
the instructions on our AdWords-specific O:Auth guide 
https://developers.google.com/adwords/api/docs/guides/authentication.

Regards,
Mike, AdWords API Team

On Thursday, March 12, 2015 at 11:57:05 AM UTC-4, Андрей Козлов wrote:

 Hello,

 I'm using AdWords .net api library vid service account and when i'm trying 
 to call some method i got this error:

 {Failed to get access token for service account.\n{\n  \error\ : 
 \access_denied\,\n  \error_description\ : \Requested client not 
 authorized.\\n}}


 My App.Config looks like this:

 add key=DeveloperToken value=~token/
 add key=OAuth2Mode value=SERVICE_ACCOUNT /
 add key=OAuth2ServiceAccountEmail
 value=emailfromdevelopercons...@developer.gserviceaccount.com /
 add key=OAuth2PrnEmail value=mymmcem...@mydomain.net /
 add key=OAuth2JwtCertificatePath
 value=pathToCert /
 add key=OAuth2JwtCertificatePassword
 value=notasecret /
 add key=ClientCustomerId value=111-111-/

 I also correlated my clientId with adWords scope, accroding to this guide 
 https://developers.google.com/drive/web/delegation#delegate_domain-wide_authority_to_your_service_account
 . 

 But it doesn't work. What could i do wrong?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/96b0b81e-d0f4-429f-ad31-e0dafb998080%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdWords Api 403

2015-03-12 Thread Андрей Козлов
Hello,

I'm using AdWords .net api library vid service account and when i'm trying 
to call some method i got this error:

{Failed to get access token for service account.\n{\n  \error\ : 
\access_denied\,\n  \error_description\ : \Requested client not 
authorized.\\n}}


My App.Config looks like this:

add key=DeveloperToken value=~token/
add key=OAuth2Mode value=SERVICE_ACCOUNT /
add key=OAuth2ServiceAccountEmail
value=emailfromdevelopercons...@developer.gserviceaccount.com /
add key=OAuth2PrnEmail value=mymmcem...@mydomain.net /
add key=OAuth2JwtCertificatePath
value=pathToCert /
add key=OAuth2JwtCertificatePassword
value=notasecret /
add key=ClientCustomerId value=111-111-/

I also correlated my clientId with adWords scope, accroding to this 
guide 
https://developers.google.com/drive/web/delegation#delegate_domain-wide_authority_to_your_service_account.
 

But it doesn't work. What could i do wrong?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0ec3d9f2-5456-477b-be5e-f3e510b9ea32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.