Adform provides a way to use templates to create media plans, insertion orders, and for including large amounts of data. For Ad Server functions, Adform provides three types of Ad Server templates:
-
Media Plan Export Template: Specify items to include in a basic media plan export template.
-
Insertion Order Export Template: Specify items to include in a basic insertion order export template.
-
Custom Template: Make custom media plan and insertion order templates to use with your corporate Excel spreadsheet (with logos, corporate colors, and so forth) based on the required Adform variable codes. You can then share these with stakeholders and clients.
Note
Adform also has a fourth type of template for creating domain block and allow lists. For more information, see Use Domain Templates for RTB.
Once you create or upload any template, it appears in the Active templates list in the Template Library.
You can filter the template lists in the Template Library by template Type or sort the list by Name or Type in ascending or descending order. If you wish, you can search for a template by name.
After you create media plan templates, you can export your media plans and send them by email to a client from the Line Items list.
To create a media plan template to export:
-
In the left sidebar, click Inventory > Domain and App Templates.
-
Click Create template > Media Plan Export Template.
-
In the Media Plan Export Template page, name the template. (Edit the default name to be a relevant one for your use.)
-
Select the tables to include in the template. (You can select more than one.)
If you wish, adjust the name for each table and specify whether it should be on a separate sheet in the Excel file.
Note
You can add multiple versions of tables. To do so, point to the table’s name and click .
You can include one or more custom text sections. If you do so, you can specify a section title and static text.
-
In each section for a table, to include a field, select the checkbox next to the field’s name. (You can select All to include all fields.)
Note
If you include the Line Items table, you can apply a schedule: Schedule by Week, Schedule by Day, or Schedule by Month. By default, there is no schedule.
-
To add a custom field to a table, click Add table field, type a name for the field, and click Add.
-
To adjust the name of any standard field, point to the field, click , edit the name, and click .
-
To reorder fields or tables, drag up or down in the list.
-
Click Save.
After creating an insertion order export template, you can export an Excel spreadsheet of line items. With the insertion order export template you can include active direct line items and active, paused, and finished programmatic line items.
To create an insertion order template to export:
-
In the left sidebar, click Inventory > Domain and App Templates.
-
Click Create template > Insertion Order Export Template.
-
In the Insertion Order Export Template page, name the template. (Edit the default name to be a relevant one for your use.)
-
Select the tables to include in the template. (You can select more than one.)
If you wish, adjust the name for each table and specify whether it should be on a separate sheet in the Excel file.
Note
You can add multiple versions of tables. To do so, point to the table’s name and click .
You can include one or more custom text sections. If you do so, you can specify a section title and static text.
-
In each section for a table, to include a field, select the checkbox next to the field’s name. (You can select All to include all fields.)
Note
If you include the Line Items table, you can apply a schedule: Schedule by Week, Schedule by Day, or Schedule by Month. By default, there is no schedule.
-
To add a custom field to a table, click Add table field, type a name for the field, and click Add.
-
To adjust the name of any standard field, point to the field, click , edit the name, and click .
-
To reorder fields or tables, drag up or down in the list.
-
Click Save.
You can create an Excel spreadsheet with information about your media plan (such as line items, budgets, and fees) or a spreadsheet as a basis for adding many line items and upload it as a custom template.
With a custom template, you can specify the style, fonts, logos, and calculations for media. For example, after you create a custom media plan template, you can export your media plan and send it by email to your client from the Line Items list.
Alternatively, Adform provides several example templates that you can use to adjust for your own purposes. You can change the order of tables and columns in the example templates and duplicate any table or field.
To download an example template:
-
In the left sidebar, click Inventory > Domain and App Templates.
-
Click Create template > Custom Template.
-
In the Create new custom template page, in the Template examples section, click Creative Specification.xlsx, Extended Media Plan.xlsx, or Standard Media Plan.xlsx.
-
In your system's Save dialog box, if you wish, rename the file.
-
Locate and open the folder for saving the file and click Save.
Once you have an example template, you can open it in Excel and customize it for your use. You can also create a spreadsheet to use as a template file by using the following instructions.
To create an .xlsx file to upload as a template:
-
In Excel (or compatible spreadsheet program), construct an XLS area.
Use a special markup in your template to construct an XLS area in as Excel comment for the first area’s cell. This markup defines a top-level area starting from the cell with the markup comment and ending in the
<AREA_LAST_CELL>
. The markup looks like this:"jx:area(lastCell="<AREA_LAST_CELL>")
. -
Add content to the template: create tables, use formulas, and apply formatting to the constructed area.
To get data from the media plan, use this syntax:
"${parameter}"
. For example, use"${campaign.name}"
to get the Campaign name. -
To iterate through a collection, use
"jx:each"
markup in a cell comment:"jx:each(items="<COLLECTION>" var="<COLLECTION_ITEM>" lastCell="<AREA_LAST_CELL>")"
. It has the following attributes:<COLLECTION>
: Name of collection to iterate over. Supported values:-
lines
: selected line items.-
fees
: fees of selected line items.-
tags
: tags of selected line items.-
line.tags
: tags of current line item. Here "line" is a value of "var" in parent jx:each(items="lines" … ) comment markup.<COLLECTION_ITEM>
: Name for referencing a current item in the collection.For example, to iterate over the fees, use
"jx:each(items="fees" var="fee" lastCell="<AREA_LAST_CELL>")"
in a cell comment. To list tags for line item, use"jx:each(items="line.tags" var="tag" lastCell="<LAST_CELL>")
.To display scheduler in line item table, you need to add this comment to the top cell of the header:
"jx:scheduler(by="day" lastCell="<AREA_LAST_CELL>")"
. -
To total a column in a table, apply the
SUM
formula to the cell under the column. -
To display a scheduler in a line item table, add this comment to the top cell of the header:
"jx:scheduler(by="day" lastCell="<LAST_CELL>")"
. -
Save the file as a .xlsx file.
To save an Excel (.xlsx) file as a custom template:
-
In the left sidebar, click Inventory > Domain and App Templates.
-
Click Create template > Custom Template.
-
In the Create new custom template page, name the template. (Edit the default name to be a relevant one for your use.)
-
Click .
-
Locate and select the .xlsx file and click Open.
-
Click Save.
You can use the created custom template to export line items from the line Items list.
To use a template, you import or export data related to one or more line items for media or a publisher.
Note
While you can use a template to export data, you can’t upload that exported file as a template.
To export line item information:
-
In the Line Item list, click Export.
-
In the Export panel, click Media Plan.
Note
If you click Importable Excel File, you specify which attributes to include instead of using a template. (Adform includes all line items in the .xlsx file.) Click Export.
Use this to export the line items for your agency's internal use.
-
In the Media / Publisher list, specify the media or publisher.
Note
Adform exports only line items targeting the publisher, so you can send the .xlsx file to the publisher without editing it. With a custom template, the .xlsx file can be branded for your agency.
-
In the Media Plan Export Template list, select a custom template.
-
Click Export.
Note
You can click Send and then specify who should receive the .xlsx file.
You can edit a template or deactivate it.
Note
You can’t edit a custom template. You can download the existing template as an Excel file to adjust and upload it as another custom template. If you upload a more current custom template, consider deactivating the original custom template if you no longer need it.
To edit a template:
-
In the left sidebar, click Inventory > Domain and App Templates.
-
In the Active templates list, locate the template to edit.
-
Click the template’s name.
-
Adjust the template’s information.
-
Click Save.
If you no longer need a template, you can deactivate it.
Note
You can't delete any template.
-
In the left sidebar, click Inventory > Domain and App Templates.
-
In the Active templates list, locate the template to deactivate.
-
Point to the template’s row.
-
On the right side of that row, click > Deactivate.
In the Inactive template’s list, you can re-activate a deactivated template by clicking > Activate.