انتقل إلى المحتوى الرئيسي

Ads

Slider & Popup Ads Resource

KeyTypeDescription
idIntegerA unique identifier for the slide.
imageStringThe URL of the image used for the slide. It represents the image to be displayed in the mobile version of the slider.
image_webStringThe URL of an alternative image specifically used for the web version of the slider. It represents the image to be displayed on larger screens or the web version of the website.
typeIntegerSlider Type of Clicks: It define the click action for the slider on websites or apps. Slider Types
  • (0) None: The slider will not be clickable.
  • (1) Product: The slider will open a product details page.
  • (2) Subcategory: The slider will open a product list of subcategory or open subcategory page.
  • (4) Brand: The slider will open a product list of brand or open brand page.
  • (5) Custom list: The slider will open a product list of custom list.
  • (6) Category: The slider will open a product list of category or open category page.
  • (7) Link: The slider will open a link in the website or any external website link.
item_idIntegerThe ID of the item depends on the type of click action.
  • If the type is Product the item ID will be the ID of the product.
  • If the type is Subcategory the item ID will be the ID of the subcategory.
  • If the type is Brand the item ID will be the ID of the brand.
  • If the type is Custom List the item ID will be the ID of the custom list.
  • If the type is Category the item ID will be the ID of the category.
  • If the type is Link the item ID will be empty.
nameStringThe name of the item (according with slider type) related to the slide.
  • If the type is Product it will be product name.
  • If the type is Subcategory it will be subcategory name.
  • If the type is Brand it will be brand name.
  • If the type is Category it will be category name.
  • if type is else above it will be dash.
orderIntegerThe order or sequence in which this slide appears in the slider.
linkStringWhen clicked and type is Link the slide item redirects to URL.
slugStringIf the type is Product the item will have the product slug; otherwise, the value will be empty.
banner_titleStringthe title or heading displayed on the slider banner.
popupBooleanthe ad is popup ads or slider.
KeyTypeDescription
idIntegera unique identifier for the banner ad.
nameStringthe name or title of the banner ad.
descriptionStringa description or additional information about the banner ad.
imageStringthe URL of the image for the banner ad.
image_webStringthe URL of the image for the web version of the banner ad.
typeIntegerBanner Ad Type of Clicks: It define the click action. Banner Ad Types
  • (0) None: The banner will not be clickable.
  • (1) Product: The banner will open a product details page.
  • (2) Subcategory: The banner will open a product list of subcategory or open subcategory page.
  • (4) Brand: The banner will open a product list of brand or open brand page.
  • (5) Custom list: The banner will open a product list of custom list.
  • (6) Category: The banner will open a product list of category or open category page.
  • (7) Link: The banner will open a link in the website or any external website link.
activeBooleanthe ad is active or deactivate to show on website.
dev_keyStringa color key or code of background the banner ad.
item_idIntegerThe ID of the item depends on the type of click action.
  • If the type is Product the item ID will be the ID of the product.
  • If the type is Subcategory the item ID will be the ID of the subcategory.
  • If the type is Brand the item ID will be the ID of the brand.
  • If the type is Custom List the item ID will be the ID of the custom list.
  • If the type is Category the item ID will be the ID of the category.
  • If the type is Link the item ID will be empty.
linkStringWhen clicked and type is Link the banner ad redirects to URL.
item_dataObjectAn resource-specific data based on the selected item's type (Product, Subcategory, Brand, Custom List, or Category); for Link type, the object will be empty.