Skip to content

Commit

Permalink
fix: 🐛 add date as primary key for CampaignGranularReportsStream
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiascadee committed Oct 10, 2024
1 parent 8df30e5 commit bac49ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tap_apple_search_ads/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,5 +211,6 @@ class CampaignGranularReportsStream(GranularReportsStream):
path = "/reports/campaigns"
primary_keys: t.ClassVar[list[str]] = [
"campaignId",
] # make sure this is just one key for report streams.
"date",
] # make sure the first key is the report type
name = "campaign_granular_reports"

0 comments on commit bac49ab

Please sign in to comment.