@php $usd = fn ($value) => '$'.number_format((float) $value, 2); $usdFine = fn ($value) => '$'.number_format((float) $value, 4); $num = fn ($value) => number_format((int) $value); $pct = fn ($value) => $value === null ? '—' : $value.'%'; @endphp
@include('livewire.admin.ads._nav') @if (! $masterEnabled) No ad requests or rewarded opportunities are offered while "All ads" is off (Ads Earning page). Past records stay as they are. @endif @if ($testMode) Events received now are recorded as test-only and excluded from every figure below (they are counted separately). Turn test mode off for production. @endif
@foreach (\App\Domain\Ads\AdsAnalytics::RANGES as $key => $label) @endforeach @if ($range === 'custom') @endif @foreach ($placements as $option) @endforeach @foreach ($networks as $option) @endforeach @foreach (\App\Domain\Ads\AdsAnalytics::REWARD_TYPES as $key => $label) @endforeach

{{ $start->format('d M Y') }} – {{ $end->format('d M Y') }} ({{ config('minimax.ads_earning_timezone') }})

Revenue

Ad delivery

Players and rewards

@if ($stats['test_events'] > 0 || $stats['simulated_completed'] > 0) Excluded as test-only: {{ $num($stats['test_events']) }} test SDK events and {{ $num($stats['simulated_completed']) }} simulated (QA) rewarded completions. @endif @if (collect($daily)->sum(fn ($day) => $day['impressions'] + $day['completed']) === 0) @else

ImpressionsVerified completions

@endif

By placement

PlacementFormatRequestsLoadsFill rateNo-fillErrorsImpressionsVerifiedEst. revenue @foreach ($byPlacement as $row) {{ $row['name'] }} @unless ($row['enabled'])Off@endunless {{ ucfirst(str_replace('_', '-', $row['format'])) }} {{ $num($row['requests']) }} {{ $num($row['loads']) }} {{ $pct($row['fill_rate']) }} {{ $num($row['no_fill']) }} {{ $num($row['errors']) }} {{ $num($row['impressions']) }} {{ $row['format'] === 'rewarded' ? $num($row['verified_completions']) : '—' }} {{ $usdFine($row['estimated_revenue_usd']) }} @endforeach

By network

Network (SDK-reported)ImpressionsEst. revenue @forelse ($byNetwork as $row) {{ $row['network'] }}{{ $num($row['impressions']) }}{{ $usdFine($row['estimated_revenue_usd']) }} @empty @endforelse