Determining ad relevance involves several steps. Marketers need to understand their target audience by analyzing data such as past purchase behavior, browsing history, and demographic information. Segmentation and personalization are key techniques used to tailor ad content to specific audience segments.