Connect AdSense over OAuth, sync entities and daily reports locally, and show placement performance in the admin panel without calling the Management API from public pages.
18 lines
393 B
PHP
18 lines
393 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Services\Adsense\Exceptions;
|
|
|
|
final class AdsenseApiException extends AdsenseException
|
|
{
|
|
public function __construct(
|
|
string $message,
|
|
public readonly int $status = 0,
|
|
public readonly string $report = '',
|
|
?\Throwable $previous = null,
|
|
) {
|
|
parent::__construct($message, $status, $previous);
|
|
}
|
|
}
|