{% extends "layout.html.twig" %} {% block title %}Ads Overview{% endblock %} {% block pageheader %}Ads Overview{% endblock %} {% block body %}
Date | Impressions | Clicks | Conversions | Spend | CPM | CTR | CPC | CPA |
---|---|---|---|---|---|---|---|---|
0 %}data-order="{{ datesFullLabels[key] }}"{% endif %}>{{ value }} | {{ statsTable['impressions'][value]|number_format(0, '.', ',') }} | {{ statsTable['clicks'][value]|number_format(0, '.', ',') }} | {% if statsTable['actions'][value] %}{{ statsTable['actions'][value]|number_format(0, '.', ',') }}{% else %}0{% endif %} | {% if statsTable['spentbudget'][value] %}{{ statsTable['spentbudget'][value]|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ | {% if statsTable['impressions'][value] > 0 %}{{ ((statsTable['spentbudget'][value] / statsTable['impressions'][value])*1000)|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ | {% if statsTable['impressions'][value] > 0 %}{{ ((statsTable['clicks'][value] / statsTable['impressions'][value])*100)|number_format(2, '.', ',') }}{% else %}0{% endif %}% | {% if statsTable['clicks'][value] > 0 %}{{ (statsTable['spentbudget'][value] / statsTable['clicks'][value])|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ | {% if statsTable['actions'][value] > 0 %}{{ (statsTable['spentbudget'][value] / statsTable['actions'][value])|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ |
Total | {{ totalSumsCampaignGroup['sumImpressions']|number_format(0, '.', ',') }} | {{ totalSumsCampaignGroup['sumClicks']|number_format(0, '.', ',') }} | {% if totalSumsCampaignGroup['sumApplies'] %}{{ totalSumsCampaignGroup['sumApplies']|number_format(0, '.', ',') }}{% else %}0{% endif %} | {% if totalSumsCampaignGroup['sumSpentBudget'] %}{{ totalSumsCampaignGroup['sumSpentBudget']|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ | {% if totalSumsCampaignGroup['sumImpressions'] > 0 %}{{ ((totalSumsCampaignGroup['sumSpentBudget'] / totalSumsCampaignGroup['sumImpressions'])*1000)|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ | {% if totalSumsCampaignGroup['sumImpressions'] > 0 %}{{ ((totalSumsCampaignGroup['sumClicks'] / totalSumsCampaignGroup['sumImpressions'])*100)|number_format(2, '.', ',') }}{% else %}0{% endif %}% | {% if totalSumsCampaignGroup['sumClicks'] > 0 %}{{ (totalSumsCampaignGroup['sumSpentBudget'] / totalSumsCampaignGroup['sumClicks'])|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ | {% if totalSumsCampaignGroup['sumApplies'] > 0 %}{{ (totalSumsCampaignGroup['sumSpentBudget'] / totalSumsCampaignGroup['sumApplies'])|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ |
Campaign | Impressions | Clicks | Conversions | Spend | CPM | CTR | CPC | CPA |
---|---|---|---|---|---|---|---|---|
{{ value['campaignname'] }} | {{ value['sumImpressions']|number_format(0, '.', ',') }} | {{ value['sumClicks']|number_format(0, '.', ',') }} | {% if value['sumApplies'] %}{{ value['sumApplies']|number_format(0, '.', ',') }}{% else %}0{% endif %} | {% if value['sumSpentBudget'] %}{{ value['sumSpentBudget']|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ | {% if value['sumImpressions'] > 0 %}{{ ((value['sumSpentBudget'] / value['sumImpressions'])*1000)|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ | {% if value['sumImpressions'] > 0 %}{{ ((value['sumClicks'] / value['sumImpressions'])*100)|number_format(2, '.', ',') }}{% else %}0{% endif %}% | {% if value['sumClicks'] > 0 %}{{ (value['sumSpentBudget'] / value['sumClicks'])|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ | {% if value['sumApplies'] > 0 %}{{ (value['sumSpentBudget'] / value['sumApplies'])|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ |
Total | {{ totalSumsCampaignGroup['sumImpressions']|number_format(0, '.', ',') }} | {{ totalSumsCampaignGroup['sumClicks']|number_format(0, '.', ',') }} | {% if totalSumsCampaignGroup['sumApplies'] %}{{ totalSumsCampaignGroup['sumApplies']|number_format(0, '.', ',') }}{% else %}0{% endif %} | {% if totalSumsCampaignGroup['sumSpentBudget'] %}{{ totalSumsCampaignGroup['sumSpentBudget']|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ | {% if totalSumsCampaignGroup['sumImpressions'] > 0 %}{{ ((totalSumsCampaignGroup['sumSpentBudget'] / totalSumsCampaignGroup['sumImpressions'])*1000)|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ | {% if totalSumsCampaignGroup['sumImpressions'] > 0 %}{{ ((totalSumsCampaignGroup['sumClicks'] / totalSumsCampaignGroup['sumImpressions'])*100)|number_format(2, '.', ',') }}{% else %}0{% endif %}% | {% if totalSumsCampaignGroup['sumClicks'] > 0 %}{{ (totalSumsCampaignGroup['sumSpentBudget'] / totalSumsCampaignGroup['sumClicks'])|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ | {% if totalSumsCampaignGroup['sumApplies'] > 0 %}{{ (totalSumsCampaignGroup['sumSpentBudget'] / totalSumsCampaignGroup['sumApplies'])|number_format(2, '.', ',') }}{% else %} 0{% endif %}€ |