Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Algorithm determines child's age, gender, clothing and shoe size, predisposition to certain cosmetic and hygiene products, as well as particular food products preferences.

Panel
titleFollowing steps are covered
Table of Contents

Add Additional Parameters to Your XML-file

For the algorithm to work properly every product in your XML Product Feed should have additional properties:

  • gender this product is targeted at
  • age bracket, if, for instance, this product is intended for babies of 2 andlessyears old;
  • additional category-specific data, written in these separate sections:

This data should be included into the XML-file in the form of specific product parameters and send to PersonaClick.

Section <child>

A distinctive adult product feature is presence of the <child> subsection inside the <offer>  section.

Add the following parameters to each product in your XML-File

Gender

Mandatory parameter <gender>. Placed inside the <offer> section, within the <child> subsection.

Consider the following table of possible values:

...

Consider the following example of use:

...

languagexml
titleXML example

...

Additional niches properties of products allow studying user preferences and calculating recommendations more accurately. This section describes allowing filling the product feed with niche features of products for children and babies.



Case Sensitivity

Warning

All parameter names are case-sensitive and should follow the spelling used in this documentation.




Child

The "child" element must be inside the "offer" element.


Code Block
languagexml
themeMidnight
<offer ...>
    ...
    <child>
        ...
    </child>
</offer>


Gender

Anchor
gender
gender
The "gender" element must be inside the "child" element and can have one of the following values:

ValueDescription
mFor boys' products
fFor girls' products

Code Block
languagexml
themeMidnight
<offer ...>
	...
	<child>
		<gender>f</gender>
	</child>
</offer>

...

Info

No need to specify the gender this particular product is targeted at, if you do not have this data. In this case, this particular product will simply be marked as 'unisex' and will have a lower displaying priority in relation to other products with the specified gender parameter.

Product Type

Optional parameter <type>. Placed inside the <offer> section, within the <child> subsection.

Consider the following table of possible values:


Tip

If the product is equally suitable for either gender, there is no need to add this element.



Type

Anchor
type
type
The "type" element must be inside the "child" element and can have one of the following values:

ValueDescription

...

toy

...

Any products are toys in one way or another
educationAny products that are somehow educational games, constructor sets, etc.

...

nappy

...

Diapers

...

furnitureAny products that are the furniture in one way or another

...

schoolAny products that are school supplies in one way or another
transportAny products that are somehow transportation devices (strollers, baby car seats, scooters, bicycles, etc.)

Consider the following example of use:


Code Block
languagexml

...

theme

...

Midnight
<offer ...>
    ...
	<child>
	    

...

<type>toy</type>
	</child>
</offer>

...



Age

Optional parameter <age>. Placed inside the <offer> section, within the <child> subsection.

Bracket age (for less than 2 years old babies) supported through subparameters <min> (minimum age) and <max> (maximum age). 

Consider the following table of possible values:

...

Anchor
age
age
The "type" element must be inside the "child" element and include the "min" and "max" elements with the following values:

ValueAge
0.251-3 months
0.

...

54-6 months
0.

...

75

...

7-9 months

...

1

...

10-12 months
1.25

...

13-15 months
1.

...

5

...

16-18 months
1.

...

75

...

19-21 months

...

222-24 months

...

3

...

3 years

...

4

...

4 years

...

etc.

Tip

The age of children under 2 years old supports the division into year quarters.


Code Block
languagexml

...

theme

...

Midnight
<offer ...>
    ...
	<child>
	

...

	

...

<age>
			<min>0.5</min>
			<max>1</max>
		</age>
	</child>
</offer>

...

Example of use of interconnected <child> and <fashion> sections

In case this particular baby and children product is a piece of clothing, hence, all the additional product data should be passed in the <fashion> section:

Code Block
languagexml
...
<offer ...>
	...
	<child>
		<gender>f</gender>
		<age>
			<min>1.5</min>
			<max>2</max>
		</age>
	</child>
	<fashion>
		<type>jacket</type>
		<sizes>
			<size>h80-82</size>
			<size>h83-85</size>
			<size>h86-88</size>
		</sizes>
	</fashion>
</offer>
...

Example of use of interconnected <child> and <cosmetic> sections

In case this particular product belongs to both cosmetic and hygiene products categories, hence, all the additional data should be passed in the <cosmetic> section:

Code Block
languagexml
...
<offer ...>
	...
	<child>
		<gender>f</gender>
		<age>
			<min>1.5</min>
			<max>2</max>
		</age>
	</child>
	<cosmetic>
		<hypoallergenic>1</hypoallergenic>
		<skin>
			<part>face</part>
			<part>body</part>
			<type>normal</type>
			<type>oily</type>
			<condition>sensitive</condition>
			<condition>problem</condition>
		</skin>
		<volumes>
			<volume>
				<value>200</value>
				<price>1000</price>
			</volume>
			<volume>
				<value>400</value>
				<price>2000</price>
			</volume>
		</volumes>
	</cosmetic>
</offer>
...

Example of use of interconnected <child> and <fmcg> sections

In case this particular baby and children product belongs to the FMCG (fast-moving consumer goods) category, hence, all the additional data should be passed in the <fmcg> section.

...

languagexml

...



Column

Page Navigation

Table of Contents
maxLevel2
indent0px
stylenone




Related Pages

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
cqllabel = "products"