Skip to main content

JavaScript Creatives (HTML5) Validation

What is creative validation?

Creative validation is a process where the system cleans up the creative code or/and provides errors which should be fixed. Creative validation is crucial for a successful digital advertising campaign. Nobody wants to run broken, unclickable ads, right? This is why at Eskimi, we create a system which automatically validates creative quality. 

The primary benefits of creative validation and clean-up are:

1. Saving time of the advertisers as the creative code is cleaned from irrelevant lines. 

2. Faster troubleshooting as the system provides errors instantly which needs to be fixed. 

Creative code cleanup

There are three ways how HTML creatives can be added to Eskimi dashboard:

1. Uploaded as .zip file;

2. Pasted into the JavaScript tag area;

3. Writen manually into the JavaScript tag area;

Screenshot 2022-03-15 at 17.28.13.png

When the HTML is uploaded/pasted the system automatically (do additional steps are required) will clean up the creative code from irrelevant lines. The clean-up happens for:

1. System deletes comments that contain “http:” or “https:” substring.
2. System deletes empty lines if there are more than one empty line.
3. System deletes html codes %0D%0 (end of line).

Fixing broken creatives

Naturally we don't want to serve broken creatives. To avoid broken creatives to see the day light the system updates the creative code automatically and fixes possible errors. There are few distics changes that the system does:

1. If you upload code from .zip or paste something into editor, the system will change the “a” tag to <a href=" = '{click_url}')"> without breaking canvas.

2. If you upload code from zip or paste something into editor, the system will add <a href="{CLICK_URL}" target="_blank"> only once.

Error bars

Error bars a great way to troubleshoot the problems faster. There are few ways how Eskimi indicates errors. Here are the main error indication types that allow advertisers to foxus on their creative fixes faster:

1. Backend errors - these are errors that are crucial and won't allow to save the creative. These errors are marked in red.

Screenshot 2022-03-15 at 17.41.18.png

2. Frontend errors - indicates where the issue appeared. These errors appear instantly when the creative is uploaded/pasted. If the creative was created in the UI then the errors will appear when the advertiser will click save. These errors are marked in yellow. These errors will be visible even when creative is saved and during further revision until the errors are fixed. 

Screenshot 2022-03-15 at 17.39.55.png

3. Errors in the tag indicate specific issue that needs to be fixed. It is a continuation of previously mentioned yellow error bars. These errors appear automatically and instantly when the creative is uploaded or pasted. 

Screenshot 2022-03-15 at 17.49.14.png

In conclusion

Eskimi provides valuable information for non-technical people how the creatives should be fixed. The only steps are to reach out to your technical team so they would help you fix the errors. Eskimi strongly recommends to fix all the mention errors to reach the maximum quality during digital advertising. 

// BotSonic