Placement

data class Placement(val path: String, val position: Int? = null, val page: Int? = null, val pageSize: Int? = null, val productId: String? = null, val categoryIds: List<String>? = null, val searchQuery: String? = null, val location: String? = null)(source)

Constructors

Link copied to clipboard
constructor(path: String, position: Int? = null, page: Int? = null, pageSize: Int? = null, productId: String? = null, categoryIds: List<String>? = null, searchQuery: String? = null, location: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An array of IDs of the categories associated to the page in which this event occurred, if applicable. These IDs must match the IDs provided through the catalog service.

Link copied to clipboard

A marketplace defined name for a page part

Link copied to clipboard
val page: Int?

For paginated pages, this should indicate which page number triggered the event.

Link copied to clipboard

For paginated pages this should indicate how many items are in each result page.

Link copied to clipboard

URL path of the page triggering the event.

Link copied to clipboard

For components with multiple items (i.e. search results, similar products, etc), this should indicate the index of a given item within that list.

Link copied to clipboard

The ID of the product associated to the page in which this event occurred, if applicable. This ID must match the ID provided through the catalog service.

Link copied to clipboard

The search string provided by the user in the page where this event occurred, if applicable. This search string must match the searchQuery field that was provided in the auction request (if provided).

Functions

Link copied to clipboard