from typing import Callable
from typing import List
import random


def get_random_ad(_: Callable, ads: List[str]) -> str:
    """
    Returns text of a random ad from files/ads.json or the default ad text.
    """
    return '\n\n' + (random.choice(ads) or _('default_ad'))