{% extends "admin/_admin_base.html" %} {% block title %}{{ ad.title }} · Preview · Admin{% endblock %} {% block admin_title %}{{ ad.title }}{% endblock %} {% block admin_subtitle %}Exactly how this advertisement appears in each placement.{% endblock %} {% block admin_actions %} Edit {% endblock %} {% block admin_content %}
Status
{% include "admin/advertisements/_status_badge.html" %}
Type / Placement
{{ ad.advertisement_type.value|title }} · {{ ad.placement.display_name }}
Display Weight
{{ ad.priority }}{% if ad.priority == 100 %} Recommended{% endif %}
{# Relative frequency — explanatory label only (not a guaranteed percentage). #}
{% set w = ad.priority %} {% if w == 0 %}Excluded from normal random selection {% elif w == 100 %}Baseline exposure {% elif w == 50 %}Approximately half as often as the default {% elif w == 200 %}Approximately twice as often as the default {% elif w == 500 %}Approximately five times as often as the default {% else %}Approximately {{ '%g'|format(w / 100) }}× as often as the default {% endif %}
Impressions
{{ ad.impression_count }}
Clicks · CTR
{{ ad.click_count }} · {{ '0%' if ctr == 0 else '%.1f%%'|format(ctr) }}
{% if ad.start_at or ad.end_at %}
Schedule: {{ ad.start_at.strftime('%d %b %Y, %H:%M') if ad.start_at else 'immediately' }} → {{ ad.end_at.strftime('%d %b %Y, %H:%M') if ad.end_at else 'no end' }}
{% endif %} {% if ad.redirect_url %}
{{ ad.redirect_url }}
{% endif %}
Landing Page
{% with ad = ad %}{% include "advertisements/_ad_banner.html" %}{% endwith %}
Marketplace
{% with ad = ad %}{% include "advertisements/_ad_banner.html" %}{% endwith %}
Sidebar
{% with ad = ad %}{% include "advertisements/_ad_sidebar.html" %}{% endwith %}
Chat Unlock
{% with conversation = {'public_id': ad.public_id}, messaging_state = {'unlock_size': 5, 'can_watch_ad': True}, rewarded_ad = ad %} {% include "advertisements/_ad_rewarded.html" %} {% endwith %}
{% endblock %}