Headers
The publisher token
Body
The publisher offer Id.
"offer1"
The name of the offer. At least 3 letters.
"Test_PopUp"
The type of the offer, in this case 'PopUp'
"PopUp"
The type of popup. In this case 'PostPurchase'
The Internal ID for the Offer UI. The Offer UI is responsible to add UI elements to the offers such as background image and title. Once you create the Offer UI using the dashboard, you will get the internal ID.
"64a55b82e06998282d3d9b59"
Is the offer active? true/false.
"true"
An array of objects specifying the conditions under which the popup should be triggered.
The Ids of the player segments to be used in the segmentation algorithm. for example: [“NewUser”, “BigSpender”]. This param is required but can be left empty.
"NewUser"
An array of product sequences. Only one product sequence is allowed.
The display name of the offer. If not specified, the offer name will be used.
The description of the offer. Conditionally returned.
"Best offer ever."
Choose the priority of the order in which the popups will be displayed, 1 being first
The offer UI ID as configured by the publisher. If offerExternalUiId is provided, then offerUiId will not be required.
"b9c1e7a3d1f8b2a4c6e5d8f3"
Whether the popup will repeat itself.
Response
Create a new Offer
The Id of the offer.
"655dc8a546822b3e7586b7b7"
The offer publisher Id.
"offer1"
The name of the offer.
"Test_PopUp"
The display name of the offer. If not specified, the offer name will be used. Conditonally returned.
The description of the offer. Conditionally returned.
"N/A"
The type of the offer. In this case: PopUp.
"PopUp"
Price of the products set in cents. Will be returned as 0 if subtype is daily bonus.
The platform which the offer was created from (Dashboard, API)
"API"
Is the offer active? true/false.
"true"
Used for cooldown between orders. DEPRECATION WARNING: This field will be removed in future releases.
"1"
The Ids of the player segments to be used in the segmentation algorithm. for example: [“NewUser”, “BigSpender”].
"[NewUser]"
An array of product sequences. Only one product sequence is allowed.
Whether the popup will repeat itself.
Defines the order of priority of for displaying popup.
Event for which only after the popup appear.
An array of objects specifying the conditions under which the popup should be triggered.
the time when the offer was created, in UTC.
"2023-07-05T12:01:06.113Z"
the time when the offer was updated, in UTC.
"2023-07-05T12:01:06.113Z"
