- Is this your first time deploying Airbyte?: No
- OS Version / Instance: MacOs
- Deployment: Docker
- Airbyte Version:
- Source name/version: source-tiktok-marketing (master)
- Step: Locally running connector for the audience report stream
- Description:
When I am configuring a local catalog for the ads_audience_reports_daily
stream (see below) and running python main.py read --config secrets/config.json --catalog secrets/catalog.json
I am getting the following service error:
{
"code": 51011,
"message": "Service error: *search_engine.SearchServiceSearchCreativeArgs read field 1 'req' error: required field order_field is not set",
"request_id": "my_request_id",
"data": {}
}
I have also recreated this error in Postman.
There is no order_field
in any of the request_params
in the streams.py
file for tiktok-marketing
and even when adding an arbitrary order_field in Postman the same service error comes up.
So I am wondering how Airbyte/any users have been running this stream?
catalog.json:
{
"streams": [
{
"stream": {
"name": "ads_audience_reports_daily",
"json_schema": {
"type": ["null", "object"],
"additionalProperties": true,
"properties": {
"advertiser_id": {
"type": ["null", "integer"]
},
"adgroup_id": {
"type": ["null", "integer"]
},
"campaign_id": {
"type": ["null", "integer"]
},
"ad_id": {
"type": ["null", "integer"]
},
"stat_time_day": {
"type": ["null", "string"],
"format": "date-time"
},
"stat_time_hour": {
"type": ["null", "string"],
"format": "date-time"
},
"metrics": {
"type": ["null", "object"],
"properties": {
"campaign_name": {
"type": ["null", "string"]
},
"campaign_id": {
"type": ["null", "integer"]
},
"adgroup_name": {
"type": ["null", "string"]
},
"placement": {
"type": ["null", "string"]
},
"adgroup_id": {
"type": ["null", "integer"]
},
"ad_name": {
"type": ["null", "string"]
},
"ad_text": {
"type": ["null", "string"]
},
"tt_app_id": {
"type": ["null", "string"]
},
"tt_app_name": {
"type": ["null", "string"]
},
"mobile_app_id": {
"type": ["null", "string"]
},
"promotion_type": {
"type": ["null", "string"]
},
"dpa_target_audience_type": {
"type": ["null", "string"]
},
"spend": {
"type": ["null", "string"]
},
"cpc": {
"type": ["null", "string"]
},
"cpm": {
"type": ["null", "string"]
},
"impressions": {
"type": ["null", "string"]
},
"clicks": {
"type": ["null", "string"]
},
"ctr": {
"type": ["null", "string"]
},
"reach": {
"type": ["null", "string"]
},
"cost_per_1000_reached": {
"type": ["null", "string"]
},
"conversion": {
"type": ["null", "string"]
},
"cost_per_conversion": {
"type": ["null", "string"]
},
"conversion_rate": {
"type": ["null", "string"]
},
"real_time_conversion": {
"type": ["null", "string"]
},
"real_time_cost_per_conversion": {
"type": ["null", "string"]
},
"real_time_conversion_rate": {
"type": ["null", "string"]
},
"result": {
"type": ["null", "string"]
},
"cost_per_result": {
"type": ["null", "string"]
},
"result_rate": {
"type": ["null", "string"]
},
"real_time_result": {
"type": ["null", "string"]
},
"real_time_cost_per_result": {
"type": ["null", "string"]
},
"real_time_result_rate": {
"type": ["null", "string"]
}
}
},
"dimensions": {
"type": ["null", "object"],
"properties": {
"stat_time_day": {
"type": ["null", "string"],
"format": "date-time"
},
"stat_time_hour": {
"type": ["null", "string"],
"format": "date-time"
},
"country_code": {
"type": ["null", "string"]
},
"campaign_id": {
"type": ["null", "integer"]
},
"adgroup_id": {
"type": ["null", "integer"]
},
"ad_id": {
"type": ["null", "integer"]
},
"advertiser_id": {
"type": ["null", "integer"]
},
"gender": {
"type": ["null", "string"]
},
"age": {
"type": ["null", "string"]
},
"ac": {
"type": ["null", "string"]
},
"language": {
"type": ["null", "string"]
},
"platform": {
"type": ["null", "string"]
},
"interest_category": {
"type": ["null", "string"]
},
"placement": {
"type": ["null", "string"]
}
}
}
}
},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["stat_time_day"],
"source_defined_primary_key": [["ad_id"]]
},
"sync_mode": "incremental",
"destination_sync_mode": "append",
"cursor_field": ["stat_time_day"],
"primary_key": [["ad_id"]]
}
]
}