Adjust API Configuration
Request
POST https://api.fivetran.com/v1/connections
{ "group_id": "group_id", "service": "adjust", "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": { "export_storage_type": "GCS | AWS_S3", "csv_definition": "my export definition", "s3_role_arn": "role_arn", "bucket_name": "bucket", "schema": "schema_name" } }
Config parameters
| Name | Description |
|---|---|
export_storage_type | Your cloud storage. |
csv_definition | CSV definition for the CSV export (https://help.adjust.com/en/article/csv-uploads#how-do-i-format-my-csv-definition). |
s3_role_arn | Used if the export_storage_type is AWS_S3, the Role ARN required for authentication. |
bucket_name | Your AWS S3 or GCS bucket. |
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
csv_definition,export_storage_type,bucket_nameands3_role_arnparameters in the request.POST https://api.fivetran.com/v1/connections{ "service": "adjust", "group_id": "group_id", "config": { "csv_definition": "my export definition", "export_storage_type": "GCS | AWS_S3", "bucket_name": "bucket", "s3_role_arn": "role_arn" } }Ifexport_storage_typeisGCS, then you will need to grant Fivetran access to your Google Cloud Storage bucket. By using the Connect Card or the Fivetran dashboard.