Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.38 KB

Banner.md

File metadata and controls

36 lines (30 loc) · 1.38 KB

SajariAPIClient::Banner

Properties

Name Type Description Notes
description String The description of the banner, displayed in sub-head font. [optional]
height Integer The height the banner occupies in grid cells. [optional]
id String The ID of the banner, used to identify clicked banners. [optional]
image_url String The URL of the image used for the banner. [optional]
position Integer The 1-based index indicating where the banner appears in search results. [optional]
target_url String The URL to redirect the user to when the banner is clicked. [optional]
text_color String The color of the text as a hex code with a # prefix, e.g. #FFCC00 or #FC0. [optional]
text_position TextPosition [optional][default to 'TEXT_POSITION_UNSPECIFIED']
title String The title of the banner, displayed in header font. [optional]
width Integer The width the banner occupies in grid cells. [optional]

Example

require 'sdk_ruby'

instance = SajariAPIClient::Banner.new(
  description: null,
  height: null,
  id: null,
  image_url: null,
  position: null,
  target_url: null,
  text_color: null,
  text_position: null,
  title: null,
  width: null
)