Hi Andrei,

A developer token is required to make AdWords API calls. It's main purpose 
is to ensure that the developer has accepted AdWords API T&Cs, identify 
your requests in case we need to troubleshoot issues you are facing, etc. 
In the past, it was also used to identify the account to which API calls 
were charged, but that's no longer the case since AdWords API calls are now 
free. 

OAuth2 tokens are used to authenticate the calls you make against a client 
account. You may also use ClientLogin as an alternative to OAuth2, but it 
is deprecated and it's use is strongly discouraged.

You need an MCC account to get a developer token, but it's not a 
requirement that the account you make calls to lives under that MCC. Using 
OAuth, you could make calls to a totally unrelated account (e.g. a client 
logs in from the UI), as long as you can generate an access token for the 
same. Right now, your developer token is under review, that's why your 
ability to make calls are restricted to test accounts. Once your token is 
approved, you should be able to make calls to any account that you have 
access to.

Cheers,
Anash P. Oommen,
AdWords API Advisor.


On Wednesday, October 2, 2013 5:24:37 PM UTC+5:30, Andrei Kavaleu wrote:
>
> Hello,
>
> I am trying to get an access to AdWords API via OAuth.
> I registered an app, created MCC account (to a different e-mail) and a 
> test account.
>
> I read through AdWords API documentation and don't see that I need a dev 
> token to access an account by oauth.  Just clientId, clientSecret and 
> accessToken.
> But when I try to connect to the API using 
> google-api-adwords-dotnet<https://code.google.com/p/google-api-adwords-dotnet/>library.
>  I get "Parameter name: AdWords API requires a developer token"
>
> What is the purpose of OAuth if I cant access the API without MCC and dev 
> token?
>
> Best regards,
> Andrei
>
> P.S. I can access my test account providing my dev token. But I need to 
> access any client who granted an access to me, not just clients who are 
> part of my MCC account.
>

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

Reply via email to