> ## Documentation Index
> Fetch the complete documentation index at: https://docs.topsort.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Optimizing Ad Selection and Ranking

export const LastUpdated = ({date, lang = "en"}) => {
  const translations = {
    en: "Last updated:",
    es: "Última actualización:",
    pt: "Última atualização:",
    fr: "Dernière mise à jour:",
    de: "Zuletzt aktualisiert:"
  };
  const label = translations[lang] || translations.en;
  return <>
<style>{`
.last-updated-component {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
border-radius: 8px;
margin-top: 12px;
margin-bottom: 16px;
font-size: 14px;
background-color: rgba(0, 0, 0, 0.05);
border: 1px solid rgba(0, 0, 0, 0.12);
color: rgba(0, 0, 0, 0.75);
line-height: 1;
}

        .last-updated-component svg {
          flex-shrink: 0;
          vertical-align: middle;
        }

        .last-updated-component span {
          display: inline-flex !important;
          align-items: center !important;
          line-height: 1 !important;
        }

        [data-theme="dark"] .last-updated-component {
          background-color: #3a3a3a;
          border: 2px solid #888888;
          color: #ffffff;
        }

        [data-theme="dark"] .last-updated-component svg {
          stroke: #ffffff;
        }
      `}</style>
      <div className="last-updated-component">
        <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
          <circle cx="12" cy="12" r="10" />
          <polyline points="12 6 12 12 16 14" />
        </svg>
        <span>
          <strong style={{
    fontWeight: 600
  }}>{label}</strong> 
          <time dateTime={date}>{date}</time>
        </span>
      </div>
    </>;
};

<div style={{ textAlign: "justify", marginBottom: "1.5rem" }}>
  The components in this section are designed to work in real-time to help your
  ad system select the most relevant candidates, enrich the auction with more
  options, and rank the final results to maximize your business goals.
</div>

<Frame>
  <img src="https://mintcdn.com/topsort/FVdFH6-GAInpFZWG/images/knowledge-base/ad-intelligence-ad-selection-ranking-diagram.webp?fit=max&auto=format&n=FVdFH6-GAInpFZWG&q=85&s=d50ccb7f04552442e65469f236c574e4" alt="Diagram of ad selection and ranking components." width="1456" height="1600" data-path="images/knowledge-base/ad-intelligence-ad-selection-ranking-diagram.webp" />
</Frame>

## Retrieval

Expands the pool of eligible ad candidates for any given auction. Instead of being limited to a narrow set of ads, the Retrieval API intelligently finds related and complementary products, boosting fill rates and increasing total ad revenue by creating more opportunities.

<Frame>
  <img src="https://mintcdn.com/topsort/FVdFH6-GAInpFZWG/images/knowledge-base/ad-intelligence-ad-selection-retrieval-diagram.webp?fit=max&auto=format&n=FVdFH6-GAInpFZWG&q=85&s=3aa6dbd4952f8d6bd2928cefaf6313f5" alt="Diagram of retrieval component." width="1111" height="829" data-path="images/knowledge-base/ad-intelligence-ad-selection-retrieval-diagram.webp" />
</Frame>

## Quality Score Prediction

Predicts the performance (e.g., estimated CTR and CVR) of ads before they are shown. This allows your ad server to prioritize ads that are not only high-bid but also highly relevant, improving overall campaign performance and marketplace revenue.

<Frame>
  <img src="https://mintcdn.com/topsort/FVdFH6-GAInpFZWG/images/knowledge-base/ad-intelligence-ad-selection-prediction-diagram.webp?fit=max&auto=format&n=FVdFH6-GAInpFZWG&q=85&s=92f684f4cf3c9564edccac95904755cf" alt="Diagram of quality score prediction component." width="1236" height="874" data-path="images/knowledge-base/ad-intelligence-ad-selection-prediction-diagram.webp" />
</Frame>

## Unified Ranking

Optimizes the final, blended order of both sponsored and organic items shown to a user. It moves beyond simple ranking by bid price and instead arranges items to maximize your primary business goal, whether that's net profit, overall conversion rate, or another custom metric.

<Frame>
  <img src="https://mintcdn.com/topsort/FVdFH6-GAInpFZWG/images/knowledge-base/ad-intelligence-ad-selection-ranking-unified-diagram.webp?fit=max&auto=format&n=FVdFH6-GAInpFZWG&q=85&s=465d9ed36321dd034be5750478f6e814" alt="Diagram of unified ranking component." width="1367" height="868" data-path="images/knowledge-base/ad-intelligence-ad-selection-ranking-unified-diagram.webp" />
</Frame>

***

<LastUpdated date="2025-11-18" />
