$failedReports */ public function __construct( public string $accountDisplayName = '', public string $from = '', public string $to = '', public int $adUnits = 0, public int $customChannels = 0, public int $totalRows = 0, public int $adUnitRows = 0, public int $customChannelRows = 0, public int $platformRows = 0, public int $countryRows = 0, public array $failedReports = [], public bool $entitiesSynced = false, public bool $reconnectRequired = false, ) {} public function succeeded(): bool { return ! $this->reconnectRequired && $this->failedReports === []; } }