using MediatR;

namespace AdsManagerService.API.Application.Commands;

/// <summary>
/// EN: Command to create a new ad.
/// VI: Command tạo quảng cáo mới.
/// </summary>
public record CreateAdCommand : IRequest<Guid>
{
    public Guid AdSetId { get; init; }
    public string Name { get; init; } = null!;
    public string Format { get; init; } = "single_image"; // single_image, single_video, carousel, etc.
    public string? Headline { get; init; }
    public string? PrimaryText { get; init; }
    public string? CallToAction { get; init; }
    public string? DestinationUrl { get; init; }
    public string? CreativeUrl { get; init; }
}
