A default data sample needs to be defined in the Request unit. You use the Formula editor in the Mapping dashboard to define this value.
For example, in this Request unit, we want to set a value for
variant_id with the following value.
Clicking the Request unit opens the Mapping dashboard. A dark green area under a property is used to display the property's value. If no property has been set, it displays null and a
Set data sample button.
Clicking Set data sample opens the Formula editor. In this editor we want to enter a string value, so we enter this value including the quotes. You may have to delete a placeholder text
Click Save to save your changes.
Click Done to close the Mapping dashboard. Properties in the Request unit now have values.
The Help text next to the editing field provides a description of the types of data samples that can be entered, based on their data types. Data samples can include:
Boolean that resolves to either
Numbers: integers such as
"text string within quotes"