Skip to main content

NAVIGA-Dimensions Example

Type: Campaigns

This report shows how you are able to get the dimensions from different types of campaigns.

NAVIGA-Dimensions Example Downloads

This report shows how you are able to get the dimensions from different types of campaigns.

Bundle (TGZ): NAVIGA-Dimensions Example
Definition JSON: naviga-dimensions-example.json

Summary​

Depending on the type of campaign and line, the dimensions of the ad could be found in different places. This sample report shows how to pull data from multiple places and then through a Powerscript, determine which pieces are the Width and the Height.

We are following the logic laid out here -> [Dimensions Docs]((../informer/informer-mappings-ad-internet-orders#digital-size---columns---inches)

Some Campaign Ads will have a Width and a Height, but the column information is stored elsewhere (AD Internet Layouts). There are two ways to get at this information. First, there is a field in this example called joinField. It is creating a join key from the Class Layout ID and the Final Width. You can then join this to the NAVIGA-AD Internet Layouts dataset to pull in the information.

While this works, it does require that you keep another dataset refreshed. A different way is to link directly to the AD Internet Layouts mapping. We currently do not have this relationship setup, so you can set it up yourself (or simply put a support ticket in).

This is the link you would add to AD Internet Orders: [missing image: Pasted image 20261021145346.png]

You can then pull data from the related mapping. However, note that the Columns and Column Widths fields are both multi valued. This means that you will need a Powerscript to loop through the values and make a connection to the line in question to pull the correct Column value.

Contact support if you need help with this.

Pasted image 20261021145433.png

Description​

This report shows how you are able to get the dimensions from different types of campaigns.

Fields​

LabelAliasTypeHiddenDescription
Campaign IDcampaignIddoubleCampaign Identifier
Line IDidkeyword_textLine Identifier
Final WidthfinalWidthdoubleFinal Width value using the Powerscript to determine which fields to use
Final HeightfinalHeightdoubleFinal Height value using the Powerscript to determine which fields to use.
Dimensionsdimensionskeyword_textUsed in determining where to get the Width and Height values.
X ValuexValuedoubleCan be the Width for certain types of campaigns
Y ValueyValuedoubleCan be the Height for certain types of campaigns
ratecard Size Heighta_d_internet_ratecards_detail_assoc_a_d_internet_sizes_assoc_sizeHeightdoubleSize Height field from AD Internet Sizes
ratecard Size Widtha_d_internet_ratecards_detail_assoc_a_d_internet_sizes_assoc_sizeWidthdoubleSize Width field from AD Internet Sizes
AD Internet Sizes Size Heighta_d_internet_sizes_assoc_sizeHeightdoubleSize Height field from AD Internet Sizes
AD Internet Sizes Size Widtha_d_internet_sizes_assoc_sizeWidthdoubleSize Width field from AD Internet Sizes
AD Internet Sizes Dimension Typea_d_internet_ratecards_detail_assoc_a_d_internet_sizes_assoc_dimensionTypekeyword_text
AD Internet Ratecards Detail @IDa_d_internet_ratecards_detail_assoc_idkeyword_text
Class Layout IDclassLayoutIdkeyword_textLayout ID linking to AD Internet Layouts
Ad Publication Dflt Layout IDweb_site_id_assoc_dfltLayoutIdkeyword_textThe AD Publications default Layout ID. It is used in the Join Field if the Class Layout ID in empty.
Join FieldjoinFieldkeyword_textAD Internet Layouts has a column width field that is MV. This join field is construction to join with the NAVIGA-Ad Internet Layouts Dataset if you need to bring in Columns.
NOTE: See docs for a different way to do this.

Criteria​

  • All of
    • Campaign ID equals INPUT 🧩Campaign ID
    • Line Cancel Status ID does not match DE

🧩 Inputs​

PromptTypeDetail
Campaign IDMultiple values

Flow​

#StepDetail
1Script: Combine dimensions sources to final fieldsLooks through all size sources and determines which one to use for
the finalHeight and finalWidth calculated fields
2Script: Create Layout Join FieldCreate a join key to be used to join to the NAVIGA-Ad Internet Layouts mapping
We are NOT joining it in this example report, but we are building the link for your use if needed.