Response containing eligibility status
This API is used to check if the seller is eligible to create a GMS (Gross Merchandise Sales) Campaign. The response indicates eligibility and provides a reason if the seller is not eligible.
Possible reasons for ineligibility:
Create a GMS product campaign
Request parameters
Parameters for the create GMS product campaign API
Daily budget for Campaign
Optionalend_date?: stringEnd date of Campaign (DD-MM-YYYY format). Do not fill if no end date.
Optionalreference_id?: stringA random string used to prevent duplicate ads
Optionalroas_target?: numberROAS target for the campaign:
Start date of Campaign (DD-MM-YYYY format). Cannot be earlier than today.
Response containing the created campaign ID
This API is used to create a GMS (Gross Merchandise Sales) Campaign.
ROAS Target behavior:
Create Manual Selection Product Ads
Request parameters
Parameters for the create manual product ads API
Bidding method: "auto" or "manual"
The budget set for the Manual Product Ads
Optionaldiscovery_ads_locations?: { bid_price: number; location: string }[]Location settings for manual bidding method
Optionalend_date?: stringEnd date of the campaign (DD-MM-YYYY format). Leave empty for unlimited duration
Optionalenhanced_cpc?: booleanEnhanced CPC functionality toggle
Product ID
A random string used to prevent duplicate ads
Optionalroas_target?: numberROAS target for campaigns with auto bidding. If 0, GMV Max / ROI feature is not enabled
Optionalselected_keywords?: { bid_price_per_click: number; keyword: string; match_type: string }[]Selected keywords, required for manual bidding mode
Optionalsmart_creative_setting?: stringSmart Creative setting: "", "default", "on", or "off"
Start date of the campaign (DD-MM-YYYY format)
Response containing the created campaign ID
This API is used to create Manual Selection Product Ads, which allow you to manually select products, keywords, and bidding strategies for your advertising campaigns.
For manual bidding mode, you must specify selected_keywords and/or discovery_ads_locations. For auto bidding mode, you can set the roas_target parameter.
Add/remove items to/from the GMS Campaign
Request parameters
Parameters for the edit GMS item product campaign API
Optionalcampaign_id?: numberThe GMS Campaign ID
The action to perform: "add" or "remove"
Item IDs to add/remove (minimum 1, maximum 30)
Response containing the campaign ID
This API is used to add or remove items from a GMS Campaign. You can add or remove between 1 and 30 items per request.
Edit a GMS product campaign
Request parameters
Parameters for the edit GMS product campaign API
The GMS Campaign ID
Optionaldaily_budget?: numberDaily budget for Campaign
The action to perform
Optionalend_date?: stringEnd date of Campaign (DD-MM-YYYY format)
Optionalreference_id?: stringGenerated by developers, used to prevent duplicate requests
Optionalroas_target?: numberROAS target for the campaign
Optionalstart_date?: stringStart date of Campaign (DD-MM-YYYY format)
Response containing the campaign ID
This API is used to edit existing GMS Campaign settings such as budget, campaign duration, and ROAS target.
Edit Manual Selection Product Ad Keywords
Request parameters
Parameters for the edit manual product ad keywords API
The unique identifier for the campaign
The action to perform: "add", "edit", or "delete"
A random string used to prevent duplicate ads
Optionalselected_keywords?: { bid_price_per_click: number; keyword: string; match_type: string }[]Selected keywords to add, edit, or delete
Response containing the campaign ID
This API is used to edit keywords for Manual Selection Product Ads. You can add new keywords, edit existing keywords, or delete keywords.
Edit Manual Selection Product Ads
Request parameters
Parameters for the edit manual product ads API
Optionalbudget?: numberThe budget set for the Manual Product Ads
The unique identifier for the campaign
Optionaldiscovery_ads_locations?: { bid_price: number; location: string }[]Location settings for manual bidding method
The update action
Optionalend_date?: stringEnd date of the campaign (DD-MM-YYYY format)
Optionalenhanced_cpc?: booleanEnhanced CPC functionality toggle
A random string used to prevent duplicate ads
Optionalroas_target?: numberROAS target for campaigns with auto bidding
Optionalsmart_creative_setting?: stringSmart Creative setting: "", "default", "on", or "off"
Optionalstart_date?: stringStart date of the campaign (DD-MM-YYYY format)
Response containing the campaign ID
This API is used to edit existing Manual Selection Product Ads. You can update various campaign settings including budget, duration, bidding settings, and ad placement locations.
Get shop rate for Ads Facil Program
Response containing the shop rate
This API is used to get the shop rate for the Ads Facil Program, which is a special advertising program available in certain regions.
Get shop level CPC ads daily performance data for a date range
Request parameters
Parameters for the get all CPC ads daily performance API
End date of the performance data range (DD-MM-YYYY format)
Start date of the performance data range (DD-MM-YYYY format)
Response containing daily performance metrics
This API is used to get Shop level CPC ads multiple-days daily performance. The date range must be today or earlier than today (up to 6 months ago), and cannot exceed 1 month. Start date must be earlier than end date and cannot be equal to end date.
The response includes an array of daily performance metrics with the following details for each day:
Use this API to analyze daily ad performance trends over a time period.
Get shop level CPC ads single-date hourly performance data
Request parameters
Parameters for the get all CPC ads hourly performance API
Single date on which to check the hourly performance (DD-MM-YYYY format)
Response containing hourly performance metrics
This API is used to get Shop level CPC ads single-date hourly performance. The date must be today or earlier than today (up to 6 months ago).
The response includes an array of hourly performance metrics with the following details for each hour:
Use this API to analyze hourly ad performance patterns for optimization.
Get budget suggestion for product ads creation
Request parameters
Parameters for the get create product ad budget suggestion API
Bidding method: "auto" or "manual"
Campaign placement: "search", "discovery", or "all"
Optionaldiscovery_ads_location_names?: stringComma-separated location values: "daily_discover", "you_may_also_like"
Optionalenhanced_cpc?: stringEnhanced CPC toggle: "true" or "false"
Optionalitem_id?: numberProduct ID (mandatory for manual product selection)
Product selection: "auto" or "manual"
A random string used to prevent duplicate ads
Optionalroas_target?: numberROAS target for campaigns with auto bidding
Response containing budget suggestions
This API is used to get budget suggestions before creating product ads. The suggestions include minimum, maximum, and recommended budget values based on the campaign parameters.
Get GMS Campaign performance
Request parameters
Parameters for the get GMS campaign performance API
Optionalcampaign_id?: numberThe GMS Campaign ID
End date (DD-MM-YYYY format). Maximum 3 months duration
Start date (DD-MM-YYYY format). Maximum 3 months duration, earliest 6 months ago
Response containing campaign performance data
This API is used to get performance data for a GMS Campaign. The date range can span up to 3 months and go back up to 6 months from today.
Performance metrics include impressions, clicks, CTR, expense, GMV, ROAS, and orders.
Get GMS Item performance
Request parameters
Parameters for the get GMS item performance API
Optionalcampaign_id?: numberThe GMS Campaign ID
End date (DD-MM-YYYY format). Maximum 3 months duration
Optionallimit?: numberMaximum number of records to show (default: 50, max: 100)
Optionaloffset?: numberPagination offset (default: 0)
Start date (DD-MM-YYYY format). Maximum 3 months duration, earliest 6 months ago
Response containing item performance data
This API is used to get performance data for items in a GMS Campaign. The response is sorted by item_id and only items with performance data are returned.
The date range can span up to 3 months and go back up to 6 months from today. Results are paginated with offset and limit parameters.
Get product-level campaign performance data for a date range
Request parameters
Parameters for the get product campaign daily performance API
Comma-separated list of campaign IDs to fetch performance for (max 100)
End date of the performance data range (DD-MM-YYYY format)
Start date of the performance data range (DD-MM-YYYY format)
Response containing detailed campaign performance metrics
This API is used to get product-level ads performance data across multiple days. The date range must be today or earlier than today (up to 6 months ago), and cannot exceed 1 month. Start date must be earlier than end date and cannot be equal to end date.
The response is structured hierarchically with:
Direct metrics refer to performance of the advertised product specifically, while broad metrics account for any purchases from the shop after an ad click.
Use this API to analyze campaign effectiveness at the product level and optimize your advertising strategy based on detailed performance data.
Get product-level campaign hourly performance data for a single day
Request parameters
Parameters for the get product campaign hourly performance API
Comma-separated list of campaign IDs to fetch performance for (max 100)
Single date for the hourly performance data (DD-MM-YYYY format)
Response containing detailed hourly campaign performance metrics
This API is used to get product-level ads hourly performance data for a single day. The date must be today or earlier than today (up to 6 months ago).
The response is structured hierarchically with:
Direct metrics refer to performance of the advertised product specifically, while broad metrics account for any purchases from the shop after an ad click.
Use this API to analyze hourly campaign patterns and performance fluctuations throughout the day to optimize timing of ad campaigns and budget allocation.
Get a list of all product-level campaign IDs for a shop
Optionalparams: GetProductLevelCampaignIdListParamsOptional request parameters
Parameters for the get product level campaign ID list API
Optionalad_type?: stringFilter campaigns by ad type Can be any of ["", "all", "auto", "manual"]
Optionallimit?: numberPage size limit (number of results to return)
Optionaloffset?: numberPagination offset
Response containing campaign IDs and pagination info
This API is used to fetch all product campaign IDs displayed on the advertiser platform for a specific shop. The results can be filtered by ad type and paginated using offset and limit parameters.
The response contains:
Use this API to retrieve campaign IDs that can then be used with other APIs like getProductCampaignDailyPerformance or getProductCampaignHourlyPerformance to fetch detailed performance metrics.
Get detailed settings information for product-level campaigns
Request parameters
Parameters for the get product level campaign setting info API
Comma-separated list of campaign IDs to fetch settings for (max 100)
Info types to retrieve, comma-separated 1: Common Info 2: Manual Bidding Info 3: Auto Bidding Info 4: Auto Product Ads Info
Response containing detailed campaign settings
This API is used to retrieve detailed configuration settings for product-level ad campaigns. Depending on the info_type_list parameter, different types of information will be returned:
Info type 1 (Common Info) includes:
Info type 2 (Manual Bidding Info) includes:
Info type 3 (Auto Bidding Info) includes:
Info type 4 (Auto Product Ads Info) includes:
Use this API to analyze and understand the detailed settings of your ad campaigns, which can help with optimization and decision-making for future campaign management.
Get recommended ROI target values for a product's ad campaign
Request parameters
Parameters for the get product recommended ROI target API
Unique identifier for a product
A random string used to prevent duplicate ads. If an ads is created successfully, subsequent requests using the same reference id will fail. Use the same string for calling suggestion/recommendation API before the actual request to create an ads.
Response containing recommended ROI targets
This API is used to get recommended Return on Investment (ROI) target values for a product's ad campaign. These recommendations help sellers set competitive ROI targets for their advertising campaigns.
The response includes three recommendation levels:
Lower bound: A more competitive target (e.g., value=3.5, percentile=80) that makes the ad more competitive than 80% of similar ads.
Exact (mid-level): A balanced target (e.g., value=5.9, percentile=50) that makes the ad more competitive than 50% of similar ads.
Upper bound: A less competitive target (e.g., value=10.8, percentile=20) that makes the ad more competitive than 20% of similar ads.
Each recommendation includes:
Use this API to help determine optimal ROI targets for your advertising strategy based on competitive marketplace data.
Get the list of recommended SKUs (Shop level) with the corresponding tag
Response containing recommended items
This API is used to get the list of recommended SKU (Shop level) with the corresponding tag, i.e top search/best selling/best ROI tag.
The response includes an array of items with the following details for each item:
Use this API to identify high-potential items for advertising campaigns.
Get the list of recommended keywords for an item
Request parameters
Parameters for the get recommended keyword list API
Optionalinput_keyword?: stringThe keyword seller typed in the manually add keyword window
Shopee's unique identifier for an item
Response containing recommended keywords
This API is used to get the list of recommended keywords by item and optionally a search keyword.
The response includes:
Use this API to get keyword suggestions to improve item discoverability in search results.
Get seller's toggle status information at the shop level
Response containing toggle statuses
This API returns the seller's toggle status information indicating whether certain features are enabled or disabled at the shop level.
The response includes:
These settings affect how ads campaigns are managed and funded.
Get seller's real-time total balance of ads credit
Response containing the total balance and timestamp
This API returns the seller's real-time total balance of their ads credit, including both paid credits and free credits.
The response includes:
Note: This balance is real-time and represents the current available credit that can be used for advertising campaigns.
List GMS items that have been removed from the Campaign by seller
Optionalparams: ListGmsUserDeletedItemParamsRequest parameters
Parameters for the list GMS user deleted item API
Optionallimit?: numberMaximum number of records to show (default: 50, max: 100)
Optionaloffset?: numberPagination offset (default: 0)
Response containing deleted item IDs
This API is used to list items that have been removed from a GMS Campaign by the seller. Results are paginated with offset and limit parameters.
Check the seller's eligibility in creating a GMS campaign