{% extends "base.html" %} {% block title %}Publishers and keys{% endblock %} {% block content %} {% if new_key %}
{{ new_key }}| Publisher | Placements | Add placement |
|---|---|---|
| {{ p.name }} {{ p.id }} |
{% for pl in p.placements %}{{ pl.key }}{% if pl.floor_cpm_micros is not none %} (floor {{ pl.floor_cpm_micros|money }} CPM){% endif %}{{ ", " if not loop.last }}{% endfor %} |
|
| No publishers yet. | ||
| Prefix | Role | Scope | Name | Created | |
|---|---|---|---|---|---|
| {{ k.prefix }}... | {{ k.role }} | {{ pub_names.get(k.publisher_id) or adv_names.get(k.advertiser_id) or "all" }} | {{ k.name }} | {{ k.created_at.strftime("%Y-%m-%d %H:%M") }} | {% if k.revoked_at %}revoked{% else %}{% endif %} |