criteo-marketing: ad_spend_daily check fails because advertiserIds is not configurable
- 主要語言
- Python
- 星號
- 22.1k
- 分支
- 5.4k
- 平均合併
- 5 小時
- 30 天內合併 PR
- 671
描述
### Connector Name
criteo-marketing
### Connector Version
0.0.7
### What step the error happened?
During the sync
### Relevant information
The Criteo Marketing source fails `check_connection_source` for the `ad_spend_daily` stream because the connector does not include `advertiserIds` in the request body for the Criteo statistics report endpoint.
Criteo now appears to require at least one advertiser id for this endpoint and it cannot be configured in airbyte
### Relevant log output
```shell
POST request to https://api.criteo.com/2025-10/statistics/report failed with status code 400.
Request body:
{
"format": "json",
"endDate": "",
"metrics": ["AdvertiserCost"],
"currency": "",
"startDate": "",
"dimensions": ["day", "AdvertiserId", "CampaignId", "AdSetId"]
}
Response body:
{
"warnings": [],
"errors": [
{
"type": "validation",
"code": "required-field",
"instance": "/statistics/v1/report",
"title": "At least one advertiser id must be provided.",
"detail": ""
}
]
}
Stream ad_spend_daily is not available: HTTP Status Code: 400.
Check failed.
```
### Contribute
- [ ] Yes, I want to contribute
---
**Internal Tracking:** https://github.com/airbytehq/oncall/issues/12946
貢獻指南
研究方向
Start with the criteo-marketing connector's ad_spend_daily stream and its check_connection_source path, then inspect how the Criteo statistics report request body is built. Make advertiserIds configurable and included in that request, and run the connector check or sync to confirm the report endpoint no longer returns the required-field error.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- api, data-engineering
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100