Amazon Ads
This page contains the setup guide and reference information for the Amazon Ads source connector.
Prerequisites
- Client ID
- Client Secret
- Refresh Token
- Region
- Start Date (Optional)
- Profile IDs (Optional)
- Marketplace IDs (Optional)
Setup guide
Step 1: Set up Amazon Ads
Create an Amazon user with access to an Amazon Ads account.
For Airbyte Open Source:
To use the Amazon Ads API, you must first complete the onboarding process. The onboarding process has several steps and may take several days to complete. After completing all steps you will have to get the Amazon client application's Client ID
, Client Secret
and Refresh Token
.
Step 2: Set up the Amazon Ads connector in Airbyte
For Airbyte Cloud:
- Log into your Airbyte Cloud account.
- Click Sources and then click + New source.
- On the Set up the source page, select Amazon Ads from the Source type dropdown.
- Enter a name for the Amazon Ads connector.
- Click Authenticate your Amazon Ads account.
- Log in and Authorize to the Amazon account.
- Select Region to pull data from North America (NA), Europe (EU), Far East (FE). See docs for more details.
- Start Date (Optional) is used for generating reports starting from the specified start date. This should be in YYYY-MM-DD format and not more than 60 days in the past. If a date is not specified, today's date is used. The date is treated in the timezone of the processed profile.
- Profile IDs (Optional) you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See docs for more details.
- Marketplace IDs (Optional) you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- Click Set up source.
For Airbyte Open Source:
- Navigate to the Airbyte Open Source dashboard.
- Set the name for your source.
- Client ID of your Amazon Ads developer application. See onboarding process for more details.
- Client Secret of your Amazon Ads developer application. See onboarding process for more details.
- Refresh Token. See onboarding process for more details.
- Select Region to pull data from North America (NA), Europe (EU), Far East (FE). See docs for more details.
- Start Date (Optional) is used for generating reports starting from the specified start date. This should be in YYYY-MM-DD format and not more than 60 days in the past. If a date is not specified, today's date is used. The date is treated in the timezone of the processed profile.
- Profile IDs (Optional) you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See docs for more details.
- Marketplace IDs (Optional) you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
- Click Set up source.
For Airbyte Open Source:
- Client ID of your Amazon Ads developer application. See onboarding process for more details.
- Client Secret of your Amazon Ads developer application. See onboarding process for more details.
- Refresh Token. See onboarding process for more details.
- Select Region to pull data from North America (NA), Europe (EU), Far East (FE). See docs for more details.
- Start Date (Optional) is used for generating reports starting from the specified start date. This should be in YYYY-MM-DD format and not more than 60 days in the past. If a date is not specified, today's date is used. The date is treated in the timezone of the processed profile.
- Profile IDs (Optional) you want to fetch data for. The Amazon Ads source connector supports only profiles with seller and vendor type, profiles with agency type will be ignored. See docs for more details.
- Marketplace IDs (Optional) you want to fetch data for. Note: If Profile IDs are also selected, profiles will be selected if they match the Profile ID OR the Marketplace ID.
The Amazon Ads source connector uses Sponsored Products, Sponsored Brands, and Sponsored Display APIs which are not compatible with agency account type. See docs for more details. If you have only agency profile, please use accounts associated with the profile of seller/vendor type.
Supported sync modes
The Amazon Ads source connector supports the following sync modes:
- Full Refresh
- Incremental
Supported Streams
This source is capable of syncing the following streams:
- Profiles
- Portfolios
- Sponsored Brands Campaigns
- Sponsored Brands Ad groups
- Sponsored Brands Keywords
- Sponsored Display Campaigns
- Sponsored Display Ad groups
- Sponsored Display Product Ads
- Sponsored Display Targetings
- Sponsored Display Creatives
- Sponsored Display Budget Rules
- Sponsored Products Campaigns
- Sponsored Products Ad groups
- Sponsored Products Ad Group Bid Recommendations
- Sponsored Products Ad Group Suggested Keywords
- Sponsored Products Keywords
- Sponsored Products Negative keywords
- Sponsored Products Campaign Negative keywords
- Sponsored Products Ads
- Sponsored Products Targetings
- Brands Reports
- Brand Video Reports
- Display Reports
- Products Reports
- Attribution Reports
As of connector version 5.0.0, the Sponsored Products Ad Group Bid Recommendations
stream provides bid recommendations and impact metrics for an existing automatic targeting ad group. The stream returns bid recommendations for match types CLOSE_MATCH
, LOOSE_MATCH
, SUBSTITUTES
, and COMPLEMENTS
per theme. For more detail on theme-based bid recommendations, review Amazon's Theme-base bid suggestions - Quick-start guide.
Connector-specific features and highlights
All the reports are generated relative to the target profile's timezone.
Campaign reports may sometimes have no data or may not be presenting in records. This can occur when there are no clicks or views associated with the campaigns on the requested day - details.
Report data synchronization only covers the last 60 days - details.
Performance considerations
Information about expected report generation waiting time can be found here.
Data type map
Integration Type | Airbyte Type |
---|---|
string | string |
int , float , number | number |
date | date |
datetime | datetime |
array | array |
object | object |
Reference
Config fields reference
Changelog
Expand to review
Version | Date | Pull Request | Subject |
---|---|---|---|
6.1.0 | 2024-10-31 | 47940 | Bump CDK to ^5 |
6.0.0 | 2024-10-28 | 47366 | Migrate stream SponsoredDisplayReportStream to Amazon Ads Reports v3 |
5.0.20 | 2024-10-29 | 47032 | Update dependencies |
5.0.19 | 2024-10-12 | 46860 | Update dependencies |
5.0.18 | 2024-10-05 | 46451 | Update dependencies |
5.0.17 | 2024-09-28 | 45794 | Update dependencies |
5.0.16 | 2024-09-14 | 45548 | Update dependencies |
5.0.15 | 2024-09-07 | 45308 | Update dependencies |
5.0.14 | 2024-08-31 | 45051 | Update dependencies |
5.0.13 | 2024-08-24 | 44648 | Update dependencies |
5.0.12 | 2024-08-17 | 43845 | Update dependencies |
5.0.11 | 2024-08-12 | 43354 | Fix download request for sponsored_products_report_stream |
5.0.10 | 2024-08-10 | 42162 | Update dependencies |
5.0.9 | 2024-07-13 | 41876 | Update dependencies |
5.0.8 | 2024-07-10 | 41487 | Update dependencies |
5.0.7 | 2024-07-09 | 41143 | Update dependencies |
5.0.6 | 2024-07-06 | 40798 | Update dependencies |
5.0.5 | 2024-06-25 | 40403 | Update dependencies |
5.0.4 | 2024-06-21 | 39926 | Update dependencies |
5.0.3 | 2024-06-04 | 38962 | [autopull] Upgrade base image to v1.2.1 |
5.0.2 | 2024-05-29 | 38737 | Update authenticator to requests_native_auth package |
5.0.1 | 2024-04-29 | 37655 | Update error messages and spec with info about agency profile type. |
5.0.0 | 2024-03-22 | 36169 | Update SponsoredBrand and SponsoredProduct streams due to API endpoint deprecation |
4.1.0 | 2024-03-19 | 36267 | Pin airbyte-cdk version to ^0 |
4.0.4 | 2024-02-23 | 35481 | Migrate source to YamlDeclarativeSource with custom check_connection |
4.0.3 | 2024-02-12 | 35180 | Manage dependencies with Poetry |
4.0.2 | 2024-02-08 | 35013 | Add missing field to sponsored_display_budget_rules stream |
4.0.1 | 2023-12-28 | 33833 | Updated oauth spec to put region, so we can choose oauth consent url based on it |
4.0.0 | 2023-12-28 | 33817 | Fix schema for streams: SponsoredBrandsAdGroups and SponsoredBrandsKeywords |
3.4.2 | 2023-12-12 | 33361 | Fix unexpected crash when handling error messages which don't have requestId field |
3.4.1 | 2023-10-19 | 31599 | Base image migration: remove Dockerfile and use the python-connector-base image |
3.4.0 | 2023-06-09 | 25913 | Add Stream DisplayCreatives |
3.3.0 | 2023-09-22 | 30679 | Fix unexpected column for SponsoredProductCampaigns and SponsoredBrandsKeywords |
3.2.0 | 2023-09-18 | 30517 | Add suggested streams; fix unexpected column issue |
3.1.2 | 2023-08-16 | 29233 | Add filter for Marketplace IDs |
3.1.1 | 2023-08-28 | 29900 | Add 404 handling for no associated with bid ad groups |
3.1.0 | 2023-08-08 | 29212 | Add T00030 tactic support for sponsored_display_report_stream |
3.0.0 | 2023-07-24 | 27868 | Fix attribution report stream schemas |
2.3.1 | 2023-07-11 | 28155 | Bugfix: validation error when record values are missing |
2.3.0 | 2023-07-06 | 28002 | Add sponsored_product_ad_group_suggested_keywords, sponsored_product_ad_group_bid_recommendations streams |
2.2.0 | 2023-07-05 | 27607 | Add stream for sponsored brands v3 purchased product reports |
2.1.0 | 2023-06-19 | 25412 | Add sponsored_product_campaign_negative_keywords, sponsored_display_budget_rules streams |
2.0.0 | 2023-05-31 | 25874 | Type portfolioId as integer |
1.1.0 | 2023-04-22 | 25412 | Add missing reporting metrics |
1.0.6 | 2023-05-09 | 25913 | Small schema fixes |
1.0.5 | 2023-05-08 | 25885 | Improve error handling for attribution_report(s) streams |
1.0.4 | 2023-05-04 | 25792 | Add availability strategy for basic streams (not including report streams) |
1.0.3 | 2023-04-13 | 25146 | Validate pk for reports when expected pk is not returned |
1.0.2 | 2023-02-03 | 22355 | Migrate products_report stream to API v3 |
1.0.1 | 2022-11-01 | 18677 | Add optional config report_record_types |
1.0.0 | 2023-01-30 | 21677 | Fix bug with non-unique primary keys in report streams. Add asins_keywords and asins_targets |
0.1.29 | 2023-01-27 | 22038 | Set AvailabilityStrategy for streams explicitly to None |
0.1.28 | 2023-01-18 | 19491 | Add option to customize look back window value |
0.1.27 | 2023-01-05 | 21082 | Fix bug with handling: "Report date is too far in the past." - partial revert of #20662 |
0.1.26 | 2022-12-19 | 20662 | Fix bug with handling: "Report date is too far in the past." |
0.1.25 | 2022-11-08 | 18985 | Remove "report_wait_timeout", "report_generation_max_retries" from config |
0.1.24 | 2022-10-19 | 17475 | Add filters for state on brand, product and display campaigns |
0.1.23 | 2022-09-06 | 16342 | Add attribution reports |
0.1.22 | 2022-09-28 | 17304 | Migrate to per-stream state. |
0.1.21 | 2022-09-27 | 17202 | Improved handling if known reporting errors |
0.1.20 | 2022-09-08 | 16453 | Increase report_wait_timeout 30 -> 60 minutes |
0.1.19 | 2022-08-31 | 16191 | Improved connector's input configuration validation |
0.1.18 | 2022-08-25 | 15951 | Skip API error "Tactic T00020 is not supported for report API in marketplace A1C3SOZRARQ6R3." |
0.1.17 | 2022-08-24 | 15921 | Skip API error "Report date is too far in the past." |
0.1.16 | 2022-08-23 | 15822 | Set default value for region if needed |
0.1.15 | 2022-08-20 | 15816 | Update STATE of incremental sync if no records |
0.1.14 | 2022-08-15 | 15637 | Generate slices by lazy evaluation |
0.1.12 | 2022-08-09 | 15469 | Define primary_key for all report streams |
0.1.11 | 2022-07-28 | 15031 | Improve report streams date-range generation |
0.1.10 | 2022-07-26 | 15042 | Update additionalProperties field to true from schemas |
0.1.9 | 2022-05-08 | 12541 | Improve documentation for Beta |
0.1.8 | 2022-05-04 | 12482 | Update input configuration copy |
0.1.7 | 2022-04-27 | 11730 | Update fields in source-connectors specifications |
0.1.6 | 2022-04-20 | 11659 | Add adId to products report |
0.1.5 | 2022-04-08 | 11430 | Add support OAuth2.0 |
0.1.4 | 2022-02-21 | 10513 | Increasing REPORT_WAIT_TIMEOUT for supporting report generation which takes longer time |
0.1.3 | 2021-12-28 | 8388 | Add retry if recoverable error occurred for reporting stream processing |
0.1.2 | 2021-10-01 | 6367 | Add option to pull data for different regions. Add option to choose profiles we want to pull data. Add lookback |
0.1.1 | 2021-09-22 | 6367 | Add seller and vendor filters to profiles stream |
0.1.0 | 2021-08-13 | 5023 | Initial version |