Skip to main content

Banner Ads

The Ads API provides access to a set of ads that can be displayed on the homepage of an e-commerce website. Returns a list of banner ads to be displayed on the homepage.

  • Endpoint: api/customer/home/custom-ads

  • Http Method: GET

  • Success Response:

Banner Ads Resource

You can check more details about Banner Ads Resource.

200 OK - If the ads is successful
{
"code": 200,
"data": [
{
"id": 0,
"name": "Top AD",
"description": "Top AD",
"image": "https://docapi.supercommerce.io",
"image_web": "https://docapi.supercommerce.io",
"type": 0,
"active": 0,
"dev_key": "#ffffff",
"item_id": 939,
"link": null,
"item_data": null
},
//...
]
}
info

Check the following section to learn more about the Banner Ads API Reference