# Programmatic Integration

Programmatic Integration is how the demand you already have reaches your feed. The feed serves in the formats media is already bought in: VAST 4.2 video, standard IAB display sizes, and tracking and consent macros.

The budget is demand you already have: your direct demand, or the buying platforms you already use. You activate it on your feed, and the feed serves on the partner properties you approve, only while it earns the margin you set.

![Diagram: Programmatic Integration at the centre, with the eight products around it: Onsite (iab units in your app), Offsite (vast, display, macros), Monetize (ad server and floors), Network (approved partners), Control (safety and blocklists), Studio (a cut for every size), Supervised Intelligence (serve-time picks), Marketplace (drafts ad presets).](https://cdn.sanity.io/images/lnrtvsvr/development/e94f404b3bf3fc42e6fd7c513b7ba1153e614c24-320x180.svg)

## How the eight products deliver it

1. **Monetize: authorize the sale and choose how demand is served.** Publish ads.txt and check your sellers.json entry. Then use the Genuin Ad Server, or keep your own ad server as the system of record, and set floors. Read: [Set up ads.txt and sellers.json](https://begenuin.com/developers/browse-by-products/monetize/set-up-ads-txt-and-sellers-json), [Programmatic: Genuin Ad Server or your partner ad server](https://begenuin.com/developers/browse-by-products/monetize/programmatic-genuin-ad-server-or-your-partner-ad-server), [Floor Pricing and Yield Rules](https://begenuin.com/developers/browse-by-products/monetize/floor-pricing-and-yield-rules).
2. **Control: save your brand safety profile and blocklists.** Bid requests carry the profile in standard IAB fields, and one set of blocklists applies to content and ads alike. Read: [Brand Safety Profile](https://begenuin.com/developers/browse-by-products/control/brand-safety-profile), [Keyword and Topic Blocklists](https://begenuin.com/developers/browse-by-products/control/keyword-and-topic-blocklists).
3. **Marketplace: draft your ad presets.** Set Up Monetization drafts the presets and creates them switched off once you approve. Read: [Set Up Monetization](https://begenuin.com/developers/browse-by-products/marketplace/set-up-monetization).
4. **Onsite: run the units on your own properties.** In-feed ads run in your placements, and the same IAB units render in your own apps from a tag ID. Read: [Go live with monetization in your feeds, apps, and partner pages](https://begenuin.com/developers/developer-resources/sdk/go-live-with-monetization-in-your-feeds-apps-and-partner-pages).
5. **Studio: adapt each video to every size.** Adaptation re-cuts each video, so one video fills video slots and display slots. Read: [Adaptation](https://begenuin.com/developers/browse-by-products/studio/adaptation).
6. **Network: approve partners and set your margin.** A tag serves only on the properties of partners you approved, and only while the feed earns your margin. Read: [Add brand partners and demand partners](https://begenuin.com/developers/browse-by-products/network/add-partners), [Brand Partner Invitations and Permissions](https://begenuin.com/developers/browse-by-products/network/brand-partner-invitations-and-permissions).
7. **Offsite: set up the tag with its macros.** Genuin sets up the Extended O&O tag with you: VAST 4.2 or a JavaScript display tag, with the consent macros and the partner's placement ID. Add the partner's postback URL so the partner reads conversions in its own tools. Read: [Tags for Distribution](https://begenuin.com/developers/browse-by-products/offsite/tags-for-distribution), [Ad tag reference: VAST, IAB sizes, and macros](https://begenuin.com/developers/browse-by-products/offsite/ad-tag-reference-vast-iab-sizes-and-macros), [Macro and Consent Passthrough](https://begenuin.com/developers/browse-by-products/offsite/offsite-activation-consent-reporting-attribution), [Offsite Attribution Postbacks](https://begenuin.com/developers/browse-by-products/offsite/offsite-activation-consent-reporting-attribution).
8. **Supervised Intelligence: read delivery and margin.** For a dynamic feed tag, Maya picks the videos at serve time. Margin reporting shows what each impression earned after cost. Read: [Programmatic ad performance](https://begenuin.com/developers/browse-by-products/monetize/what-analytics-are-available-for-programmatic-advertising-on-genuin), [Margin reporting: revenue per impression and net margin on ad spend](https://begenuin.com/developers/browse-by-products/network/margin-reporting-revenue-per-impression-and-net-margin-on-ad-spend).

## Example

- **Business**: a lifestyle publisher with article pages and a vertical feed.
- **Page**: an article page with a 300×600 unit in the right rail, and a feed placement below the article.
- **Setup**: under **Settings** > **Ad Configuration**, create a preset for the feed placement and add your demand sources. Header Bidding is the default ad server, and you can import Google Ad Manager ad units. Set **Start Slot** and **Repeat Frequency**, and the placement's floor. For the 300×600 unit, Genuin sets up the tag and its consent macros with you, and your developer adds its container and script to the article template.
- **What viewers see**: video that starts muted, in the unit and in the feed, with ad cards at the slots you set. A tap turns the sound on.
- **What you measure**: impressions, views, completion, and click-through by **Placement** and **Domain**, with the [Analytics Visualization](https://begenuin.com/developers/browse-by-products/marketplace/analytics-visualization) capability, and what each impression earned after cost in [margin reporting](https://begenuin.com/developers/browse-by-products/network/margin-reporting-revenue-per-impression-and-net-margin-on-ad-spend).

### See it live

- [300×600 video unit inside an article](https://demos.begenuin.com/TheArchitecct/publisher/article/article-cxr.html)

The Architect is a sample publisher site. Ads in the demos come from live demand, so they change from visit to visit.

## Best practices

- Keep **House (Fallback Content)** in the preset's priorities, so a slot plays your own video when no demand fills it.
- Keep **Start Slot** at 2 or later, so viewers see your video before the first ad card.
- Define `window.noAdsCallback` on pages with the unit, so you can hide the slot or fire your passback tag when it has nothing to show.
- Pass the page's consent values in the unit's script address (`gdpr` and `gdpr_consent`), so the unit can add them to its ad requests.

## Limits

- The 320×50 unit is a compact bar with no video player. It plays audio after a viewer taps to unmute.
- **Start Slot** and **Repeat Frequency** each go from 1 to 10.

## Developer resources

- [Ad tag reference: VAST, IAB sizes, and macros](https://begenuin.com/developers/browse-by-products/offsite/ad-tag-reference-vast-iab-sizes-and-macros)
- [Player card sizes and IAB footprint spec](https://begenuin.com/developers/developer-resources/sdk/player-card-sizes-and-iab-footprint-spec)
- [Go live with monetization in your feeds, apps, and partner pages](https://begenuin.com/developers/developer-resources/sdk/go-live-with-monetization-in-your-feeds-apps-and-partner-pages)
- [Add IAB Standard Size Experiences to an iOS app](https://begenuin.com/developers/developer-resources/sdk/integrate-the-genuin-ad-sdk-for-ios)
- [Add IAB Standard Size Experiences to an Android app](https://begenuin.com/developers/developer-resources/sdk/integrate-the-genuin-ad-sdk-for-android)
- [Add IAB Standard Size Experiences to a React Native app](https://begenuin.com/developers/developer-resources/sdk/integrate-ads-with-react-native-sdk)

## Related

- [Offsite: create tags for your approved partners](https://begenuin.com/developers/browse-by-products/offsite/offsite-generate-iab-standard-tags-for-your-media-plan)
- [Create an ad creative](https://begenuin.com/developers/developer-resources/sdk/how-brands-implement-iab-compatible-embeds-for-media-and-advertising-partners)
- [Ad creative specs: mobile](https://begenuin.com/developers/browse-by-products/offsite/offsite-embeds-for-mobile-devices-best-practices-and-specs)
- [Ad creative specs: desktop](https://begenuin.com/developers/browse-by-products/offsite/offsite-embeds-for-desktop-best-practices-and-specs)
- [Set up programmatic ads](https://begenuin.com/developers/browse-by-products/monetize/how-do-we-set-up-programmatic-ads-to-generate-automated-ad-revenue)
