store_code
Required Field
This field is required and must not be omitted
Description
Identifier to specify which local shop this local offer belongs to. NOTE Google uses the terminology of store and the field in the offer feed but uses the terminology shop in the store feed. Prisjakt uses the terminology of shop everywhere but must follow googles example in the files here for compatability reasons.
Validation Rules
- Length must be between
1-64
- Must be unique
- Must match the
shop_code
you have specified in yourlocal shop
feed. - Case sensitive
Example Values
Here are examples of how a valid store_code value should look like in XML and CSV (with header) respectively.
- XML
- CSV
Valid Value
<g:store_code>StoreAngelholm</g:store_code>
Click to show more valid XML examples
<g:store_code>StoreAngelholm</g:store_code>
<g:store_code>aBCd1123</g:store_code>
<g:store_code>09az</g:store_code>
Valid Value
store_code
StoreAngelholm
Click to show more valid CSV examples
store_code
StoreAngelholm
store_code
aBCd1123
store_code
09az
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:store_code><![CDATA[!+@#$%^&*]]></g:store_code>
<g:store_code>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</g:store_code>
<g:store_code> </g:store_code>
<g:store_code></g:store_code>
<g:store_code>ąśπœę©</g:store_code>
<g:store_code>a </g:store_code>
<g:store_code> a</g:store_code>
danger
danger
validation_invalid_length
store_code
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
danger
danger
danger
danger
Properties
Property | Value | Description |
---|---|---|
Data Type | string | Closest data type in code |
Nested | False | Defines if this field consists of one or more sub-fields |
Case Sensitive | True | 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
📅 2025-02-24
Added
Initial definition