If you used a code editor to build your interstitial, proceed to set up your ad in Amazon Ad Server (AAS) .
Note
Note: If you used Ad Builder to build your interstitial , this set up is not required and you can proceed to sharing your ad. For more information, see Share your ads.
Before uploading your ad to AAS, verify that you have completed these prerequisites:
-
The folder that contains your assets does not include unnecessary files. For example:
-
Unused assets such as images, videos, or fonts.
-
Work files such as
.psd
,.fla
, or.scss
. -
Hidden files such as
thumbs.db
(Windows) or.DS_Store
(Mac).
-
-
Create a workspace (zip file) for each ad. It is recommended that the zip file name matches the final name of the ad.
-
Each workspace contains its default image (named Default or Backup). This image should be optimized and lightweight. For an interstitial, the image must be a 1x1 image.
Setting up your ad requires that you start by uploading your workspace to the Assets Library. Then, set up your ad based on the Workspace that you uploaded.
-
Select Creative > Ads.
-
Click New Ad > Blank Ad.
-
Give your ad a meaningful name.
-
In the Ad Format list, select interstitial.
-
In the Creative Assets > Main Assets tab:
-
Select the workspace folder and navigate to an uploaded workspace.
Tip
Tip: AAS will default to this folder for the next step.
-
Select the default image.
-
-
To add the default panel, under Creative Assets, click Panels and do the following actions.
For this setting
Do this
Panel Name
Enter default.
Asset
Select
panels/default/index.html
file.X
Enter 0.
Y
Enter 0.
Width
Enter 1.
Height
Enter 1.
Default
Make sure this check box is selected.
Other Properties
-
In the Position Types box, select Page Relative (px).
-
Select Expand on Mouse Over.
-
In the Retractions box, select Never.
-
Select Transparency.
-
-
Under Advanced Panel Settings, do the following:
-
Under Auto-Expand, click Overwrite Creative Settings: Always auto-expand.
-
Under Panel Frequency, click Unlimited.
-
Select the Show Single Panel at a Time If Ad Contains Multiple Panels check box.
-
-
(Optional) Under Advanced Features, modify any of the settings. For more information, see Advanced features.
-
Click Save.
-
(Optional) The format settings such as, ad name, default banner, banner settings, clickthrough and custom interactions can be modified if needed in the Ad Settings. For more information, please visit Work with custom interactions.
You can set your interstitial to serve in one of these loading modes:
-
Instant: The entire unit loads immediately. This is the default behavior.
-
Polite: A lightweight image loads first. The full ad loads after the publisher's page finishes loading.
For more information about polite loading, see Add polite load to your HTML ads.
After you finish creating your ad, make sure that you preview and test it. For more information, see Preview Your Ads and Test your ads.
Variable name in AAS (Variable Key in config.js) |
Type |
Description |
Default Value |
---|---|---|---|
Remove Ad After Collapsed ( |
Boolean |
Removes the ad after panel collapses. NoteNote: Enabling this feature will cause conflict with other expandable ads where elements of the other ads are unloaded. |
Yes |
Lock Scrolling When Expanded ( |
Boolean |
Locks the page scroll when panel expands. |
Yes |
EyeDiv Z-Index
|
Integer |
Determines Z-index for the eye div. |
1000 |
Enable SDK Default Close Button
|
Boolean |
Displays the MRAID default close button. NoteNote: By default, the MRAID default close button is not displayed, because the custom close button from the template is in use. Setting this variable to true enables you to use the MRAID default button. |
No |
Auto Play Video
|
Boolean |
Automatically plays the video when the video loads. NoteNote: Auto Play may not work on mobile or tablet. In addition, this variable has no effect when an ad serves in MRAID apps. |
No |
Parent Levels To Resize
|
Integer |
This variable is only used when the ad is serving a default image. When set to any value over 0, the number of publisher parent elements of our tag resizes to the default image size, if they are smaller than the default image serving. |
0 |
Backup Image Path
|
String |
Relative path to the backup image, if a custom image is desired. This allows a fallback experience to display an image that is not a 1x1 even though the tag is a 1x1 tag. For example, if this custom variable is set to images/300x250_Default.jpg, a file will attempt to load from the images folder. You must be sure this file exists in the workspace. When set to undefined, the normal 1x1 fallback occurs. |
undefined |
Auto Reposition Interval
|
Integer |
Repositions all panels every N milliseconds. If set to 0, automatic repositioning is deactivated. |
0 |
Is Domain Config Enabled
|
Boolean |
Determines whether to load the domain configuration settings. |
No |
Prog Settings Folder Path
|
String |
Location from which to load the programmatic settings files. |
|
Auto Collapse timer
|
Integer |
Display duration, in milliseconds, for the panel before automatically collapsing. Setting this variable to 0 deactivates the auto collapse. |
7000 |
Cancel Auto Collapse On User Interaction
|
Boolean |
Determines whether to cancel auto collapse for the panel when the user interacts with the ad's contents. Available options are:
|
Yes |
Preload Script |
String |
Script file needed to load before ad execution. |
|
Comments