Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Additional
PropertiesAdditional 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 pet products.
Case Sensitivity
Warning |
---|
All parameter names are case-sensitive and should follow the spelling used in this documentation. |
Pets
The "pets" element must be inside the "offer" element.
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <pets> ... </pets> </offer> |
Type
The "pet_type" element must be inside the "pets" element and can have one of the following values: Anchor type type
Value | Description |
---|---|
dog | Products for dogs |
cat | Products for cats |
bird | Products for birds |
fish | Products for fish |
Warning |
---|
Don't use this element for products made for other pets. |
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <pets> <pet_type>cat</pet_type> </pets> </offer> |
Breed
The "breed" element must be inside the "pets" element.
Tip |
---|
Specify the pet breed code (EMS) if the product relates to a specific pet breed. If the product relates to more than one breed, don't use this element. |
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <pets> <!-- ANA - the Anatolian cat (Turkish Shorthair) --> <breed>ANA</breed> </pets> </offer> |
Size
The "pet_size" element must be inside the "pets" element and can have one of the following values: Anchor size size
Value | Description |
---|---|
small | For small pets |
medium | For medium-sized pets |
large | For big pets |
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <pets> <pet_size>small</pet_size> </pets> </offer> |
Age
The "pet_age" element must be inside the "pets" element and can have one of the following values: Anchor age age
Value | Description |
---|---|
young | Kittens, pups and other cubs |
middle | Mid-aged pets |
old | Old pets |
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <pets> <pet_age>old</pet_age> </pets> </offer> |
Periodic
The "periodic" element must be inside the "pets" element and can have one of the following values:
Value | Description |
---|---|
1 | Product is purchased frequently |
0 | Product is purchased occasionally. The default value. |
Code Block | ||||
---|---|---|---|---|
| ||||
<offer ...> ... <pets> <periodic>1</periodic> </pets> </offer> |
Column | |
---|---|
Page Navigation
|
Related Pages
|