Skip to main content
Shopee Ads is Shopee’s in-platform advertising system that allows sellers to promote products through search and discovery placements. The Shopee Ads API provides access to campaign configurations, bidding strategies, and daily performance metrics for product-level ad campaigns.

Configuring Shopee Ads as a Source

In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Shopee Ads option from the list of connectors. Click Next and you’ll be prompted to add your access.

1. Add account access

You’ll need to authorize Nekt to access your Shopee seller data. Click on the Shopee Authorization button and log in with your Shopee seller account. Grant the necessary permissions for the shop you want to extract data from. The following configurations are available:
  • API URL: Select the appropriate API endpoint for your region:
    • https://partner.shopeemobile.com - Global (Southeast Asia)
    • https://openplatform.shopee.com.br - Brazil
    • https://openplatform.shopee.cn - China
  • Start Date: The earliest date from which ad performance records will be synced. If not provided, all available historical data will be extracted.
Make sure you have the correct API permissions enabled in your Shopee Partner account. The connector requires access to the Ads API to retrieve campaign and performance data.
Once you’re done, click Next.

2. Select streams

Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. You can select entire groups of streams or pick specific ones.
Tip: The stream can be found more easily by typing its name.
Select the streams and click Next.

3. Configure data streams

Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.
  • Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
  • Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
  • Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
  • Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
    • Incremental: every time the extraction happens, we’ll get only the new data, which is good if you want to keep historical performance trends.
    • Full table: every time the extraction happens, we’ll get the current state of the data, which is good for campaign configuration snapshots.
Once you are done configuring, click Next.

4. Configure data source

Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:
  • Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
  • Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
Once you are ready, click Next to finalize the setup.

5. Check your new source

You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.
For you to be able to see it on your Catalog, you need at least one successful source run.

Streams and Fields

Below you’ll find all available data streams from Shopee Ads and their corresponding fields:
List of all product-level ad campaign IDs in your shop. This is a parent stream used to fetch campaign details and performance data.
Detailed campaign configuration including bidding strategy, budget, placement, and keyword settings.
Daily performance metrics per campaign, including impressions, clicks, spend, and attribution data with both broad and direct conversion tracking.

Use Cases for Data Analysis

This guide outlines valuable business intelligence use cases when consolidating Shopee Ads data, along with ready-to-use SQL queries that you can run on Explorer.

1. Campaign Performance Overview

Analyze campaign-level ad performance to identify top-performing and underperforming campaigns. Business Value:
  • Identify which campaigns generate the highest ROAS
  • Optimize ad spend allocation across campaigns
  • Track advertising efficiency trends over time

2. Daily Ad Spend and Revenue Trend

Track daily advertising spend versus revenue to monitor campaign efficiency over time. Business Value:
  • Monitor daily ROAS trends
  • Detect sudden drops in ad performance
  • Plan budget adjustments based on historical patterns

Implementation Notes

The connector supports multiple regional API endpoints:
  • Global (SEA): Singapore, Malaysia, Thailand, Vietnam, Philippines, Indonesia, Taiwan
  • Brazil: Specific endpoint for Brazilian marketplace
  • China: Mainland China operations
Make sure to select the correct API URL for your shop’s region.
The connector supports incremental sync for daily performance data:
  • Ads Daily Product Campaign Performance: Uses date as the replication key
Campaign list and campaign settings are synced as full table since they represent current state.
This connector uses the same authentication mechanism as the Shopee connector:
  • Access tokens are refreshed proactively 30 minutes before expiration
  • Every API request is signed with HMAC-SHA256 using your Partner Key
  • Refresh tokens are stored securely in the Meltano database
  • Token expiration defaults to 4 hours if not specified by the API
Shopee Ads uses a 7-day attribution window for conversion metrics:
  • Broad attribution: Counts orders for any product in your shop within 7 days of an ad click
  • Direct attribution: Counts orders only for the specific advertised product within 7 days
Both broad and direct metrics are available in the daily performance stream.
The connector fetches campaign IDs first, then batches them (up to 50 per request) to retrieve campaign details and performance data. This approach minimizes API calls while respecting Shopee’s API rate limits.

Skills for agents

Download Shopee Ads skills file

Shopee Ads connector documentation as plain markdown, for use in AI agent contexts.