0 && is_numeric ($size_array [1]) && $size_array [1] > 1) { $placeholder_size = $parameters [0]; $initial_placeholder_width = $size_array [0]; $initial_placeholder_height = $size_array [1]; $initial_placeholder_text = $placeholder_size; $import_error = false; } } if (!$import_error) { $initial_placeholder_size = $placeholder_size; } } if (isset ($parameters [1])) { $initial_placeholder_background_color = $parameters [1]; if (isset ($parameters [2])) { $initial_placeholder_text_color = $parameters [2]; } } if (strpos ($query, 'text=') === 0) { $initial_placeholder_text = trim (str_replace (array ('"', "\\'"), array ('"', '''), urldecode (str_replace ('text=', '', $query)))); } } $placeholder_selection = array_search ($initial_placeholder_size, $standard_placeholders); if (count ($parameters) == 0) $placeholder_selection = 1; elseif (($placeholder_selection) === false || count ($parameters) != 1) $placeholder_selection = 0; ?> <?php echo AD_INSERTER_NAME; ?> Placeholder Editor '>

Placeholder

Size
Background color
Height
Width
Text
Text color

Here you can create a universal placeholder image that can be used in place of ads when they are not available yet. Placeholder images created here will behave as any other image. You can also save them to local computer or server.

Choose between common ad sizes 300x250, 336x280, 728x90, 468x60, 250x250, 300x600 or define custom size. Default placeholders are gray with size as placeholder text but you can use any color or text you want. Click on Edit button to edit placeholder size, color or text. You can also create blank solid color rectangles by clearing placeholder text.

Please note: if you have active rotation editor the code window shows only the code for the currently selected option. Therefore, code generator will in such case import or generate code for the currently selected option.

Code generator for banners and AdSense generates the code only when you click on the button Generate code. It is a tool that can help you to create code for AdSense or banners with links. So if you are using rotation editor and switch between options, you need to (optionally) import and generate code for each rotation option.

Ad Inserter has a simple code generator for banners and placeholders. You can select banner image (or placeholder), optionally define link (web page address that will open when the banner will be clicked) and select whether to open link in a new tab.