{{ __('Meta Ads / New') }}
{{ __('Create Meta Ads') }} {{ __('campaign') }}
{{ __('Draft / unsaved') }}
@if ($errors->any())
{{ __('Could not save the campaign:') }}
    @foreach ($errors->all() as $msg)
  • {{ $msg }}
  • @endforeach
@endif
@csrf
01 {{ __('Campaign details') }} {{ __('required') }}
@php $goal = old('optimization_goal', 'MESSAGES'); @endphp
Minimum recommended budget is {{ \App\Support\FormatSettings::currency(1) }}/day.
{{-- Ad type + placement (Instagram Ads). ad_type drives the destination/creative; placement drives where it shows. --}}
@php $adType = old('ad_type', 'ctwa'); @endphp
{{ __('A WhatsApp chat, a website link, or an Instagram Direct message.') }}
{{-- Sentinel: tells the controller the placement UI was present, so unchecking every box means "automatic" (not "unchanged"). --}} @php $pp = (array) old('publisher_platforms', []); $ip = (array) old('instagram_positions', []); @endphp
·
{{ __('Leave all unchecked for automatic placements. Instagram positions apply only when Instagram is ticked; your connected Instagram account is used as the ad identity.') }}
@foreach (($wabaNumbers ?? []) as $n) @endforeach
@if (!empty($wabaNumbers)) {{ __('Pick one of your connected numbers, or type another.') }} @else {{ __('Digits only, no plus sign.') }} @endif
02 {{ __('Audience targeting') }} {{ __('Meta ad set') }}
@php $oldCountries = (array) old('target_countries', []); @endphp
{{ __('Pick one or more — Meta uses ISO codes.') }}
@php $oldInterests = (array) old('interests', []); @endphp
{{ __("Pick from Meta's curated interest taxonomy — leave empty for broad targeting.") }}
@include('user.campaigns._advanced-targeting', ['campaign' => null])
03 {{ __('Ad creative') }} {{ __('headline, text, media') }}
{{-- Live preview thumbnail — appears after file pick. Dimension validation runs client-side so the user catches under-1080 images BEFORE the server round-trip. --}}
{{-- Build-with-AI modal — vanilla Tailwind, same overlay/panel pattern as /templates/create#ai-modal so the visual language stays consistent. Opened by #open-ai-modal in the sticky bar. POST submission lives in user-campaigns-create.js. --}}