Prepare Your Data for Optimove- Social Gaming

Required Data Tables

The following data tables describe the content, format, and labels of the required data.

  1. Customers – Each row describes a player
  2. Games – Daily aggregation for game activity for all players
  3. Payments – Lists all payment transactions that affect a customer's account balance
  4. Promotions – Daily aggregation of all promotions players were given
  5. Promotion_Types – Contains a record of all promotion types
  6. Item_Catalog – Contains a record of all items
  7. Points_and_Ranking Contains a record of the player’s end-of-day points balance and rank ****

Important*:* All monetary figures must be converted into a single consistent currency.

Customers

KeyFieldData TypeDescription
PKPlayer_ID**string/intUnique player identifier
Registration_Date**dateDate the player registered
Email*stringMandatory when using Optimail or if required by external ESP
Mobile_Number*stringMandatory if required by external service provider
Date_Of_BirthdatePlayer's date of birth
Is_OptInstringDetermines whether it is acceptable to send promotional messages to the specified player. Should hold the values 'Yes' or 'No'.
Allow_Email*stringDetermines whether sending promotional Email messages to the specified email address is acceptable. Should hold the values 'Yes' or 'No'.
Allow_SMS*stringDetermines whether sending promotional SMS messages to the specified mobile address is acceptable. Should hold the values 'Yes' or 'No'.
Allow_Push*stringDetermines whether sending promotional Push messages to the specified mobile number is acceptable. Should hold the values 'Yes' or 'No'.
Is_Email_VerifiedstringDetermines whether the email address is verified. Should hold the values 'Yes' or 'No'.
Is_SMS_VerifiedstringDetermines whether the mobile number is verified. Should hold the values 'Yes' or 'No'.
Is_Blockedstring'No’ = regular player; 'Yes’ = blocked player (e.g. fraud)
Is_Teststring'No’ = regular player; 'Yes’ = test player
GenderstringPlayer’s gender. Must hold values ‘Male’, ‘Female’, ‘Unknown’
CountrystringPlayer’s country
CitystringPlayer’s city
AddressstringPlayer’s address
First_NamestringPlayer’s first name
Last_NamestringPlayer’s last name
LanguagestringPlayer's language
BalanceDecimal/intThe monetary value of a player’s current balance
Casino_NamestringWhen multiple casino platforms exist
AliasstringUser name
CurrencystringPlayer’s currency
Referral_TypestringThe method by which the player was referred to your site (e.g., SEO, Affiliate, Advertising, Marketing, etc.).
Affiliate_IDstringAffiliate identifier or name
Registered_PlatformstringThe platform the player had registered with (e.g. Web, Android App, iOS App, etc.)
Last_Login_DatedateThe date of the player’s last login to the website
Allow_WhatsappstringDetermines whether sending promotional WhatsApp messages to the specified mobile number is acceptable. Should hold the values 'Yes' or 'No'.
LastUpdateddateDate when the record was last modified or added (Mandatory in case of DB to DB connection)
Is_Optin_Email_Time_Stamp*TimestampDetermines when it is acceptable to send promotional Email messages to the specified email address in case of approval

Notes:

  • Please include any additional information that you find helpful
  • IsOptinEmailTimeStamp* - In case Optimove will manage the “unsubscribe” for the Opti-Mail integration please include an additional column to describe when the customer opts in \ out, to allow perfect sync with the daily batch.

*=Mandatory if required for the execution channel integration

**=Always mandatory

Games

KeyFieldData TypeDescription
PKPlayer_ID**stringUnique player identifier
PKGame_Date**dateDate of the game
PKGame_ID**stringGame type identifier
PKPlatform**stringShould hold values 'web' , 'mobile', etc.
Number_of_GamesintNumber of games
Total_Bet_AmountdecimalTotal bet amount
Number_of_Winning_GamesintNumber of winning games
Total_Win_AmountdecimalTotal win amount
XP_Points_CollectedintXP Points Collected
Total_Session_DurationintTotal session duration

Notes:

  • Please include different game metrics based on your game type

**=Always mandatory

Payments

KeyFieldData TypeDescription
PKPayment_ID**stringUnique payment identifier
FKPlayer_ID**stringUnique player identifier
Payment_Date**dateDate of payment
PlatformstringThe platform which the transaction is made from. Should hold values 'web' , 'mobile', etc.
FKItem_IDstringUnique item identifier
Payment_Amount**decimalThe monetary value of the payment
Coins_AmountintThe coin amount that the customer received for the purchase

Notes:

**=Always mandatory

Promotions

KeyFieldData TypeDescription
PK, FKPromotion_ID**stringUnique promotion identifier
PK, FKPlayer_ID**stringUnique player identifier
PKPromotion_DatedateDate of payment
Number_of_PromotionsintNumber of promotions collected
Total_Promotion_AmountdecimalCoins value of promotions collected

Note:

**=Always mandatory

Promotion_Types

KeyFieldData TypeDescription
PKPromotion_ID**stringUnique promotion identifier
Promotion_TypestringPromotion type name
Promotion_CategorydatePromotion category name (e.g. Hourly promo, Friend invite promo, etc.)
Updated_AtdateDate when the record was last modified or added

Notes:

**=Always mandatory

Item_Catalog

KeyFieldData TypeDescription
PKItem_ID**stringUnique item identifier
Item_NamestringItem name
Item_CategorystringItem category name
Updated_AtdateDate when the record was last modified or added

Notes:

  • Please include any additional information about the item that you find helpful

**=Always mandatory

Points_and_Ranking

KeyFieldData TypeDescription
PK, FKPlayer_ID**stringUnique player identifier
DatedateDate
LevelstringLevel at the end of the day
Coins_BalanceintCoins Balance at the end of the day
XP_PointsintXP Points at the end of the day
StatusstringStatus at the end of the day

Notes:

**=Always mandatory

Database Schema