- Welcome 👋
- Get Started
- Create Your First App
- Authorization
- Webhooks
- Conditional Webhooks
- Security Considerations
- Multi-Language Support
- Responses
- Pagination
- Rate Limiting
- Versioning
- Change Log
- Support
- APIs
- Orders
- Order Status
- Order Histories
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- Abandoned Carts
- Customer Groups
- Customers
- Digitals Product
- Categories
- Exports
- Shipments
- Shipping Companies
- Shipping Zones
- Shipping Rules
- Countries
- Product Option Templates
- Taxes
- Coupons
- Affiliates
- Order Assignment
- Special Offers
- Transactions
- Payments
- Settlements
- Settings
- Merchant
- Brands
- Reviews
- Branches
- Currencies
- SEO
- Cities
- DNS Records
- Languages
- Employees
- Advertisements
- Webhooks
- Custom URLs
- Loyalty Points
- Webhooks - Store Events
List Advertisements
Production
Production
GET
https://api.salla.dev/admin/v2/advertisements
Advertisements
Last modified:2025-04-16 10:24:08
Scopes
marketing.read
- Marketing Read OnlyRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.salla.dev/admin/v2/advertisements'
Responses
🟢200Success
application/json
Body
status
number
optional
success
boolean
optional
data
array[object (Advertisement) {7}]
optional
id
number
required
title
string
required
description
string
required
type
object
required
style
object
required
expire_date
object
required
pages
array[string]
required
pagination
object (Pagination)
optional
count
number
required
total
number
required
perPage
number
required
<= 65
currentPage
number
required
totalPages
number
required
links
object
required
Example
{
"status": 200,
"success": true,
"data": [
{
"id": 2142305900,
"title": "تخفيضات على جميع التيشيرتات",
"description": "أعلان لتصنيف التيشيرت",
"type": {
"id": 1032561074,
"name": "category",
"link": "https://offerLink"
},
"style": {
"icon": "sicon-braille-hand",
"font_color": "#ffffff",
"background_color": "#9d8383"
},
"expire_date": {
"date": "2022-01-21 00:00:00.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
},
"pages": [
"all"
]
},
{
"id": 235400060,
"title": "جميع المنتجات ستتوفر مرة أخرى بعد العيد",
"description": "توفر المنتجات",
"type": {
"id": 132432,
"name": "without_url",
"link": "https://offerLink"
},
"style": {
"icon": "sicon-bell",
"font_color": "#ffffff",
"background_color": "#9d8383"
},
"expire_date": {
"date": "2022-12-12 00:00:00.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
},
"pages": [
"cart",
"product"
]
}
],
"pagination": {
"count": 5,
"total": 5,
"perPage": 15,
"currentPage": 1,
"totalPages": 1,
"links": []
}
}
🟠401Unauthorized
Modified at 2025-04-16 10:24:08