> For the complete documentation index, see [llms.txt](https://help.daasity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.daasity.com/core-concepts/data-integrations/setup-guides/digital-integrations/instacart-ads-beta/integration-specifications.md).

# Integration Specifications

Instacart Ads is Instacart's advertising platform. The Daasity integration pulls in campaign, ad group and product details for your Sponsored Product, Display, Video and Inspiration campaigns, along with daily spend and performance reports.

{% hint style="info" %}
This integration is currently in Beta.
{% endhint %}

## Refresh Cadence

The Instacart Ads extractor updates daily. In each update, we pull spend reports for the previous 2 days. Campaign, ad group and product tables are reloaded in full on every update.

A history load only loads the spend reports. Campaign, ad group and product tables are loaded by the daily update.

## Availability

This integration is available for:

* Enterprise

## API Endpoints

This extractor is based on the [Instacart Ads API docs](https://api.ads.instacart.com/docs/v3). The following endpoints are used to replicate data into Daasity:

* [GET /products/product\_mapping](https://api.ads.instacart.com/docs/v3#retrieve-entire-product-catalog-for-an-account) (no historical extraction)
* [GET /campaigns](https://api.ads.instacart.com/docs/v3#retrieve-a-list-of-campaigns) (no historical extraction)
* [GET /ad\_groups](https://api.ads.instacart.com/docs/v3#retrieve-all-ad-groups) (no historical extraction)
* [GET /ad\_group\_products](https://api.ads.instacart.com/docs/v3#list-all-ad-group-products) (no historical extraction)
* [GET /display/campaigns](https://api.ads.instacart.com/docs/v3#retrieve-a-list-of-display-campaigns) (no historical extraction)
* [GET /display/ad\_groups](https://api.ads.instacart.com/docs/v3#retrieve-all-display-ad-groups) (no historical extraction)
* [GET /video/campaigns](https://api.ads.instacart.com/docs/v3#retrieve-a-list-of-video-campaigns) (no historical extraction)
* [GET /video/ad\_groups](https://api.ads.instacart.com/docs/v3#retrieve-all-video-ad-groups) (no historical extraction)
* [GET /inspiration/campaigns](https://api.ads.instacart.com/docs/v3#retrieve-a-list-of-inspiration-campaigns) (no historical extraction)
* [GET /inspiration/ad\_groups](https://api.ads.instacart.com/docs/v3#retrieve-all-inspiration-ad-groups) (no historical extraction)
* Reporting, using the Sponsored Product (product level), Display, Video and Inspiration sources

## Instacart Ads Schema

The Instacart Ads extractor creates these tables using the endpoints and replication methods listed. The data is mapped from source API endpoint to the table based on the mapping logic outlined in each table.

* [Product Mapping](#product-mapping)
* [Sponsored Product Campaigns](#sponsored-product-campaigns)
* [Sponsored Product Ad Groups](#sponsored-product-ad-groups)
* [Sponsored Product Ad Group Products](#sponsored-product-ad-group-products)
* [Display Campaigns](#display-campaigns)
* [Display Ad Groups](#display-ad-groups)
* [Video Campaigns](#video-campaigns)
* [Video Ad Groups](#video-ad-groups)
* [Inspiration Campaigns](#inspiration-campaigns)
* [Inspiration Ad Groups](#inspiration-ad-groups)
* [Sponsored Product Product Spends](#sponsored-product-product-spends)
* [Display Ad Group Spends](#display-ad-group-spends)
* [Video Ad Group Spends](#video-ad-group-spends)
* [Inspiration Ad Group Spends](#inspiration-ad-group-spends)

### Product Mapping

* Endpoint: [GET /products/product\_mapping](https://api.ads.instacart.com/docs/v3#retrieve-entire-product-catalog-for-an-account)
* Update Method: UPSERT
* Table Name: `instacart_ads.product_mapping`

| JSON Element                             | Database Column       |
| ---------------------------------------- | --------------------- |
| attributes.product\_id                   | `external_product_id` |
| attributes.upc                           | `upc`                 |
| attributes.product\_name                 | `product_name`        |
| attributes.brand\_name                   | `brand_name`          |
| attributes.product\_url                  | `product_url`         |
| attributes.product\_image\_url           | `image_url`           |
| attributes.product\_size                 | `size`                |
| attributes.product\_unit\_count          | `unit_count`          |
| attributes.classified\_type              | `classified_type`     |
| attributes.commodity\_scope              | `commodity_scope`     |
| Advertiser ID entered on the integration | `source_id`           |
| Daasity integration ID                   | `integration_id`      |
| Daasity account ID                       | `_account_id`         |
| Generated by Daasity                     | `__sync_key`          |
| Time the row was loaded                  | `__synced_at`         |

### Sponsored Product Campaigns

* Endpoint: [GET /campaigns](https://api.ads.instacart.com/docs/v3#retrieve-a-list-of-campaigns)
* Update Method: UPSERT
* Table Name: `instacart_ads.sponsored_product_campaigns`

| JSON Element                             | Database Column              |
| ---------------------------------------- | ---------------------------- |
| id                                       | `campaign_id`                |
| attributes.name                          | `campaign_name`              |
| attributes.campaign\_type                | `campaign_type`              |
| attributes.campaign\_status              | `campaign_status`            |
| attributes.enabled                       | `enabled`                    |
| attributes.budget                        | `budget`                     |
| attributes.budget\_type                  | `budget_type`                |
| attributes.target\_daily\_budget         | `target_daily_budget`        |
| attributes.scheduled\_start\_at          | `scheduled_start_at`         |
| attributes.scheduled\_end\_at            | `scheduled_end_at`           |
| attributes.scheduled\_start\_at\_date    | `scheduled_start_at_date`    |
| attributes.scheduled\_end\_at\_date      | `scheduled_end_at_date`      |
| attributes.objective                     | `objective`                  |
| attributes.objective\_custom             | `objective_custom`           |
| attributes.memo                          | `memo`                       |
| attributes.purchase\_order               | `purchase_order`             |
| attributes.payment\_type                 | `payment_type`               |
| attributes.partner\_owned\_and\_operated | `partner_owned_and_operated` |
| attributes.optimized\_bidding\_enabled   | `optimized_bidding_enabled`  |
| attributes.optimized\_bidding\_goal      | `optimized_bidding_goal`     |
| Advertiser ID entered on the integration | `source_id`                  |
| Daasity integration ID                   | `integration_id`             |
| Daasity account ID                       | `_account_id`                |
| Generated by Daasity                     | `__sync_key`                 |
| Time the row was loaded                  | `__synced_at`                |

### Sponsored Product Ad Groups

* Endpoint: [GET /ad\_groups](https://api.ads.instacart.com/docs/v3#retrieve-all-ad-groups)
* Update Method: UPSERT
* Table Name: `instacart_ads.sponsored_product_ad_groups`

| JSON Element                             | Database Column   |
| ---------------------------------------- | ----------------- |
| id                                       | `ad_group_id`     |
| Campaign ID used in the request          | `campaign_id`     |
| attributes.name                          | `ad_group_name`   |
| attributes.ad\_group\_status             | `ad_group_status` |
| attributes.enabled                       | `enabled`         |
| attributes.targeting\_type               | `targeting_type`  |
| attributes.default\_bid                  | `default_bid`     |
| attributes.product\_count                | `product_count`   |
| Advertiser ID entered on the integration | `source_id`       |
| Daasity integration ID                   | `integration_id`  |
| Daasity account ID                       | `_account_id`     |
| Generated by Daasity                     | `__sync_key`      |
| Time the row was loaded                  | `__synced_at`     |

### Sponsored Product Ad Group Products

* Endpoint: [GET /ad\_group\_products](https://api.ads.instacart.com/docs/v3#list-all-ad-group-products)
* Update Method: UPSERT
* Table Name: `instacart_ads.sponsored_product_ad_group_products`

| JSON Element                             | Database Column           |
| ---------------------------------------- | ------------------------- |
| id                                       | `ad_group_product_id`     |
| Ad group ID used in the request          | `ad_group_id`             |
| attributes.product\_id                   | `external_product_id`     |
| attributes.upc                           | `upc`                     |
| attributes.product\_name                 | `product_name`            |
| attributes.brand\_name                   | `brand_name`              |
| attributes.product\_url                  | `product_url`             |
| attributes.product\_image\_url           | `image_url`               |
| attributes.product\_size                 | `size`                    |
| attributes.product\_classified\_type     | `product_classified_type` |
| attributes.ad\_group\_product\_status    | `product_status`          |
| attributes.enabled                       | `enabled`                 |
| Advertiser ID entered on the integration | `source_id`               |
| Daasity integration ID                   | `integration_id`          |
| Daasity account ID                       | `_account_id`             |
| Generated by Daasity                     | `__sync_key`              |
| Time the row was loaded                  | `__synced_at`             |

### Display Campaigns

* Endpoint: [GET /display/campaigns](https://api.ads.instacart.com/docs/v3#retrieve-a-list-of-display-campaigns)
* Update Method: UPSERT
* Table Name: `instacart_ads.display_campaigns`

| JSON Element                               | Database Column                 |
| ------------------------------------------ | ------------------------------- |
| id                                         | `campaign_id`                   |
| attributes.name                            | `campaign_name`                 |
| attributes.campaign\_type                  | `campaign_type`                 |
| attributes.enabled                         | `enabled`                       |
| attributes.objective                       | `objective`                     |
| attributes.budget                          | `budget`                        |
| attributes.pacing\_type                    | `pacing_type`                   |
| attributes.status                          | `status`                        |
| attributes.starts\_at                      | `starts_at`                     |
| attributes.ends\_at                        | `ends_at`                       |
| attributes.scheduled\_start\_at\_date      | `scheduled_start_at_date`       |
| attributes.scheduled\_end\_at\_date        | `scheduled_end_at_date`         |
| attributes.memo                            | `memo`                          |
| attributes.purchase\_order                 | `purchase_order`                |
| attributes.account\_id                     | `advertiser_account_id`         |
| attributes.goal\_format                    | `goal_format`                   |
| attributes.optimized\_performance\_enabled | `optimized_performance_enabled` |
| attributes.partner\_owned\_and\_operated   | `partner_owned_and_operated`    |
| attributes.contains\_rejected\_ad\_group   | `contains_rejected_ad_group`    |
| Advertiser ID entered on the integration   | `source_id`                     |
| Daasity integration ID                     | `integration_id`                |
| Daasity account ID                         | `_account_id`                   |
| Generated by Daasity                       | `__sync_key`                    |
| Time the row was loaded                    | `__synced_at`                   |

### Display Ad Groups

* Endpoint: [GET /display/ad\_groups](https://api.ads.instacart.com/docs/v3#retrieve-all-display-ad-groups)
* Update Method: UPSERT
* Table Name: `instacart_ads.display_ad_groups`

| JSON Element                                        | Database Column      |
| --------------------------------------------------- | -------------------- |
| id                                                  | `ad_group_id`        |
| attributes.campaign\_id                             | `campaign_id`        |
| attributes.name                                     | `ad_group_name`      |
| attributes.default\_bid                             | `default_bid`        |
| attributes.enabled                                  | `enabled`            |
| attributes.status                                   | `status`             |
| attributes.creative.id                              | `creative_id`        |
| attributes.creative.type                            | `creative_type`      |
| attributes.targeting\_strategy.keyword\_match\_type | `keyword_match_type` |
| attributes.targeting\_strategy.targeting\_shortcut  | `targeting_shortcut` |
| attributes.created\_at                              | `created_at`         |
| attributes.updated\_at                              | `updated_at`         |
| Advertiser ID entered on the integration            | `source_id`          |
| Daasity integration ID                              | `integration_id`     |
| Daasity account ID                                  | `_account_id`        |
| Generated by Daasity                                | `__sync_key`         |
| Time the row was loaded                             | `__synced_at`        |

### Video Campaigns

* Endpoint: [GET /video/campaigns](https://api.ads.instacart.com/docs/v3#retrieve-a-list-of-video-campaigns)
* Update Method: UPSERT
* Table Name: `instacart_ads.video_campaigns`

| JSON Element                               | Database Column                 |
| ------------------------------------------ | ------------------------------- |
| id                                         | `campaign_id`                   |
| attributes.name                            | `campaign_name`                 |
| attributes.campaign\_type                  | `campaign_type`                 |
| attributes.enabled                         | `enabled`                       |
| attributes.objective                       | `objective`                     |
| attributes.budget                          | `budget`                        |
| attributes.pacing\_type                    | `pacing_type`                   |
| attributes.status                          | `status`                        |
| attributes.starts\_at                      | `starts_at`                     |
| attributes.ends\_at                        | `ends_at`                       |
| attributes.scheduled\_start\_at\_date      | `scheduled_start_at_date`       |
| attributes.scheduled\_end\_at\_date        | `scheduled_end_at_date`         |
| attributes.memo                            | `memo`                          |
| attributes.purchase\_order                 | `purchase_order`                |
| attributes.account\_id                     | `advertiser_account_id`         |
| attributes.goal\_format                    | `goal_format`                   |
| attributes.optimized\_performance\_enabled | `optimized_performance_enabled` |
| attributes.partner\_owned\_and\_operated   | `partner_owned_and_operated`    |
| attributes.contains\_rejected\_ad\_group   | `contains_rejected_ad_group`    |
| Advertiser ID entered on the integration   | `source_id`                     |
| Daasity integration ID                     | `integration_id`                |
| Daasity account ID                         | `_account_id`                   |
| Generated by Daasity                       | `__sync_key`                    |
| Time the row was loaded                    | `__synced_at`                   |

### Video Ad Groups

* Endpoint: [GET /video/ad\_groups](https://api.ads.instacart.com/docs/v3#retrieve-all-video-ad-groups)
* Update Method: UPSERT
* Table Name: `instacart_ads.video_ad_groups`

| JSON Element                                        | Database Column      |
| --------------------------------------------------- | -------------------- |
| id                                                  | `ad_group_id`        |
| attributes.campaign\_id                             | `campaign_id`        |
| attributes.name                                     | `ad_group_name`      |
| attributes.default\_bid                             | `default_bid`        |
| attributes.enabled                                  | `enabled`            |
| attributes.status                                   | `status`             |
| attributes.creative.id                              | `creative_id`        |
| attributes.creative.type                            | `creative_type`      |
| attributes.targeting\_strategy.keyword\_match\_type | `keyword_match_type` |
| attributes.targeting\_strategy.targeting\_shortcut  | `targeting_shortcut` |
| attributes.created\_at                              | `created_at`         |
| attributes.updated\_at                              | `updated_at`         |
| Advertiser ID entered on the integration            | `source_id`          |
| Daasity integration ID                              | `integration_id`     |
| Daasity account ID                                  | `_account_id`        |
| Generated by Daasity                                | `__sync_key`         |
| Time the row was loaded                             | `__synced_at`        |

### Inspiration Campaigns

* Endpoint: [GET /inspiration/campaigns](https://api.ads.instacart.com/docs/v3#retrieve-a-list-of-inspiration-campaigns)
* Update Method: UPSERT
* Table Name: `instacart_ads.inspiration_campaigns`

| JSON Element                               | Database Column                 |
| ------------------------------------------ | ------------------------------- |
| id                                         | `campaign_id`                   |
| attributes.name                            | `campaign_name`                 |
| attributes.campaign\_type                  | `campaign_type`                 |
| attributes.enabled                         | `enabled`                       |
| attributes.objective                       | `objective`                     |
| attributes.budget                          | `budget`                        |
| attributes.pacing\_type                    | `pacing_type`                   |
| attributes.status                          | `status`                        |
| attributes.starts\_at                      | `starts_at`                     |
| attributes.ends\_at                        | `ends_at`                       |
| attributes.scheduled\_start\_at\_date      | `scheduled_start_at_date`       |
| attributes.scheduled\_end\_at\_date        | `scheduled_end_at_date`         |
| attributes.memo                            | `memo`                          |
| attributes.purchase\_order                 | `purchase_order`                |
| attributes.account\_id                     | `advertiser_account_id`         |
| attributes.goal\_format                    | `goal_format`                   |
| attributes.optimized\_performance\_enabled | `optimized_performance_enabled` |
| attributes.partner\_owned\_and\_operated   | `partner_owned_and_operated`    |
| attributes.contains\_rejected\_ad\_group   | `contains_rejected_ad_group`    |
| Advertiser ID entered on the integration   | `source_id`                     |
| Daasity integration ID                     | `integration_id`                |
| Daasity account ID                         | `_account_id`                   |
| Generated by Daasity                       | `__sync_key`                    |
| Time the row was loaded                    | `__synced_at`                   |

### Inspiration Ad Groups

* Endpoint: [GET /inspiration/ad\_groups](https://api.ads.instacart.com/docs/v3#retrieve-all-inspiration-ad-groups)
* Update Method: UPSERT
* Table Name: `instacart_ads.inspiration_ad_groups`

| JSON Element                                        | Database Column      |
| --------------------------------------------------- | -------------------- |
| id                                                  | `ad_group_id`        |
| attributes.campaign\_id                             | `campaign_id`        |
| attributes.name                                     | `ad_group_name`      |
| attributes.default\_bid                             | `default_bid`        |
| attributes.enabled                                  | `enabled`            |
| attributes.status                                   | `status`             |
| attributes.creative.id                              | `creative_id`        |
| attributes.creative.type                            | `creative_type`      |
| attributes.targeting\_strategy.keyword\_match\_type | `keyword_match_type` |
| attributes.targeting\_strategy.targeting\_shortcut  | `targeting_shortcut` |
| attributes.created\_at                              | `created_at`         |
| attributes.updated\_at                              | `updated_at`         |
| Advertiser ID entered on the integration            | `source_id`          |
| Daasity integration ID                              | `integration_id`     |
| Daasity account ID                                  | `_account_id`        |
| Generated by Daasity                                | `__sync_key`         |
| Time the row was loaded                             | `__synced_at`        |

### Sponsored Product Product Spends

* Endpoint: Reporting source [sponsored\_product\_product](https://api.ads.instacart.com/docs/v3#source-sponsored-product-product)
* Update Method: UPSERT
* Table Name: `instacart_ads.sponsored_product_product_spends`

One row per day, campaign, ad group and product. This is the only report with product-level detail.

| Report Column                             | Database Column                   |
| ----------------------------------------- | --------------------------------- |
| campaign.id                               | `campaign_id`                     |
| campaign.name                             | `campaign_name`                   |
| ad\_group.id                              | `ad_group_id`                     |
| ad\_group.name                            | `ad_group_name`                   |
| product.id                                | `product_id`                      |
| product.product\_id                       | `external_product_id`             |
| product.name                              | `product_name`                    |
| event.date                                | `event_date`                      |
| event.spend                               | `spend`                           |
| event.impressions                         | `impressions`                     |
| event.clicks                              | `clicks`                          |
| event.ctr                                 | `ctr`                             |
| event.cpc                                 | `cpc`                             |
| event.roas\_linear                        | `roas_linear`                     |
| event.roas\_last\_touch                   | `roas_last_touch`                 |
| event.attributed\_sales\_linear           | `attributed_sales_linear`         |
| event.attributed\_sales\_last\_touch      | `attributed_sales_last_touch`     |
| event.attributed\_units\_linear           | `attributed_units_linear`         |
| event.attributed\_units\_last\_touch      | `attributed_units_last_touch`     |
| event.ntb\_attributed\_sales\_linear      | `ntb_attributed_sales_linear`     |
| event.ntb\_attributed\_sales\_last\_touch | `ntb_attributed_sales_last_touch` |
| event.percent\_ntb\_sales\_linear         | `percent_ntb_sales_linear`        |
| event.percent\_ntb\_sales\_last\_touch    | `percent_ntb_sales_last_touch`    |
| event.ntb\_spend                          | `ntb_spend`                       |
| event.ntb\_roas\_linear                   | `ntb_roas_linear`                 |
| event.ntb\_roas\_last\_touch              | `ntb_roas_last_touch`             |
| Advertiser ID entered on the integration  | `source_id`                       |
| Daasity integration ID                    | `integration_id`                  |
| Daasity account ID                        | `_account_id`                     |
| Generated by Daasity                      | `__sync_key`                      |
| Time the row was loaded                   | `__synced_at`                     |

### Display Ad Group Spends

* Endpoint: Reporting source [display](https://api.ads.instacart.com/docs/v3#source-display)
* Update Method: UPSERT
* Table Name: `instacart_ads.display_ad_group_spends`

One row per day, campaign and ad group.

| Report Column                                           | Database Column                               |
| ------------------------------------------------------- | --------------------------------------------- |
| campaign.id                                             | `campaign_id`                                 |
| campaign.name                                           | `campaign_name`                               |
| ad\_group.id                                            | `ad_group_id`                                 |
| ad\_group.name                                          | `ad_group_name`                               |
| event.date                                              | `event_date`                                  |
| event.spend                                             | `spend`                                       |
| event.impressions                                       | `impressions`                                 |
| event.clicks                                            | `clicks`                                      |
| event.ctr                                               | `ctr`                                         |
| event.cpm                                               | `cpm`                                         |
| event.direct\_roas\_last\_touch                         | `direct_roas_last_touch`                      |
| event.direct\_roas\_multi\_touch\_linear                | `direct_roas_multi_touch_linear`              |
| event.direct\_sales\_last\_touch                        | `direct_sales_last_touch`                     |
| event.direct\_sales\_multi\_touch\_linear               | `direct_sales_multi_touch_linear`             |
| event.attributed\_units\_linear                         | `attributed_units_linear`                     |
| event.attributed\_units\_last\_touch                    | `attributed_units_last_touch`                 |
| event.halo\_roas\_last\_touch                           | `halo_roas_last_touch`                        |
| event.halo\_roas\_multi\_touch\_linear                  | `halo_roas_multi_touch_linear`                |
| event.halo\_sales\_last\_touch                          | `halo_sales_last_touch`                       |
| event.halo\_sales\_multi\_touch\_linear                 | `halo_sales_multi_touch_linear`               |
| event.ntb\_direct\_sales\_last\_touch                   | `ntb_direct_sales_last_touch`                 |
| event.ntb\_direct\_sales\_multi\_touch\_linear          | `ntb_direct_sales_multi_touch_linear`         |
| event.ntb\_halo\_sales\_last\_touch                     | `ntb_halo_sales_last_touch`                   |
| event.ntb\_halo\_sales\_multi\_touch\_linear            | `ntb_halo_sales_multi_touch_linear`           |
| event.percent\_ntb\_direct\_sales\_last\_touch          | `percent_ntb_direct_sales_last_touch`         |
| event.percent\_ntb\_direct\_sales\_multi\_touch\_linear | `percent_ntb_direct_sales_multi_touch_linear` |
| event.percent\_ntb\_halo\_sales\_last\_touch            | `percent_ntb_halo_sales_last_touch`           |
| event.percent\_ntb\_halo\_sales\_multi\_touch\_linear   | `percent_ntb_halo_sales_multi_touch_linear`   |
| Advertiser ID entered on the integration                | `source_id`                                   |
| Daasity integration ID                                  | `integration_id`                              |
| Daasity account ID                                      | `_account_id`                                 |
| Generated by Daasity                                    | `__sync_key`                                  |
| Time the row was loaded                                 | `__synced_at`                                 |

### Video Ad Group Spends

* Endpoint: Reporting source for Video campaigns
* Update Method: UPSERT
* Table Name: `instacart_ads.video_ad_group_spends`

One row per day, campaign and ad group.

| Report Column                                         | Database Column                             |
| ----------------------------------------------------- | ------------------------------------------- |
| campaign.id                                           | `campaign_id`                               |
| campaign.name                                         | `campaign_name`                             |
| ad\_group.id                                          | `ad_group_id`                               |
| ad\_group.name                                        | `ad_group_name`                             |
| event.date                                            | `event_date`                                |
| event.spend                                           | `spend`                                     |
| event.impressions                                     | `impressions`                               |
| event.clicks                                          | `clicks`                                    |
| event.ctr                                             | `ctr`                                       |
| event.cpm                                             | `cpm`                                       |
| event.viewability\_rate                               | `viewability_rate`                          |
| event.two\_second\_views                              | `two_second_views`                          |
| event.attributed\_sales\_linear                       | `attributed_sales_linear`                   |
| event.attributed\_sales\_last\_touch                  | `attributed_sales_last_touch`               |
| event.attributed\_units\_linear                       | `attributed_units_linear`                   |
| event.attributed\_units\_last\_touch                  | `attributed_units_last_touch`               |
| event.roas\_linear                                    | `roas_linear`                               |
| event.roas\_last\_touch                               | `roas_last_touch`                           |
| event.ntb\_attributed\_sales\_linear                  | `ntb_attributed_sales_linear`               |
| event.ntb\_attributed\_sales\_last\_touch             | `ntb_attributed_sales_last_touch`           |
| event.halo\_sales\_linear                             | `halo_sales_linear`                         |
| event.halo\_sales\_last\_touch                        | `halo_sales_last_touch`                     |
| event.halo\_roas\_linear                              | `halo_roas_linear`                          |
| event.halo\_roas\_last\_touch                         | `halo_roas_last_touch`                      |
| event.ntb\_halo\_sales\_linear                        | `ntb_halo_sales_linear`                     |
| event.ntb\_halo\_sales\_last\_touch                   | `ntb_halo_sales_last_touch`                 |
| event.percent\_ntb\_sales\_multi\_touch\_linear       | `percent_ntb_sales_multi_touch_linear`      |
| event.percent\_ntb\_attributed\_sales\_last\_touch    | `percent_ntb_attributed_sales_last_touch`   |
| event.percent\_ntb\_halo\_sales\_last\_touch          | `percent_ntb_halo_sales_last_touch`         |
| event.percent\_ntb\_halo\_sales\_multi\_touch\_linear | `percent_ntb_halo_sales_multi_touch_linear` |
| Advertiser ID entered on the integration              | `source_id`                                 |
| Daasity integration ID                                | `integration_id`                            |
| Daasity account ID                                    | `_account_id`                               |
| Generated by Daasity                                  | `__sync_key`                                |
| Time the row was loaded                               | `__synced_at`                               |

### Inspiration Ad Group Spends

* Endpoint: Reporting source for Inspiration campaigns
* Update Method: UPSERT
* Table Name: `instacart_ads.inspiration_ad_group_spends`

One row per day, campaign and ad group.

| Report Column                                      | Database Column                           |
| -------------------------------------------------- | ----------------------------------------- |
| campaign.id                                        | `campaign_id`                             |
| campaign.name                                      | `campaign_name`                           |
| ad\_group.id                                       | `ad_group_id`                             |
| ad\_group.name                                     | `ad_group_name`                           |
| event.date                                         | `event_date`                              |
| event.spend                                        | `spend`                                   |
| event.impressions                                  | `impressions`                             |
| event.clicks                                       | `clicks`                                  |
| event.ctr                                          | `ctr`                                     |
| event.cpm                                          | `cpm`                                     |
| event.viewability\_rate                            | `viewability_rate`                        |
| event.two\_second\_views                           | `two_second_views`                        |
| event.attributed\_sales\_linear                    | `attributed_sales_linear`                 |
| event.attributed\_sales\_last\_touch               | `attributed_sales_last_touch`             |
| event.attributed\_units\_linear                    | `attributed_units_linear`                 |
| event.attributed\_units\_last\_touch               | `attributed_units_last_touch`             |
| event.roas\_linear                                 | `roas_linear`                             |
| event.roas\_last\_touch                            | `roas_last_touch`                         |
| event.ntb\_attributed\_sales\_linear               | `ntb_attributed_sales_linear`             |
| event.ntb\_attributed\_sales\_last\_touch          | `ntb_attributed_sales_last_touch`         |
| event.halo\_sales\_linear                          | `halo_sales_linear`                       |
| event.halo\_sales\_last\_touch                     | `halo_sales_last_touch`                   |
| event.halo\_roas\_linear                           | `halo_roas_linear`                        |
| event.halo\_roas\_last\_touch                      | `halo_roas_last_touch`                    |
| event.ntb\_halo\_sales\_linear                     | `ntb_halo_sales_linear`                   |
| event.ntb\_halo\_sales\_last\_touch                | `ntb_halo_sales_last_touch`               |
| event.percent\_ntb\_attributed\_sales\_linear      | `percent_ntb_attributed_sales_linear`     |
| event.percent\_ntb\_attributed\_sales\_last\_touch | `percent_ntb_attributed_sales_last_touch` |
| event.percent\_ntb\_halo\_sales\_linear            | `percent_ntb_halo_sales_linear`           |
| event.percent\_ntb\_halo\_sales\_last\_touch       | `percent_ntb_halo_sales_last_touch`       |
| Advertiser ID entered on the integration           | `source_id`                               |
| Daasity integration ID                             | `integration_id`                          |
| Daasity account ID                                 | `_account_id`                             |
| Generated by Daasity                               | `__sync_key`                              |
| Time the row was loaded                            | `__synced_at`                             |
