Static Content is an API Builder tag, which allows sending hard-coded text with special characters.
Some buyer specifications require sending content that contains special characters that can break the code structure and make the request invalid. Static Content tag can be used in any format (XML, HTTP, JSON) of the template editor in order to pass any static content or hardcoded text that cannot be sent in the request code.
Static Content Example
As for XML format, Static Content tag allows sending the following special characters: < (less-than), > (greater-than), & (ampersand), ' (apostrophe or single quote), " (double-quote).
For example, application_key field is required in buyer specification with the following static text:
=g1t87fr|affiliate_id=36986
To configure Status Content functionality for a campaign, perform the following:
1. Go to API Builder and open the Template Editor on Step 2 (XML format in our case).
2. Enter token_regex tag, put { and select Static content tag:

3. Go to the Mapping Panel and enter the necessary static text to Value field:

Any text sent in Static Content tag can be encoded. Read more about Field Encoding.
0 comments
Please sign in to leave a comment.