How to I direct the python ads sdk to work with the sandbox?

python
ads
sdk
sandbox

#1

and another question - how do I get the account_id? I think I got that by doing my own REST request, but when using it with python sdk I get account not found (this is why I thought maybe I’m not in sandbox)

File “start.py”, line 17, in
account = client.accounts(ACCOUNT_ID)
File “/usr/lib/python2.7/site-packages/twitter_ads/client.py”, line 89, in accounts
return Account.load(self, id) if id else Account.all(self)
File “/usr/lib/python2.7/site-packages/twitter_ads/account.py”, line 46, in load
response = Request(client, ‘get’, resource, params=kwargs).perform()
File “/usr/lib/python2.7/site-packages/twitter_ads/http.py”, line 75, in perform
raise Error.from_response(response)
twitter_ads.error.Forbidden: <Forbidden object at 0x12ad6e0 code=403 details=[{u’message’: u’Account gq11ul was
not found’, u’code’: u’NOT_FOUND’}]>