- ingest_offline_conversion_data - Upload offline conversion data for the specified data provider.
Upload offline conversion data for the specified data provider.
from ttd_data import DataClient
with DataClient() as data_client:
res = data_client.offline_conversion.ingest_offline_conversion_data(ttd_auth="<value>", data_provider_id="<id>")
assert res.offline_conversion_data_server_response is not None
# Handle response
print(res.offline_conversion_data_server_response)| Parameter | Type | Required | Description |
|---|---|---|---|
ttd_auth |
str | ✔️ | Data API token for authentication. |
data_provider_id |
str | ✔️ | N/A |
user_id_array_metadata_format |
List[str] | ➖ | N/A |
items |
List[models.OfflineConversionDataItem] | ➖ | N/A |
data_load_trace_id |
OptionalNullable[str] | ➖ | N/A |
data_origins |
List[models.DataOrigin] | ➖ | N/A |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
server_url |
Optional[str] | ➖ | An optional server URL to use. |
models.IngestOfflineConversionDataResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.OfflineConversionDataServerResponseError | 400, 429 | application/json |
| errors.APIError | 4XX, 5XX | */* |