PRODUCT
Follow
  • Configuration > Custom Scripts

Important

Important: This feature is protected by the following permissions:

  • Create and Update Custom Script

  • View Custom Script

Overview

Custom scripts are additional JavaScript files that are hosted on Sizmek servers and applied to ads to help control the functionality of an ad. Custom scripts can serve multiple purposes, for example, they can allow for more complex ad executions, or they can be used to fix ad serving issues on a site.

Creating Custom Scripts

The Creative Innovations team and Sizmek Support can view, create, update, and delete custom scripts. Custom scripts that you create are automatically saved in a common repository, and can be used by everyone. Assigning custom scripts from the repository to ads, custom ad formats, or custom serving rules requires permission.

Custom_Scripts.png

Rules and Guidelines

The following guidelines apply when creating a script:

  • The script name is also used as the physical name when storing the script on the server. You cannot update this name, so ensure that you enter the appropriate name.

  • Make sure to upload a JavaScript binary file.

  • A script event can execute at a specific time, either on Preload or On Ad Download; however, you can update this at any time.

    Note

    Note: On the ad level, you can override the existing event setting.

CustomScriptsNew.png

Assigning Scripts

Scripts can be assigned from the custom script repository to the following levels in the platform:

  • Ad level: Add multiple custom scripts as an event type to an ad:

    • All users can add a custom script manually.

    • Sizmek internal users that have the required permission can add scripts manually or from the list of scripts stored in the custom script repository.

      CustomScripts_AdLevel.png
  • Custom ad formats level:Sizmek internal users can assign scripts from the custom script repository to custom ad formats. The list of scripts is displayed according to preload scripts, but you can override this filter and view the entire list of custom scripts. Make sure that you include only one custom script, and do not include semicolons (;).

    CustomScripts_CAF.png
  • Custom serving rules level: In the Additional Scripts section, Sizmek internal users that have the required permission can add scripts manually or from the list of scripts stored in the custom script repository. For more information about custom serving rules, see Work with Custom Serving Rules.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments