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": "THREE | SIX | TWELVE | TWENTY_FOUR | ALL_TIME",
"currency": "EUR | USD | GBP | CHF | JPY | BGN | CZK | DKK | HUF | LTL | PLN | RON | SEK | NOK | HRK | RUB | TRY | AUD | BRL | CAD | CNY | HKD | IDR | INR | KRW | MXN | MYR | NZD | PHP | SGD | THB | ZAR | ARS | COP | AED | KZT | SAR | UAH | EGP | MAD | ILS | BHD | JOD | KWD | LBP | OMR | QAR | NGN | KES | ALL | ETB | BSD | BDT | BAM | BWP | MMK | AFN | BTN | GEL | GHS | GIP | ISK | KHR | JMD | LAK | MKD | MUR | MNT | NPR | NAD | PKR | RWF | LKR | SZL | TZS | TTD | UGX | ZMW | BOB | CRC | DOP | GTQ | HNL | NIO | PAB | PYG | PEN | UYU | VEF | XAF | XOF | HTG | MGA | DZD | IQD | LYD | TND | YER | BND | AOA | MZN | AMD | AZN | KGS | TJS | UZS | MDL | RSD | XPF | MOP | VND | TWD | CLP",
"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 | 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.