Skip to content

Commit 3bac873

Browse files
feat:Amazon Ads - Add DAILY option for Reports streams & Auto-update start_date if past lookback(retention) period (#55217)
Co-authored-by: Octavia Squidington III <[email protected]>
1 parent 38c8607 commit 3bac873

20 files changed

+2878
-309
lines changed

airbyte-integrations/connectors/source-amazon-ads/acceptance-test-config.yml

+26
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,32 @@ acceptance_tests:
6565
bypass_reason: "can't populate stream because it requires real ad campaign"
6666
- name: sponsored_product_ad_group_bid_recommendations
6767
bypass_reason: "data is updated frequently"
68+
- name: sponsored_display_campaigns_report_stream_daily
69+
bypass_reason: "can't populate stream because it requires real ad campaign"
70+
- name: sponsored_products_keywords_report_stream_daily
71+
bypass_reason: "can't populate stream because it requires real ad campaign"
72+
- name: sponsored_display_productads_report_stream_daily
73+
bypass_reason: "can't populate stream because it requires real ad campaign"
74+
- name: sponsored_products_campaigns_report_stream_daily
75+
bypass_reason: "can't populate stream because it requires real ad campaign"
76+
- name: sponsored_products_asins_keywords_report_stream_daily
77+
bypass_reason: "can't populate stream because it requires real ad campaign"
78+
- name: sponsored_display_targets_report_stream_daily
79+
bypass_reason: "can't populate stream because it requires real ad campaign"
80+
- name: sponsored_products_productads_report_stream_daily
81+
bypass_reason: "can't populate stream because it requires real ad campaign"
82+
- name: sponsored_display_asins_report_stream_daily
83+
bypass_reason: "can't populate stream because it requires real ad campaign"
84+
- name: sponsored_brands_v3_report_stream_daily
85+
bypass_reason: "can't populate stream because it requires real ad campaign"
86+
- name: sponsored_products_asins_targets_report_stream_daily
87+
bypass_reason: "can't populate stream because it requires real ad campaign"
88+
- name: sponsored_products_adgroups_report_stream_daily
89+
bypass_reason: "can't populate stream because it requires real ad campaign"
90+
- name: sponsored_display_adgroups_report_stream_daily
91+
bypass_reason: "can't populate stream because it requires real ad campaign"
92+
- name: sponsored_products_targets_report_stream_daily
93+
bypass_reason: "can't populate stream because it requires real ad campaign"
6894
timeout_seconds: 2400
6995
expect_records:
7096
path: integration_tests/expected_records.jsonl

airbyte-integrations/connectors/source-amazon-ads/integration_tests/configured_catalog_report.json

+32
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,38 @@
3131
"cursor_field": ["reportDate"],
3232
"sync_mode": "incremental",
3333
"destination_sync_mode": "overwrite"
34+
},
35+
{
36+
"stream": {
37+
"name": "sponsored_products_report_stream_daily",
38+
"json_schema": {},
39+
"supported_sync_modes": ["full_refresh", "incremental"],
40+
"source_defined_primary_key": [
41+
["profileId"],
42+
["recordType"],
43+
["reportDate"],
44+
["recordId"]
45+
]
46+
},
47+
"cursor_field": ["reportDate"],
48+
"sync_mode": "incremental",
49+
"destination_sync_mode": "overwrite"
50+
},
51+
{
52+
"stream": {
53+
"name": "sponsored_brands_v3_report_stream_daily",
54+
"json_schema": {},
55+
"supported_sync_modes": ["full_refresh", "incremental"],
56+
"source_defined_primary_key": [
57+
["profileId"],
58+
["recordType"],
59+
["reportDate"],
60+
["recordId"]
61+
]
62+
},
63+
"cursor_field": ["reportDate"],
64+
"sync_mode": "incremental",
65+
"destination_sync_mode": "overwrite"
3466
}
3567
]
3668
}

airbyte-integrations/connectors/source-amazon-ads/metadata.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ data:
1313
connectorSubtype: api
1414
connectorType: source
1515
definitionId: c6b0a29e-1da9-4512-9002-7bfd0cba2246
16-
dockerImageTag: 7.1.7
16+
dockerImageTag: 7.2.0-rc.1
1717
dockerRepository: airbyte/source-amazon-ads
1818
documentationUrl: https://docs.airbyte.com/integrations/sources/amazon-ads
1919
githubIssueLabel: source-amazon-ads
@@ -34,6 +34,8 @@ data:
3434
enabled: true
3535
releaseStage: generally_available
3636
releases:
37+
rolloutConfiguration:
38+
enableProgressiveRollout: true
3739
breakingChanges:
3840
7.0.0:
3941
message:

airbyte-integrations/connectors/source-amazon-ads/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
version = "7.1.7"
6+
version = "7.2.0-rc.1"
77
name = "source-amazon-ads"
88
description = "Source implementation for Amazon Ads."
99
authors = [ "Airbyte <[email protected]>",]

0 commit comments

Comments
 (0)