# Extra Display Templates

### <mark style="color:green;">USING A SINGLE DISPLAY TEMPLATE</mark>

To use a single display template (for instance MediaLandscapeSimple), do the following in the NativeAdHolder component.

1. Assign MediaLandscapeSimple to the DEFAULT DISPLAY FORMAT field
2. Uncheck the ADD EXTRA DISPLAY FORMATS field

<figure><img src="https://content.gitbook.com/content/C4pLAW1WW2c9V2Kogh1z/blobs/9B5rbpnHriPF69G1nYmA/Extra%20Display%20Template%201V2.png" alt=""><figcaption></figcaption></figure>

***

### <mark style="color:green;">ADDITIONAL DISPLAY TEMPLATES</mark>

The Display Handler Templates used in the default Ad Prefabs are:

1. MediaLandscapeSimple
2. MediaLandscapeBlur
3. MediaPotrait
4. NonMedia

In addition to the above display templates, the SDK provides the following templates:

1. LogoHeadlineCompact (<mark style="color:yellow;">New! added in 1.4.2</mark>)
2. LongHorizontalSimple
3. LongHorizontalSimple2
4. LongVerticalSimple
5. TemplateCombo1
   1. Combo1 Landscape
   2. Combo1 Portrait
6. TemplateCombo2
   1. Combo2 Landscape
   2. Combo2 Portrait
7. TemplateCombo3
   1. Combo3 Landscape
   2. Combo3 Portrait

These can be found in the path:

<mark style="color:green;">Assets/PubscaleSDK/NativeAds/Prefabs/DisplayTemplates/Dynamic/</mark>

<figure><img src="https://content.gitbook.com/content/C4pLAW1WW2c9V2Kogh1z/blobs/WI4yjRJxYXqAm9sOEDdY/LogoCompact.png" alt=""><figcaption><p>New LogoHeadlineCompact template</p></figcaption></figure>

{% hint style="warning" %}
Make sure to assign the reference to NativeAdHolder in the CheckLogo script if using this template
{% endhint %}

TO USE THESE FORMATS:

1. Drag and drop the Display Template as a child to the SS\_NativeAd or (WS\_NativeAd > Canvas) object
2. If using a Single Template, follow the steps from the section above
3. If using multiple templates
   1. Make sure the ADD EXTRA DISPLAY FORMATS is checked
   2. Remove any display templates that you don't want to use from the Display options array
   3. Add the new display templates to the array for the SDK to pick at runtime depending on the Ad big media aspect ratio
4. Assign the Default Display Template
5. <mark style="color:yellow;">Make sure the Status Visualizer is visible!</mark>

<figure><img src="https://content.gitbook.com/content/C4pLAW1WW2c9V2Kogh1z/blobs/JTS8srxrGU2u8US7rZzL/Extra%20Display%20Templates.png" alt=""><figcaption></figcaption></figure>

***

### &#x20;<mark style="color:green;">CUSTOM DISPLAY TEMPLATES (CREATE YOUR OWN TEMPLATE)</mark>

* If you create your own Custom Display Template, create a variant for portrait big image media as well.&#x20;
* This will ensure the Ad unit looks good when the ad's big image media is in Portrait aspect ratio.&#x20;
* In this case, you have to add your custom display variants to the Display Options array as shown in the steps below

1. Set <mark style="color:yellow;">**\`ADD EXTRA DISPLAY FORMATS\`**</mark> field to <mark style="color:green;">Enabled</mark>
2. Remove any default display templates that you don't want to use from the Display options array
3. Add your Custom display templates to the array for the SDK to pick at runtime depending on the Ad big media aspect ratio
4. Make sure the Status Visualizer is visible
5. Done!&#x20;

<figure><img src="https://content.gitbook.com/content/C4pLAW1WW2c9V2Kogh1z/blobs/cLwTPLVVeN46AMFeRqXm/Custom%20Display%201.png" alt=""><figcaption><p>Custom Display Templates</p></figcaption></figure>
