@include('livewire.admin.ads._nav') Ad unit IDs are public (they ship inside the app). Never paste a secret here — the LevelPlay server-to-server private key belongs only in the server's environment (LEVELPLAY_S2S_PRIVATE_KEY). Use test units (environment "development") with test mode on until production approval.
@if ($editingId)Cancel@endif {{ $editingId ? 'Save ad unit' : 'Add ad unit' }}
@if ($lastInit) {{ $lastInit->event === 'init_success' ? 'Succeeded' : 'Failed'.($lastInit->error_code ? ' (code '.$lastInit->error_code.')' : '') }} {{ $lastInit->occurred_at->format('d M Y, H:i') }}{{ $lastInit->is_test ? ' · test' : '' }} @else No app has reported an initialization yet. @endif Set at Android build time (LEVELPLAY_ADMOB_APP_ID), not here. {{ config('minimax.ads_test_mode') ? 'On — events count as test' : 'Off' }}
NameFormatEnvironmentLevelPlay IDLive in the appLast loadLoads / no-fill / errors (7 d)Last errorStatusUpdatedActions @forelse ($units as $unit) @php($s = $stats[$unit->levelplay_ad_unit_id] ?? collect()) {{ $unit->name }} {{ ucfirst($unit->format) }} {{ ucfirst($unit->environment) }} {{ $unit->levelplay_ad_unit_id }} @if ($livePlacements[$unit->id]) {{ implode(', ', $livePlacements[$unit->id]) }} @else {{ $unit->placements->isEmpty() ? 'Not used by a placement' : 'Not live' }} @endif {{ $unit->last_loaded_at?->format('d M H:i') ?? '—' }} {{ (int) ($s['loaded'] ?? 0) }} / {{ (int) ($s['no_fill'] ?? 0) }} / {{ (int) ($s['load_failed'] ?? 0) + (int) ($s['display_failed'] ?? 0) }} {{ $unit->last_error_at ? $unit->last_error_at->format('d M H:i').' · '.$unit->last_error : '—' }} {{ $unit->updated_at->format('d M Y H:i') }} Edit {{ $unit->is_active ? 'Deactivate' : 'Activate' }} @empty @endforelse

Load, no-fill and error figures are what the app reports (production events only). They describe delivery; they are never used to pay anyone.