google_product_category
This field is optional, but omitting it may leave out functionality on Prisjakt for your offers
Description
This attribute is used to help us place products in relevant categories. It should contain full category path from Google Taxonomy or respective category id. If you don't know or have Google product category, submit product_type
instead.
Effects When Used
- This information helps us to make the products discoverable and searchable for the users
Related Fields
Validation Rules
- If id is used it must match an existing Google Product Category id (see references below)
- If category path is used, it must match Google Product Category path exactly (see references below)
- Use only one attribute of this type per product
Best Practices
Do
- Prefer using id's instead of strings if possible
- Use the most nested category possible
- Avoid using root categories
- Use full category path or respective category id from the list (see references)
- Wrap in a CDATA element if using xml
Example Values
Here are examples of how a valid google_product_category value should look like in XML and CSV (with header) respectively.
- XML
- CSV
<g:google_product_category>1144</g:google_product_category>
Click to show more valid XML examples
<g:google_product_category>1144</g:google_product_category>
<g:google_product_category>1</g:google_product_category>
<g:google_product_category>1157</g:google_product_category>
<g:google_product_category><![CDATA[Animals & Pet Supplies > Pet Supplies > Reptile & Amphibian Supplies]]></g:google_product_category>
<g:google_product_category><![CDATA[Dyr og tilbehør til kæledyr > Tilbehør til kæledyr > Tilbehør til hunde]]></g:google_product_category>
<g:google_product_category><![CDATA[Sporting Goods > Athletics > Figure Skating & Hockey > Ice Skates]]></g:google_product_category>
google_product_category
1144
Click to show more valid CSV examples
google_product_category
1144
google_product_category
1
google_product_category
1157
google_product_category
Animals & Pet Supplies > Pet Supplies > Reptile & Amphibian Supplies
google_product_category
Dyr og tilbehør til kæledyr > Tilbehør til kæledyr > Tilbehør til hunde
google_product_category
Sporting Goods > Athletics > Figure Skating & Hockey > Ice Skates
Error Codes
Below you will find possible error codes generated when validating this field alongside with an example in XML and CSV that would trigger the code. Please refer to the validation rules to understand the cause.
- XML
- CSV
<g:google_product_category>144</g:google_product_category>
<g:google_product_category><![CDATA[Divers sports > Water polo]]></g:google_product_category>
<g:google_product_category><![CDATA[toys & puzzle]]></g:google_product_category>
<g:google_product_category>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (more than 1000 characters value)</g:google_product_category>
google_product_category
144
google_product_category
Divers sports > Water polo
google_product_category
toys & puzzle
google_product_category
aaaaaaaaaaaaaaaa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| Closest data type in code |
Nested | False | Defines if this field consists of one or more sub-fields |
Case Sensitive | False | If small or large letters matter for this field |
Repeatable | False | If you can supply multiple items of this field (it´s a list) |
Repeatable limit | 0 | If a list, this specifices the max number of items |
Changelog
📅 2023-02-07
Remove requirement on google_product_category
if product_type
is not present
📅 2022-12-07
Initial definition