Amazon DSP API Configuration Beta
Request
POST https://api.fivetran.com/v1/connections
{
  "group_id": "group_id",
  "service": "amazon_dsp",
  "trust_certificates": true,
  "trust_fingerprints": true,
  "run_setup_tests": true,
  "paused": false,
  "pause_after_trial": false,
  "sync_frequency": 1440,
  "data_delay_sensitivity": "NORMAL",
  "data_delay_threshold": 0,
  "daily_sync_time": "14:00",
  "schedule_type": "auto",
  "connect_card_config": {
    "redirect_uri": "https://your.site/path",
    "hide_setup_guide": true
  },
  "proxy_agent_id": "proxy_agent_id",
  "private_link_id": "private_link_id",
  "networking_method": "Directly",
  "hybrid_deployment_agent_id": "hybrid_deployment_agent_id",
  "destination_configuration": {
    "virtual_warehouse": "virtual_warehouse"
  },
  "config": {
    "api_url_region": "api-fe",
    "auth_url_region": "apac.account",
    "profiles": "your_amazon_dsp_profiles_in_array",
    "token_url_region": "com",
    "schema": "schema_name",
    "table": "table_name"
  },
  "auth": {
    "access_token": "your_access_token",
    "refresh_token": "your_refresh_token",
    "client_access": {
      "client_secret": "string",
      "client_id": "string"
    }
  }
}Config parameters
| Name | Description | 
|---|---|
| api_url_region | Your Amazon DSP API URL region. | 
| auth_url_region | Your Amazon DSP auth grant URL region. | 
| profiles | your Amazon DSP profiles pass it inside an Array list. | 
| token_url_region | Your Amazon DSP token URL region. | 
| schema(required) | Destination schema name. Schema name is permanent and cannot be changed after connection creation | 
| table(required) | Destination table. Table is permanent and cannot be changed after connection creation | 
Authorization
There are two ways to authorize this connector type:
-  By specifying the value for the client_accessparameter in theauthsection.POST https://api.fivetran.com/v1/connections{ "service": "amazon_dsp", "group_id": "group_id", "auth": { "client_access": { "client_secret": "string", "client_id": "string" } } }Auth ParametersName Description client_accessYour Amazon DSP client access. client_access.client_secretclient_access.client_id
- By using the Connect Card or the Fivetran dashboard.