Add a product in shop
This page describes the first step to configure an AI in-game shop offer using the Tentuplay console.
- Assumptions
-
-
You have created a TentuPlay account and a project in console
-
You have downloaded and installed TentuPlay SDK v2021.4 or later
-
You have completed common TentuPlay Unity SDK setup and configuration for data collection and upload
-
You have completed the SDK setup for AI in-game shop offer in Unity.
-
The AI in-game shop needs a product information file to make its offer work. All the subsequent offer settings are based on this product information. Thus, what you must do first when configuring an AI in-game shop offer is to add a product information in shop. It’s like a product listing on an online shop.
What is a product information file?
A product information file is a delimited text file with "csv" extension that contains the details of products that you want to expose in AI offers.
You can download the sample file in the TentuPlay console.
-
Click AI In-Game Shop > Shop Operation > Setting/Management > Upload Information tab in the console.
-
Click DOWNLOAD in the "This is an example file" row to download the sample.csv.
Let’s look at what’s inside in the sample.csv file.
The header elements in the first row denotes the attributes that consist of each product information.
Name | Description | Required | ||
---|---|---|---|---|
purchasable_slug |
The name of the item being sold
|
required |
||
store |
The alias of app store
|
required |
||
product_index |
The unique index of a promotion or a product that is used by the game developer |
optional |
||
start_datetime |
The beginning date and time of a promotion or an item’s sale |
optional |
||
end_datetime |
The ending date and time of a promotion or an item’s sale |
optional |
||
purchase_link |
A link to where the item can be purchased |
optional |
|
Upload a product information file
You can add a product in AI in-game shop by uploading a product information file to the TentuPlay server.
-
Create a new product information file populated with your own records by consulting the sample.csv file.
-
Click AI In-Game Shop > Shop Operation > Setting/Management > Upload Information tab in the console.
-
Click UPLOAD FILE, select the newly created csv file, and click Open to upload the file.
The file has been successfully uploaded
|