-- DBMS: snowflake
CREATE TABLE AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET.PUBLIC.ADS_SPONSORED_PRODUCTS_CAMPAIGNS_VC (
    CAMPAIGN_TYPE TEXT,
    _REVISION NUMBER,
    STATUS TEXT,
    CLICKS FLOAT,
    SPEND FLOAT,
    ID NUMBER,
    CAMPAIGN_NAME TEXT,
    _CREATED_ON TIMESTAMP_LTZ,
    ROW_INDEX NUMBER,
    14_DAY_TOTAL_ORDERS FLOAT,
    END_DATE TIMESTAMP_LTZ,
    _LAST_UPDATED_ON TIMESTAMP_LTZ,
    CLICK_THRU_RATE_CTR FLOAT,
    START_DATE TIMESTAMP_LTZ,
    LAST_YEAR_SPEND FLOAT,
    IMPRESSIONS FLOAT,
    BUDGET FLOAT,
    COST_PER_CLICK_CPC FLOAT,
    CURRENCY TEXT,
    TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS FLOAT,
    LAST_YEAR_COST_CPC FLOAT,
    14_DAY_TOTAL_SALES FLOAT,
    _PARTNERUUID TEXT,
    TOTAL_ADVERTISING_COST_OF_SALES_ACOS FLOAT,
    BIDDING_STRATEGY TEXT,
    LAST_YEAR_IMPRESSIONS FLOAT,
    DATE TIMESTAMP_LTZ,
    PORTFOLIO_NAME TEXT,
    TARGETING_TYPE TEXT,
    LAST_YEAR_CLICKS FLOAT
);

INSERT INTO "AMAZON_VENDOR_ANALYTICS__SAMPLE_DATASET"."PUBLIC"."ADS_SPONSORED_PRODUCTS_CAMPAIGNS_VC" (CAMPAIGN_TYPE, _REVISION, STATUS, CLICKS, SPEND, ID, CAMPAIGN_NAME, _CREATED_ON, ROW_INDEX, 14_DAY_TOTAL_ORDERS, END_DATE, _LAST_UPDATED_ON, CLICK_THRU_RATE_CTR, START_DATE, LAST_YEAR_SPEND, IMPRESSIONS, BUDGET, COST_PER_CLICK_CPC, CURRENCY, TOTAL_RETURN_ON_ADVERTISING_SPEND_ROAS, LAST_YEAR_COST_CPC, 14_DAY_TOTAL_SALES, _PARTNERUUID, TOTAL_ADVERTISING_COST_OF_SALES_ACOS, BIDDING_STRATEGY, LAST_YEAR_IMPRESSIONS, DATE, PORTFOLIO_NAME, TARGETING_TYPE, LAST_YEAR_CLICKS) VALUES ('Sponsored Products', 3, 'PAUSED', 25.0, 38.58, 303967, 'NAME_3', '2022-07-15 04:49:43-07:00', 1, 4.0, NULL, '2022-07-19 11:14:39-07:00', 0.55, '2022-03-03 00:00:00-08:00', 0.0, 4577.0, 25.0, 1.5432, 'USD', 0.67, 0.0, 26.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 148.39, 'Dynamic bids - down only', 0.0, '2022-02-05 00:00:00-08:00', 'NAME_1', 'Manual targeting', 0.0), ('Sponsored Products', 3, 'PAUSED', 21.0, 33.51, 303979, 'NAME_3', '2022-07-15 04:49:43-07:00', 2, 0.0, NULL, '2022-07-19 11:14:39-07:00', 0.39, '2022-03-03 00:00:00-08:00', 0.0, 5407.0, 25.0, 1.5957143, 'USD', 0.0, 0.0, 0.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 0.0, 'Dynamic bids - down only', 0.0, '2022-02-13 00:00:00-08:00', 'NAME_1', 'Manual targeting', 0.0), ('Sponsored Products', 3, 'PAUSED', 18.0, 34.02, 303988, 'NAME_3', '2022-07-15 04:49:43-07:00', 1, 2.0, NULL, '2022-07-19 11:14:39-07:00', 0.47, '2022-03-03 00:00:00-08:00', 0.0, 3841.0, 25.0, 1.89, 'USD', 0.41, 0.0, 14.0, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 243.0, 'Dynamic bids - down only', 0.0, '2022-02-21 00:00:00-08:00', 'NAME_1', 'Manual targeting', 0.0), ('Sponsored Products', 3, 'PAUSED', 23.0, 37.17, 303991, 'NAME_3', '2022-07-15 04:49:43-07:00', 1, 9.0, NULL, '2022-07-19 11:14:39-07:00', 0.46, '2022-03-03 00:00:00-08:00', 0.0, 5009.0, 25.0, 1.616087, 'USD', 1.34, 0.0, 49.98, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 74.37, 'Dynamic bids - down only', 0.0, '2022-02-24 00:00:00-08:00', 'NAME_1', 'Manual targeting', 0.0), ('Sponsored Products', 3, 'PAUSED', 27.0, 43.09, 304015, 'NAME_3', '2022-07-15 04:49:43-07:00', 1, 7.0, NULL, '2022-07-19 11:14:39-07:00', 0.34, '2022-03-03 00:00:00-08:00', 0.0, 8059.0, 25.0, 1.5959259, 'USD', 0.87, 0.0, 37.49, '0ba25d78-760e-4541-8eca-e4ff8292d0b1', 114.94, 'Dynamic bids - down only', 0.0, '2022-03-20 00:00:00-07:00', 'NAME_1', 'Manual targeting', 0.0);