@php $usdToTndRate = 4; @endphp

Details compte Meta Ads

{{ $connection->ad_account_name }} ({{ $connection->ad_account_id }})

Retour

Spend total

{{ number_format((float) ($totals->spend ?? 0), 2, ',', ' ') }} $

{{ number_format(((float) ($totals->spend ?? 0)) * $usdToTndRate, 2, ',', ' ') }} TND

Impressions

{{ number_format((int) ($totals->impressions ?? 0), 0, ',', ' ') }}

Clicks

{{ number_format((int) ($totals->clicks ?? 0), 0, ',', ' ') }}

Rapport par publication

@if ($reportStartDate && $reportEndDate) Metriques calculees sur la periode selectionnee. Lancez une synchronisation pour mettre a jour les donnees journalieres. @else Metriques lifetime (sans filtre de dates). @endif

@if ($selectedPostNames !== [])
@foreach (request()->except(['post_names', 'report_start_date', 'report_end_date']) as $key => $value) @if (is_array($value)) @foreach ($value as $item) @endforeach @else @endif @endforeach @foreach ($selectedPostNames as $postName) @endforeach @if ($reportStartDate) @endif @if ($reportEndDate) @endif
@endif
@foreach (request()->except(['post_names', 'report_start_date', 'report_end_date', 'ads_page']) as $key => $value) @if (is_array($value)) @foreach ($value as $item) @endforeach @else @endif @endforeach
@if ($availablePostNames === [])

Aucune publication configuree. Utilisez Set conf sur une ad pour definir un nom de publication.

@else
@foreach ($availablePostNames as $postName) @endforeach
@endif
Reinitialiser
@if ($selectedPostNames !== [])
Spend total {{ number_format($postReport['totals']['spend'], 2, ',', ' ') }} $ {{ number_format($postReport['totals']['spend'] * $usdToTndRate, 2, ',', ' ') }} TND
Couverture {{ number_format($postReport['totals']['conversions'], 0, ',', ' ') }}
Interactions {{ number_format($postReport['totals']['interactions'], 0, ',', ' ') }}
@include('integrations.meta.partials.post-report-objective-section', [ 'objectiveKey' => 'conversion', 'objectiveData' => $postReport['by_objective']['conversion'], 'usesDailyMetrics' => $postReport['uses_daily_metrics'], 'usdToTndRate' => $usdToTndRate, ]) @include('integrations.meta.partials.post-report-objective-section', [ 'objectiveKey' => 'interaction', 'objectiveData' => $postReport['by_objective']['interaction'], 'usesDailyMetrics' => $postReport['uses_daily_metrics'], 'usdToTndRate' => $usdToTndRate, ])
@if ($postReport['ads_with_metrics'] === [])

Aucune ad trouvee pour les publications selectionnees.

@endif @endif

Ads synchronisees

@if ($showInactive) Ads terminees ou en pause, de la plus recente a la plus ancienne. @else Ads en diffusion et en revision Meta (PENDING_REVIEW). Les ads terminees ou en pause sont masquees. @endif

@if ($inactiveAdsCount > 0 || $showInactive) @if ($showInactive) Voir uniquement les ads actives @else Voir les ads inactives ({{ number_format($inactiveAdsCount, 0, ',', ' ') }}) @endif @endif
@forelse ($ads as $ad) @empty @endforelse
Statut Campagne Dépenses (lifetime) Impressions (lifetime) Clics (lifetime) CPC CPM Résultats Coût par résultat Publication Actions
@php($statusLabel = $ad->displayStatusLabel()) $ad->isDelivering(), 'bg-sky-50 text-sky-700' => $ad->isPendingReview(), 'bg-amber-50 text-amber-700' => ! $ad->isDelivering() && ! $ad->isPendingReview() && $statusLabel === 'Terminee', 'bg-slate-100 text-slate-600' => ! $ad->isDelivering() && ! $ad->isPendingReview() && $statusLabel !== 'Terminee', ])> {{ $statusLabel }} @if ($ad->effective_status && $ad->effective_status !== 'ACTIVE')

Meta : {{ $ad->effective_status }}

@elseif (! $ad->isDelivering() && $ad->effective_status === 'ACTIVE')

Meta : ACTIVE @if ($ad->delivery_end_at) · fin {{ $ad->delivery_end_at->format('d/m/Y') }} @elseif ($ad->campaign_effective_status && strtoupper($ad->campaign_effective_status) !== 'ACTIVE') · campagne {{ $ad->campaign_effective_status }} @elseif ($ad->adset_effective_status && strtoupper($ad->adset_effective_status) !== 'ACTIVE') · ad set {{ $ad->adset_effective_status }} @endif

@endif

{{ $ad->ad_name ?: '-' }}

{{ $ad->ad_id }}

{{ $ad->campaign_name ?: '-' }}

{{ $ad->campaign_id ?: '-' }}

{{ number_format((float) ($ad->lifetime_spend ?? 0), 2, ',', ' ') }} $

{{ number_format(((float) ($ad->lifetime_spend ?? 0)) * $usdToTndRate, 2, ',', ' ') }} TND

{{ number_format((int) ($ad->lifetime_impressions ?? 0), 0, ',', ' ') }} {{ number_format((int) ($ad->lifetime_clicks ?? 0), 0, ',', ' ') }}

{{ number_format((float) ($ad->lifetime_cpc ?? 0), 4, ',', ' ') }} $

{{ number_format(((float) ($ad->lifetime_cpc ?? 0)) * $usdToTndRate, 4, ',', ' ') }} TND

{{ number_format((float) ($ad->lifetime_cpm ?? 0), 4, ',', ' ') }} $

{{ number_format(((float) ($ad->lifetime_cpm ?? 0)) * $usdToTndRate, 4, ',', ' ') }} TND

{{ number_format((int) ($ad->lifetime_results ?? 0), 0, ',', ' ') }}

{{ number_format((float) ($ad->lifetime_cost_per_result ?? 0), 4, ',', ' ') }} $

{{ number_format(((float) ($ad->lifetime_cost_per_result ?? 0)) * $usdToTndRate, 4, ',', ' ') }} TND

@if ($ad->post_name)

{{ $ad->post_name }}

{{ $ad->resultTypeLabel() }}

@else Non configure @endif
@include('integrations.meta.partials.ad-table-actions', [ 'connection' => $connection, 'ad' => $ad, 'destinationConnections' => $destinationConnections, 'redirectTo' => 'show', ])
Aucune ad synchronisee pour ce compte.
{{ $ads->links() }}