Sandbox Environment

This article describes the DSP Traffic API sandbox, a test environment that you can use to safely validate workflows.

Overview

The DSP Traffic API provides developers with a sandbox that mimics the live production environment. The sandbox environment is completely separate from your production environment.

The DSP Traffic API sandbox environment is a self-contained testing environment, which you can use to test your API integration without affecting any live campaigns.

Endpoints

The sandbox environment can be accessed at the following base URL:

https://dspapi-sbx.admanagerplus.yahoo.com

For example, send the following GET request to retrieve advertiser details:

GET https://dspapi-sbx.admanagerplus.yahoo.com/traffic/advertisers/281947

Test Accounts

The Sandbox environment provides the following test accounts that you can use to validate DSP Traffic API workflows:

  • apitest1@yahoo
  • apitest2@yahoo
  • apitest3@yahoo
  • apitest5@yahoo
  • apitest6@yahoo

Apitest1 Account

A summary of apitest1@yahoo account header attributes:

Account
apitest1@yahoo.com
Consumer Key
dj0yJmk9MkVTYkcwNVF3YkJZJmQ9WVdrOVJHOVpaVk5rTnpnbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD1hYw–
Consumer Secret
cabcdf86e2069df96c3629140d876dd2c67d3c4e
Authorization
ZGoweUptazlNa1ZUWWtjd05WRjNZa0paSm1ROVdWZHJPVkpIT1ZwYVZrNXJUbnBuYldOSGJ6bE5RUzB0Sm5NOVkyOXVjM1Z0WlhKelpXTnlaWFFtZUQxaFl3LS06Y2FiY2RmODZlMjA2OWRmOTZjMzYyOTE0MGQ4NzZkZDJjNjdkM2M0ZQ==
Refresh Token
ANVwyFgggJtvHp65bAx18H6NGhoPO3EaR2MGXmzSSbnlojSe

Obtain OAuth Access Token:

curl "https://api.login.yahoo.com/oauth2/get_token" \
   -X POST \
   -H "Content-Type: application/x-www-form-urlencoded" \
   -H "Authorization: Basic ZGoweUptazlNa1ZUWWtjd05WRjNZa0paSm1ROVdWZHJPVkpIT1ZwYVZrNXJUbnBuYldOSGJ6bE5RUzB0Sm5NOVkyOXVjM1Z0WlhKelpXTnlaWFFtZUQxaFl3LS06Y2FiY2RmODZlMjA2OWRmOTZjMzYyOTE0MGQ4NzZkZDJjNjdkM2M0ZQ==" \
   -d 'grant_type=refresh_token&redirect_uri=oob&refresh_token=ANVwyFgggJtvHp65bAx18H6NGhoPO3EaR2MGXmzSSbnlojSe'

Apitest2 Account

A summary of apitest2@yahoo account header attributes:

Account
apitest2@yahoo.com
Consumer Key
dj0yJmk9TlplNHJyc3hyMzRXJmQ9WVdrOWFsVjROa2hvTldjbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD1mMA–
Consumer Secret
261980cd54e45cce8e81a42cd42e5c2c04faf289
Authorization
ZGoweUptazlUbHBsTkhKeWMzaHlNelJYSm1ROVdWZHJPV0ZzVmpST2EyaHZUbGRqYldOSGJ6bE5RUzB0Sm5NOVkyOXVjM1Z0WlhKelpXTnlaWFFtZUQxbU1BLS06MjYxOTgwY2Q1NGU0NWNjZThlODFhNDJjZDQyZTVjMmMwNGZhZjI4OQ==
Refresh Token
AKF4yFhXMseU_jsVRIPhr5QQVo2oEKPMxs3_OwhjMIpP3eSU

Obtain OAuth Access Token:

curl "https://api.login.yahoo.com/oauth2/get_token" \
   -X POST \
   -H "Content-Type: application/x-www-form-urlencoded" \
   -H "Authorization: Basic ZGoweUptazlUbHBsTkhKeWMzaHlNelJYSm1ROVdWZHJPV0ZzVmpST2EyaHZUbGRqYldOSGJ6bE5RUzB0Sm5NOVkyOXVjM1Z0WlhKelpXTnlaWFFtZUQxbU1BLS06MjYxOTgwY2Q1NGU0NWNjZThlODFhNDJjZDQyZTVjMmMwNGZhZjI4OQ==" \
   -d 'grant_type=refresh_token&redirect_uri=oob&refresh_token=AKF4yFhXMseU_jsVRIPhr5QQVo2oEKPMxs3_OwhjMIpP3eSU'

Apitest3 Account

A summary of apitest3@yahoo account header attributes:

Account
apitest3@yahoo.com
Consumer Key
dj0yJmk9dDlxdE5JYnNibENiJmQ9WVdrOVZGTlpVbE40TlRRbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD1hYg–
Consumer Secret
034d205c2bf0958f1a8b45c5d7910993691faf07
Authorization
ZGoweUptazlkRGx4ZEU1SlluTmliRU5pSm1ROVdWZHJPVlpHVGxwVmJFNDBUbFJSYldOSGJ6bE5RUzB0Sm5NOVkyOXVjM1Z0WlhKelpXTnlaWFFtZUQxaFlnLS06MDM0ZDIwNWMyYmYwOTU4ZjFhOGI0NWM1ZDc5MTA5OTM2OTFmYWYwNw==
Refresh Token
AEt8yFgu8NlU26Vqs6vZzh9SWJXYrE.0ScbFXXlO1.61Wq05

Obtain OAuth Access Token:

curl "https://api.login.yahoo.com/oauth2/get_token" \
   -X POST \
   -H "Content-Type: application/x-www-form-urlencoded" \
   -H "Authorization: Basic ZGoweUptazlkRGx4ZEU1SlluTmliRU5pSm1ROVdWZHJPVlpHVGxwVmJFNDBUbFJSYldOSGJ6bE5RUzB0Sm5NOVkyOXVjM1Z0WlhKelpXTnlaWFFtZUQxaFlnLS06MDM0ZDIwNWMyYmYwOTU4ZjFhOGI0NWM1ZDc5MTA5OTM2OTFmYWYwNw==" \
   -d 'grant_type=refresh_token&redirect_uri=oob&refresh_token=AEt8yFgu8NlU26Vqs6vZzh9SWJXYrE.0ScbFXXlO1.61Wq05'

Apitest5 Account

A summary of apitest5@yahoo account header attributes:

Account
apitest5@yahoo.com
Consumer Key
dj0yJmk9N2pIazlsZk1iTzIxJmQ9WVdrOWVEUmpVMFpWTXpRbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD00NA–
Consumer Secret
a7e13ea3740b933496d88755ff341bfb824805a6
Authorization
ZGoweUptazlOMnBJYXpsc1prMWlUekl4Sm1ROVdWZHJPV1ZFVW1wVk1GcFdUWHBSYldOSGJ6bE5RUzB0Sm5NOVkyOXVjM1Z0WlhKelpXTnlaWFFtZUQwME5BLS06YTdlMTNlYTM3NDBiOTMzNDk2ZDg4NzU1ZmYzNDFiZmI4MjQ4MDVhNg==
Refresh Token
AEiByFhMtBNgJLEtRAZCSSuSj1CKakcidQAD39SNJZDCNrSy

Obtain OAuth Access Token:

curl "https://api.login.yahoo.com/oauth2/get_token" \
   -X POST \
   -H "Content-Type: application/x-www-form-urlencoded" \
   -H "Authorization: Basic ZGoweUptazlOMnBJYXpsc1prMWlUekl4Sm1ROVdWZHJPV1ZFVW1wVk1GcFdUWHBSYldOSGJ6bE5RUzB0Sm5NOVkyOXVjM1Z0WlhKelpXTnlaWFFtZUQwME5BLS06YTdlMTNlYTM3NDBiOTMzNDk2ZDg4NzU1ZmYzNDFiZmI4MjQ4MDVhNg==" \
   -d 'grant_type=refresh_token&redirect_uri=oob&refresh_token=AEiByFhMtBNgJLEtRAZCSSuSj1CKakcidQAD39SNJZDCNrSy'

Apitest6 Account

A summary of apitest6@yahoo account header attributes:

Account
apitest6@yahoo.com
Consumer Key
dj0yJmk9b1hGYjJta2xDMmFQJmQ9WVdrOVJtRlhNbU5FTm1zbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD1iYw–
Consumer Secret
E4ec21d61191c588278558cadb1e6280cc3601c6
Authorization
ZGoweUptazliMWhHWWpKdGEyeERNbUZRSm1ROVdWZHJPVkp0UmxoTmJVNUZUbTF6YldOSGJ6bE5RUzB0Sm5NOVkyOXVjM1Z0WlhKelpXTnlaWFFtZUQxaVl3LS06ZTRlYzIxZDYxMTkxYzU4ODI3ODU1OGNhZGIxZTYyODBjYzM2MDFjNg==
Refresh Token
AMSEyFj2ay4dv.nI4GYWzm4MxBwooVmUCrlYoBT.XINeIL2k

Obtain OAuth Access Token:

curl "https://api.login.yahoo.com/oauth2/get_token" \
   -X POST \
   -H "Content-Type: application/x-www-form-urlencoded" \
   -H "Authorization: Basic ZGoweUptazliMWhHWWpKdGEyeERNbUZRSm1ROVdWZHJPVkp0UmxoTmJVNUZUbTF6YldOSGJ6bE5RUzB0Sm5NOVkyOXVjM1Z0WlhKelpXTnlaWFFtZUQxaVl3LS06ZTRlYzIxZDYxMTkxYzU4ODI3ODU1OGNhZGIxZTYyODBjYzM2MDFjNg==" \
   -d 'grant_type=refresh_token&redirect_uri=oob&refresh_token=AMSEyFj2ay4dv.nI4GYWzm4MxBwooVmUCrlYoBT.XINeIL2k'