Skip to main content

promotion_page_link

Optional Field

This field is optional, but omitting it may leave out functionality on Prisjakt for your offers

Description

Link to the promotion page.

Validation Rules

  • Value must be a valid and properly encoded url.

Example Values

Here are examples of how a valid promotion_page_link value should look like in XML.

Valid Value
<pj:promotion_page_link>http://example.com/link</pj:promotion_page_link>
Click to show more valid XML examples
<pj:promotion_page_link>http://example.com/link</pj:promotion_page_link>
<pj:promotion_page_link>https://example.com/link</pj:promotion_page_link>
<pj:promotion_page_link>https://example.com/link(black)_(large)</pj:promotion_page_link>
<pj:promotion_page_link>https://example.com/link#foo</pj:promotion_page_link>
<pj:promotion_page_link><![CDATA[https://example.com/link?utm_source=1&utm_medium=2]]></pj:promotion_page_link>
<pj:promotion_page_link>http://example.com/link-%E2%84%A2-mu-20%C2%B5m</pj:promotion_page_link>
<pj:promotion_page_link>https://mysite.com/promotion-campaign-2023</pj:promotion_page_link>
<pj:promotion_page_link>https://mysite.com/promotion-campaign-2023</pj:promotion_page_link>

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.

danger
validation_invalid_length
<pj:promotion_page_link>https://example.com/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (more than 2047 characters value)</pj:promotion_page_link>
danger
validation_invalid_url
<pj:promotion_page_link>http://bar</pj:promotion_page_link>
danger
validation_invalid_url_fragment
<pj:promotion_page_link>https://example.com/link##</pj:promotion_page_link>
danger
validation_invalid_url_host
<pj:promotion_page_link>http://example%.com/link</pj:promotion_page_link>
danger
validation_invalid_url_path
<pj:promotion_page_link>https://example.com/link[12-34]</pj:promotion_page_link>
danger
validation_invalid_url_port
<pj:promotion_page_link>http://example.com:foo/link</pj:promotion_page_link>
danger
validation_invalid_url_query
<pj:promotion_page_link>https://example.com/link?param=value^up-arrow</pj:promotion_page_link>
danger
validation_url_scheme_not_allowed
<pj:promotion_page_link>foo://example.com/link</pj:promotion_page_link>

Properties

PropertyValueDescription
Data TypestringClosest data type in code
NestedFalseDefines if this field consists of one or more sub-fields
Case SensitiveFalseIf small or large letters matter for this field
RepeatableFalseIf you can supply multiple items of this field (it´s a list)
Repeatable limit0If a list, this specifices the max number of items

Changelog

📅 2023-12-11

Added

Initial definition