-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from fivetran/feature/amazon-ads
Feature/amazon ads
- Loading branch information
Showing
34 changed files
with
275 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: 'ad_reporting' | ||
version: '1.1.0' | ||
version: '1.2.0' | ||
|
||
config-version: 2 | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
id,last_updated_date,_fivetran_synced,campaign_id,creation_date,default_bid,name,serving_status,state | ||
421,2022-07-11 22:38:16.551000,2022-12-13 17:10:16.297000,2187,2022-07-11 22:38:16.551000,1.75,Red 7,CAMPAIGN_PAUSED,enabled | ||
501,2022-11-09 14:37:05.332000,2022-12-13 17:11:08.594000,5555,2022-11-09 14:37:05.332000,1.45,All,AD_GROUP_STATUS_ENABLED,enabled |
11 changes: 11 additions & 0 deletions
11
integration_tests/seeds/amazon_ads_ad_group_level_report_data.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ad_group_id,date,_fivetran_synced,campaign_bidding_strategy,clicks,cost,cost_per_click,impressions | ||
501,2022-12-03,2022-12-13 11:35:56.905000,legacy,0,0.0,0.0,88 | ||
501,2022-12-04,2022-12-13 11:35:56.908000,legacy,0,0.0,0.0,111 | ||
501,2022-12-01,2022-12-13 11:35:56.899000,legacy,0,0.0,0.0,252 | ||
501,2022-11-25,2022-12-13 11:31:52.129000,legacy,0,0.0,0.0,289 | ||
501,2022-12-11,2022-12-13 17:20:57.420000,legacy,2,2.01,1.0050000000000000,502 | ||
501,2022-11-18,2022-12-13 11:26:56.575000,legacy,1,0.54,0.54,163 | ||
501,2022-12-02,2022-12-13 11:35:56.902000,legacy,0,0.0,0.0,116 | ||
501,2022-11-19,2022-12-13 11:26:56.577000,legacy,0,0.0,0.0,232 | ||
501,2022-11-24,2022-12-13 11:31:52.126000,legacy,1,1.45,1.45,267 | ||
501,2022-12-07,2022-12-13 17:20:57.402000,legacy,2,3.76,1.88,335 |
11 changes: 11 additions & 0 deletions
11
integration_tests/seeds/amazon_ads_advertised_product_report_data.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ad_group_id,ad_id,campaign_id,date,_fivetran_synced,campaign_budget_amount,campaign_budget_currency_code,campaign_budget_type,click_through_rate,clicks,cost,cost_per_click,impressions | ||
501,8108,5555,2022-12-10,2022-12-13 17:17:13.167000,250.0,USD,DAILY_BUDGET,1.2048192771084300,2,2.53,1.265,166 | ||
501,8108,5555,2022-12-06,2022-12-13 17:17:13.017000,250.0,USD,DAILY_BUDGET,4.0,3,5.29,1.7633333333333300,75 | ||
421,77,2187,2022-08-20,2022-10-14 11:39:03.648000,2000.0,USD,DAILY_BUDGET,0.0,3,3.79,1.2633333333333300,1310 | ||
421,77,2187,2022-08-24,2022-10-14 11:40:58.005000,2000.0,USD,DAILY_BUDGET,0.0,3,9.34,3.1133333333333300,1262 | ||
421,77,2187,2022-08-16,2022-10-14 12:05:39.966000,2000.0,USD,DAILY_BUDGET,0.0,4,4.95,1.2375,1450 | ||
421,77,2187,2022-07-12,2022-10-14 12:07:22.930000,2000.0,USD,DAILY_BUDGET,0.0,62,172.54,2.7829032258064500,42144 | ||
421,77,2187,2022-08-19,2022-10-14 11:39:03.336000,2000.0,USD,DAILY_BUDGET,0.0,1,1.03,1.03,1359 | ||
421,77,2187,2022-08-17,2022-10-14 11:39:04.433000,2000.0,USD,DAILY_BUDGET,0.0,2,2.95,1.475,1345 | ||
421,77,2187,2022-07-13,2022-10-14 12:07:22.961000,2000.0,USD,DAILY_BUDGET,0.0,68,179.19,2.6351470588235300,60317 | ||
421,88,2187,2022-07-13,2022-10-14 12:07:22.961000,2000.0,USD,DAILY_BUDGET,0.0,26,50.25,1.9326923076923100,6111 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
id,last_updated_date,_fivetran_synced,bidding_strategy,campaign_type,creation_date,daily_budget,end_date,name,placement,portfolio_id,premium_bid_adjustment,profile_id,serving_status,start_date,state,targeting_type | ||
2187,2022-08-25 15:36:51.687000,2022-12-13 17:09:00.337000,autoForSales,sponsoredProducts,2022-07-11 22:38:16.327000,2000,,Gold Leader,,1138,false,66,CAMPAIGN_PAUSED,2022-07-11,paused,manual | ||
2187,2022-07-14 11:58:58.857000,2022-08-09 11:09:43.874000,autoForSales,sponsoredProducts,2022-07-11 22:38:16.327000,2000,,Gold Leader,,1138,false,66,CAMPAIGN_PAUSED,2022-07-11,paused,manual | ||
2187,2022-07-11 22:38:16.327000,2022-07-12 11:07:55.188000,autoForSales,sponsoredProducts,2022-07-11 22:38:16.327000,300,,Red Leader,,1138,false,66,CAMPAIGN_STATUS_ENABLED,2022-07-11,enabled,manual | ||
2187,2022-07-12 21:19:35.684000,2022-07-14 11:08:04.632000,autoForSales,sponsoredProducts,2022-07-11 22:38:16.327000,2000,,Gold Leader,,1138,false,66,CAMPAIGN_STATUS_ENABLED,2022-07-11,enabled,manual | ||
2187,2022-07-12 16:31:38.031000,2022-07-12 17:07:58.108000,autoForSales,sponsoredProducts,2022-07-11 22:38:16.327000,1000,,Gold Leader,,1138,true,66,CAMPAIGN_STATUS_ENABLED,2022-07-11,enabled,manual | ||
2187,2022-08-09 12:31:52.823000,2022-08-25 11:14:09.762000,autoForSales,sponsoredProducts,2022-07-11 22:38:16.327000,2000,,Gold Leader,,1138,false,66,CAMPAIGN_STATUS_ENABLED,2022-07-11,enabled,manual |
11 changes: 11 additions & 0 deletions
11
integration_tests/seeds/amazon_ads_campaign_level_report_data.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
campaign_id,date,_fivetran_synced,campaign_applicable_budget_rule_id,campaign_applicable_budget_rule_name,campaign_bidding_strategy,campaign_budget_amount,campaign_budget_currency_code,campaign_budget_type,click_through_rate,clicks,cost,cost_per_click,impressions | ||
2187,2022-07-26,2022-10-14 11:54:40.980000,,,optimizeForSales,2000.0,USD,DAILY_BUDGET,,0,0.0,0.0,0 | ||
2187,2022-07-21,2022-10-14 11:52:57.796000,,,optimizeForSales,2000.0,USD,DAILY_BUDGET,,0,0.0,0.0,0 | ||
2187,2022-08-29,2022-10-14 11:40:45.808000,,,optimizeForSales,2000.0,USD,DAILY_BUDGET,,0,0.0,0.0,0 | ||
2187,2022-08-31,2022-10-14 11:42:29.065000,,,optimizeForSales,2000.0,USD,DAILY_BUDGET,,0,0.0,0.0,0 | ||
2187,2022-07-27,2022-10-14 11:54:40.980000,,,optimizeForSales,2000.0,USD,DAILY_BUDGET,,0,0.0,0.0,0 | ||
2187,2022-08-28,2022-10-14 11:40:45.807000,,,optimizeForSales,2000.0,USD,DAILY_BUDGET,,0,0.0,0.0,0 | ||
2187,2022-09-06,2022-10-14 11:42:29.062000,,,optimizeForSales,2000.0,USD,DAILY_BUDGET,,0,0.0,0.0,0 | ||
2187,2022-07-11,2022-10-14 12:07:12.424000,,,optimizeForSales,2000.0,USD,DAILY_BUDGET,0.0,2,1.67,0.835,1095 | ||
2187,2022-07-15,2022-10-14 12:07:12.428000,,,optimizeForSales,2000.0,USD,DAILY_BUDGET,,0,0.0,0.0,0 | ||
2187,2022-07-18,2022-10-14 11:52:57.802000,,,optimizeForSales,2000.0,USD,DAILY_BUDGET,,0,0.0,0.0,0 |
10 changes: 10 additions & 0 deletions
10
integration_tests/seeds/amazon_ads_keyword_history_data.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
id,last_updated_date,_fivetran_synced,ad_group_id,bid,campaign_id,creation_date,keyword_text,match_type,native_language_keyword,serving_status,state | ||
1234,2022-07-11 22:38:16.775000,2022-07-13 11:12:56.827000,421,5.0,2187,2022-07-11 22:38:16.775000,b wing parts,exact,,TARGETING_CLAUSE_STATUS_LIVE,enabled | ||
1234,2022-07-13 15:21:15.060000,2022-12-13 17:11:43.865000,421,5.5,2187,2022-07-11 22:38:16.775000,b wing parts,exact,,CAMPAIGN_PAUSED,enabled | ||
5678,2022-07-11 22:38:16.771000,2022-12-13 17:11:43.865000,421,5.0,2187,2022-07-11 22:38:16.771000,y wing parts,exact,,CAMPAIGN_PAUSED,enabled | ||
9101112,2022-07-13 15:21:15.063000,2022-07-13 17:11:54.368000,421,5.5,2187,2022-07-11 22:38:16.770000,x wing parts,exact,,TARGETING_CLAUSE_STATUS_LIVE,enabled | ||
9101112,2022-07-13 19:41:32.006000,2022-12-13 17:11:43.865000,421,6.0,2187,2022-07-11 22:38:16.770000,x wing parts,exact,,CAMPAIGN_PAUSED,enabled | ||
9101112,2022-07-12 08:44:49.919000,2022-07-12 11:11:08.697000,421,8.0,2187,2022-07-11 22:38:16.770000,x wing parts,exact,,TARGETING_CLAUSE_STATUS_LIVE,enabled | ||
9101112,2022-07-12 16:31:54.290000,2022-07-12 17:10:04.567000,421,6.0,2187,2022-07-11 22:38:16.770000,x wing parts,exact,,TARGETING_CLAUSE_STATUS_LIVE,enabled | ||
9101112,2022-07-11 22:38:16.770000,2022-07-12 05:09:30.233000,421,5.0,2187,2022-07-11 22:38:16.770000,x wing parts,exact,,TARGETING_CLAUSE_STATUS_LIVE,enabled | ||
9101112,2022-07-12 21:16:58.353000,2022-07-13 11:12:56.827000,421,4.5,2187,2022-07-11 22:38:16.770000,x wing parts,exact,,TARGETING_CLAUSE_STATUS_LIVE,enabled |
2 changes: 2 additions & 0 deletions
2
integration_tests/seeds/amazon_ads_portfolio_history_data.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
id,last_updated_date,_fivetran_synced,budget_amount,budget_currency_code,budget_end_date,budget_policy,budget_start_date,creation_date,in_budget,name,profile_id,serving_status,state | ||
1138,2022-12-05 22:25:00.042000,2022-12-13 15:54:53.894000,,,,,,2022-12-05 22:25:00.042000,true,Empire,66,PORTFOLIO_STATUS_ENABLED,enabled |
4 changes: 4 additions & 0 deletions
4
integration_tests/seeds/amazon_ads_product_ad_history_data.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
id,last_updated_date,_fivetran_synced,ad_group_id,asin,campaign_id,creation_date,serving_status,sku,state | ||
8108,2022-11-09 14:37:06.258000,2022-12-13 17:11:51.378000,501,ABC123,5555,2022-11-09 14:37:06.258000,AD_STATUS_LIVE,,enabled | ||
77,2022-07-11 22:38:17.125000,2022-12-13 17:11:51.373000,421,DEF456,2187,2022-07-11 22:38:17.125000,CAMPAIGN_PAUSED,,enabled | ||
88,2022-07-11 22:38:17.125000,2022-12-13 17:11:51.373000,421,GHI789,2187,2022-07-11 22:38:17.125000,CAMPAIGN_PAUSED,,enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
id,_fivetran_deleted,_fivetran_synced,account_id,account_marketplace_string_id,account_name,account_sub_type,account_type,account_valid_payment_method,country_code,currency_code,daily_budget,timezone | ||
66,FALSE,2022-12-16 23:08:24.260000,ENTITY31174,XYZ123,Palpatine,,vendor,TRUE,US,USD,0,America/Los_Angeles |
11 changes: 11 additions & 0 deletions
11
integration_tests/seeds/amazon_ads_search_term_ad_keyword_report_data.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ad_group_id,campaign_id,date,keyword_id,_fivetran_synced,campaign_budget_amount,campaign_budget_currency_code,campaign_budget_type,clicks,cost,cost_per_click,impressions,keyword_bid,search_term,targeting | ||
421,2187,2022-08-23,1234,2022-10-14 11:40:37.510000,2000.0,USD,DAILY_BUDGET,1,1.5,1.5,566,5.0,b wing parts,b wing parts | ||
421,2187,2022-08-20,5678,2022-10-14 11:39:03.984000,2000.0,USD,DAILY_BUDGET,1,0.35,0.35,323,5.0,y wing parts,y wing parts | ||
421,2187,2022-08-20,1234,2022-10-14 11:39:03.984000,2000.0,USD,DAILY_BUDGET,1,0.72,0.72,549,5.0,b wing parts,b wing parts | ||
421,2187,2022-08-17,5678,2022-10-14 11:39:04.610000,2000.0,USD,DAILY_BUDGET,1,1.52,1.52,407,5.0,y wing parts,y wing parts | ||
421,2187,2022-08-18,1234,2022-10-14 11:39:04.610000,2000.0,USD,DAILY_BUDGET,1,1.74,1.74,128,5.0,b wing parts,b wing parts | ||
421,2187,2022-08-13,1234,2022-10-14 12:05:31.374000,2000.0,USD,DAILY_BUDGET,2,7.33,3.665,367,5.0,b wing parts,b wing parts | ||
421,2187,2022-08-24,1234,2022-10-14 11:40:37.528000,2000.0,USD,DAILY_BUDGET,1,0.91,0.91,508,5.0,b wing parts,b wing parts | ||
421,2187,2022-08-10,1234,2022-10-14 12:05:31.279000,2000.0,USD,DAILY_BUDGET,1,1.22,1.22,566,5.0,b wing parts,b wing parts | ||
421,2187,2022-08-24,5678,2022-10-14 11:40:37.528000,2000.0,USD,DAILY_BUDGET,1,0.39,0.39,396,5.0,y wing parts,y wing parts | ||
421,2187,2022-08-25,9101112,2022-10-14 11:40:37.528000,2000.0,USD,DAILY_BUDGET,3,5.54,1.8466666666666700,1818,6.0,x wing parts,x wing parts |
Oops, something went wrong.