José Lúcio Zancan Júnior
02/23/2023, 7:49 PMads_reports_daily stream, which according to the connector docs:
For example, if you select the daily-aggregation flavor of a report, the report will contain a row for each day for the duration of the report. Each row will indicate the number of impressions recorded on that day.
My issue is that in the destination dataset, I'm only seeing data for that day of each ad. (If I ran a sync yesterday, I can only see the yesterday's clicks/impressions/conversions. If I run a sync again today, yesterday's data is deleted and I start seeing only today's values.)
I suspect this behavior is caused by the sync mode, which is set to "Incremental | Deduped + history", with stat_time_day as cursor and ad_id as primary key.
But:
1. stat_time_day aren't suposed to be a primary key too? So the transformation can keep one entry for each day AND ad_id?
2. If I change the sync mode to "Incremental | Append", my problem is solved (kind of), but then I would make room for duplicates and missing data (days skipped due to errors or unavailability)
3. My guess is that for what I need, the "Incremental | *Deduped + history*" should work, but then I would need to set the stat_time_day as the primary key as well, which seems to be impossible, since this field cannot be changed in the connector replication settings.
Any tips or anyone in the same situation?
Thanks in advance.Nataly Merezhuk (Airbyte)
02/27/2023, 3:14 PMprimary_key field.
Can you send a screenshot of your UI where you're trying to set the custom primary key?Rachel RIZK
03/02/2023, 3:01 PMRachel RIZK
03/02/2023, 3:03 PMJosé Lúcio Zancan Júnior
03/06/2023, 2:53 AMRachel RIZK
03/06/2023, 9:21 AMNataly Merezhuk (Airbyte)
03/17/2023, 4:32 PMRachel RIZK
03/17/2023, 4:43 PM