Criteo API Configuration
Request
POST https://api.fivetran.com/v1/connections
{
"group_id": "group_id",
"service": "criteo",
"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",
"config": {
"report_timezone": "string",
"timeframe_months": "TWENTY_FOUR | SIX | ALL_TIME | TWELVE | THREE",
"currency": "MXN | GTQ | CLP | UGX | HNL | ZAR | TND | BSD | IQD | TWD | RSD | DOP | MYR | XOF | GEL | UYU | MAD | OMR | AZN | SEK | KES | UAH | BTN | MZN | ARS | QAR | CNY | THB | UZS | XPF | BDT | LYD | PHP | KWD | RUB | PYG | ISK | JMD | COP | USD | MKD | DZD | PAB | SGD | ETB | VEF | KGS | LAK | BND | XAF | CHF | HRK | ALL | ZMW | TZS | VND | AUD | ILS | GHS | KHR | BOB | MDL | IDR | AMD | TRY | BWP | LBP | TJS | JOD | HKD | AED | RWF | EUR | DKK | CAD | BGN | MMK | NOK | MUR | GIP | RON | LKR | NGN | CZK | CRC | PKR | HTG | BHD | KZT | SZL | LTL | SAR | TTD | YER | AFN | INR | KRW | NPR | JPY | MNT | PLN | AOA | GBP | HUF | MGA | BAM | EGP | MOP | NAD | NIO | PEN | NZD | BRL",
"client_secret": "your_api_secret",
"metrics": [
"string"
],
"client_id": "xxxxx-xxxxxx-x-xxxx",
"schema": "schema_name"
}
}
Config parameters
Name | Description |
---|---|
report_timezone | Report Timezone |
timeframe_months | The number of months' worth of reporting data you'd like to include in your initial sync. This cannot be modified once the connector is created. NOTE: The greater number of months means the initial sync will take more time. |
currency | Currency |
client_secret | Your Criteo client secret key. |
metrics | Metrics |
client_id | Your Criteo Client ID. |
schema (required) | Destination schema name. Schema name is permanent and cannot be changed after connection creation |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the
client_id
andclient_secret
parameters in the request.POST https://api.fivetran.com/v1/connections
{ "service": "criteo", "group_id": "group_id", "config": { "client_id": "xxxxx-xxxxxx-x-xxxx", "client_secret": "your_api_secret" } }
By using the Connect Card or the Fivetran dashboard.