using MediatR;

namespace AdsManagerService.API.Application.Commands;

/// <summary>
/// EN: Command to create a new ad set.
/// VI: Command tạo ad set mới.
/// </summary>
public record CreateAdSetCommand : IRequest<Guid>
{
    public Guid CampaignId { get; init; }
    public string Name { get; init; } = null!;
    public decimal DailyBudget { get; init; }
    public string BidType { get; init; } = "cpc"; // cpc, cpm, ocpm, automatic
    public decimal? BidAmount { get; init; }
    
    // Targeting
    public int? MinAge { get; init; }
    public int? MaxAge { get; init; }
    public string? Genders { get; init; }
    public string? Locations { get; init; }
    public string? Interests { get; init; }
}
