The Sandbox environment uses a completely different database that is not associated with your production Ads account. We auto-create an Ads account for you in the Sandbox and you can determine what that is by calling the GET accounts endpoint. While the Ads account itself is not linked to production, all Tweets are.
You can reset the Sandbox in its entirety by simply sending a DELETE accounts/:account_id request; this will delete the already existing Sandbox Ads account. You can then create a new Ads account by simply sending a GET accounts request.
Examples:
# Deleting your existing Sandbox Ads account,
# hence resetting your Sandbox environment.
twurl -X DELETE -H ads-api-sandbox.twitter.com /0/accounts/gq0vvd | jq .
{
"data_type": "account",
"data": {
"name": "Sandbox account for @AdsAPI",
"timezone": "America/Los_Angeles",
"timezone_switch_at": null,
"id": "gq0vvd",
"created_at": "2015-04-22T00:24:14Z",
"salt": "f35731550d2ef27af54e9075699c1a97",
"updated_at": "2015-11-27T15:40:46Z",
"approval_status": "ACCEPTED",
"deleted": true
},
"request": {
"params": {
"account_id": "gq0vvd"
}
}
}
# Sending a request to get all Sandbox Ads accounts
# will cause a new Ads account to be created if one
# does not already exist
twurl -H ads-api-sandbox.twitter.com /0/accounts/ | jq .
{
"request": {
"params": {}
},
"data": [
{
"name": "Sandbox account for @AdsAPI",
"timezone": "America/Los_Angeles",
"timezone_switch_at": null,
"id": "gq10e8",
"created_at": "2015-11-27T15:40:58Z",
"salt": "6536478baadec51ebf9e8de399f46cdf",
"updated_at": "2015-11-27T15:40:58Z",
"approval_status": "ACCEPTED",
"deleted": false
}
],
"data_type": "account",
"total_count": 1,
"next_cursor": null
}