Hello Pranav,
Yes, you can use the OAuth in the Sandbox. It looks like you use our PHP client library. For AOuth you need to uncomment the OAuth section: ; [OAUTH] ; oauth_consumer_key = "INSERT_OAUTH_CONSUMER_KEY_HERE" ; oauth_consumer_secret = "INSERT_OAUTH_CONSUMER_SECRET_HERE" ; oauth_token = "INSERT_OAUTH_TOKEN_HERE" ; oauth_token_secret = "INSERT_OAUTH_TOKEN_SECRET_HERE" And provide all required defaults. You can comment or remove the 'email' and 'password' fields. You can find the example on how to retrieve the list of accounts here: http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201109/AccountManagement/GetAccountHierarchy.php -Danial, AdWords API Team. On Thursday, March 22, 2012 3:50:30 PM UTC+4, Pranav Dubey wrote: > > > Hi, > > Please tell me, can we use Oauth in the sandbox environment and if yes > what is the required parameter for it as defied in auth.ini. How can I get > all the accounts under an MCC account using Oauth. > > Regards, > Pranav Dubey > > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
