This article is reviewing inventory script integration for sites.
In order to connect inventory by using a script (for sites) follow the next steps:
- Create a new inventory.
- Choose the Source - Site.
- Choose 'Script' in the 'Inventory Integration' (Integration Type) select box.
- Press the 'Create' button.
- Go to the 'Integration' tab there you will see the Script wizard.
Script Wizard
- You can choose the relevant media type for the script - Banner, Video, or Native.
- You can add or remove macros from the script by using the macros select box. Be noted that the default macros chosen are recommended in order for the script to be effective.
- Use the 'Copy' icon to copy the script.
- Make sure to insert your placement value by removing the comment marks and putting your value in the script in the placement section.
- /*To implement the next section remove the comment sign and replace it with your placement ID:*/ /*"placement": "PLACE YOUR PLACEMENT ID HERE",*/
- If you are using a passback make sure to remove the comment marks from this section in the script and put in your passback code.
- /*To implement the passback remove the comment sign and replace it with your passback code:*/ /*"passback": "Example: <div> PASSBACK ADVERTISEMENT </div>"*/