Developers / Ad Campaigns / Ad Serving

Build Ad Serving

All Ad Campaigns paths

What this is

Programmatic ad delivery runs through bg_ad_serve(), with impression tracking built into the same call — the function that actually decides which creative to show for a given placement, category and context, and records that it happened.

How it works

bg_ad_serve($placement, $category, $contextType, $contextId) is the real-time decisioning function — called whenever an ad slot needs filling, it returns the appropriate creative for that specific context, with bg_ad_record_click($adId) handling the corresponding click-tracking side.
Holding BOT for this path

Ad serving is the highest-frequency call in the ad tech category, called on every ad impression — expect BOT holding requirements here to scale with serving volume the same way voice command API usage does, rather than a flat access fee regardless of scale.

Related paths in Ad Campaigns

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.