Hello Matthew,

Yes, test accounts are the same account as production ones, except they 
don't serve. So OAuth2 can be used with them.


-Danial, AdWords API Team.


On Saturday, July 20, 2013 12:51:31 AM UTC+4, Matthew Ledom wrote:
>
> Can test accounts be used with OAuth2?
>
> On Wednesday, June 5, 2013 4:41:15 AM UTC-4, Danial Klimkin wrote:
>>
>> Hello,
>>
>>
>> The sandbox was replaced with Test Accounts. See:
>>
>>   https://developers.google.com/adwords/api/docs/test-accounts
>>
>>
>> -Danial, AdWords API Team.
>>
>> On Monday, June 3, 2013 4:18:59 PM UTC+4, rocs...@gmail.com wrote:
>>>
>>> For getting access_token i am using client library: 
>>> aw_api_php_lib_4.2.2_src/examples/v201302/Misc/UseOAuth2.php
>>> In result:
>>> *Log in to your AdWords account and open the following URL: 
>>> https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=INSERT_OAUTH2_CLIENT_ID_HERE&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fsandbox-adwords.google.com%2Fapi%2Fadwords%2F&access_type=offline
>>> *
>>> *After approving the token enter the authorization code here: *
>>>
>>> But when i try to visit link: 
>>> https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=826719210143-rb159ue7ck9kinf3i1ge250vipt92dgj.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fsandbox-adwords.google.com%2Fapi%2Fadwords%2F&access_type=offline
>>>
>>> I have an error: 
>>>
>>> invalid_scope
>>>
>>> Some requested scopes were invalid. {invalid=[
>>> https://sandbox-adwords.google.com/api/adwords/]}
>>>
>>

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