<?php

namespace App\Campaigns\Platforms;

class TaboolaRules extends UnsupportedPlatformRules
{
    public function key(): string
    {
        return 'taboola';
    }

    public function name(): string
    {
        return 'Taboola';
    }

    /**
     * Taboola's own minimum, which it enforces on create.
     *
     * Taboola requires a daily budget of at least 10.00 per campaign, alongside
     * a minimum CPC that varies by country and is not modelled here.
     *
     * Published in USD, and Taboola states its minimums per currency rather
     * than converting them, so confirm against the current rate card before the
     * first live campaign.
     */
    public function minimumDailyBudget(): float
    {
        return 10.00;
    }

    public function supportedAssetRatios(): array
    {
        return ['16:9', '1:1', '4:3'];
    }
}
