LinkedIn Ads

@foreach($ads as $ad)
{{ $ad['companyName'] }} {{ $ad['companyName'] }}
{!! $ad['postText'] !!}
@if(isset($ad['imageUrl']) && $ad['imageUrl'] != '') Ad Image @endif

{{ $ad['headline'] }}

{{ $ad['paragraph'] }}

@if(count($ad['links']) > 0) Learn more @endif

Advertiser: {{ $ad['details']['advertiser']['advertiserName'] }}

Ad URL: {{ $ad['adUrl']}}

Type: {{ $ad['details']['type'] }}

Statistics
  • From {{ date('d F Y', ($ad['details']['adStatistics']['firstImpressionAt'] ?? time() * 1000) / 1000) }} to {{ date('d F Y', ($ad['details']['adStatistics']['latestImpressionAt'] ?? time() * 1000) / 1000) }}
Impressions Distribution By Country
    @if(isset($ad['details']['adStatistics']['impressionsDistributionByCountry'])) @foreach($ad['details']['adStatistics']['impressionsDistributionByCountry'] as $countryImpression)
  • {{ explode(':', $countryImpression['country'])[3] }}: {{ $countryImpression['impressionPercentage'] }}%
  • @endforeach @else
  • No data available.
  • @endif
Targeting
    @if(isset($ad['details']['adTargeting'])) @foreach($ad['details']['adTargeting'] as $target)
  • {{ $target['facetName'] ?? 'N/A' }}: @if(!empty($target['includedSegments'])) Included: {{ implode(', ', $target['includedSegments']) }} @endif @if(!empty($target['excludedSegments'])) Excluded: {{ implode(', ', $target['excludedSegments']) }} @endif
  • @endforeach @else
  • No targeting data available.
  • @endif
@endforeach