---
title: Publisher Prebid Integration
description: A guide for setting up Prebid Native in Google Ad Manager
---

[Skip to content](https://help.revcontent.com/knowledge/publisher-prebid#main-content)

[![rc\_help\_center\_logo\_color](https://help.revcontent.com/hs-fs/hubfs/rc_help_center_logo_color.png?width=275&height=66&name=rc_help_center_logo_color.png)](https://help.revcontent.com/knowledge?hsLang=en)

Open main navigation

Close main navigation

- [Go to RevContent.com](https://www.revcontent.com/)

[Go to RevContent.com](https://www.revcontent.com/)

 Got questions? Find the answers here.

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.revcontent.com/knowledge?hsLang=en)
2. [Publishers](https://help.revcontent.com/knowledge/publishers?hsLang=en)
3. [Widget Settings & Options](https://help.revcontent.com/knowledge/publishers?hsLang=en#widget-settings-options)

# Publisher Prebid Integration

## A guide for setting up Prebid Native in Google Ad Manager

### **Prerequisites**

- Prebid ad ops setup [http://prebid.org/adops/setting-up-prebid-native-in-dfp.html](http://prebid.org/adops/setting-up-prebid-native-in-dfp.html)
- Prebid engineering setup [http://prebid.org/dev-docs/examples/native-ad-example.html](http://prebid.org/dev-docs/examples/native-ad-example.html)
- Include revcontent bid adapter in prebid build. Either:  
  a) select Revcontent in [http://prebid.org/download.html](http://prebid.org/download.html)or  
  b) include in code pipeline: gulp build --modules=revcontentBidAdapter

- Update your ads.txt to contain our entries: [https://www.revcontent.com/ads\_txt](https://www.revcontent.com/ads_txt)

---

When going through the Prebid engineering setup, set up a ‘revcontent’ bidder for each ‘adUnit’ placement you’d like to place Revcontent in

1\) Determine the size you’d like to serve in the ad unit:

```
/*Supported sizes:----------------300x250 - Medium rectangle728x90 - Leaderboard300x600 - Half page or large skyscraper*/var size = {width: 300, height: 250};
```

2\) In the ‘bids’ field of the ad units you’d like to have Revcontent widgets complete for inventory you’ll need to add a new bidder. Add your account details in the highlighted sections. Choose the widget id that associates with the placement.

```
{   bidder: 'revcontent',   params: {       size: size,       apiKey: '<API_KEY>',       userId: <ACCOUNT_ID>,       domain: '<SITE-DOMAIN>',       endpoint: 'trends.revcontent.com'   }}
```

3\) See:[https://github.com/prebid/Prebid.js/blob/master/modules/revcontentBidAdapter.md](https://github.com/prebid/Prebid.js/blob/master/modules/revcontentBidAdapter.md) for extra options, such as bid floor, and custom template.

4\) See:[https://github.com/prebid/Prebid.js/blob/master/integrationExamples/gpt/revcontent\_example.html](https://github.com/prebid/Prebid.js/blob/master/integrationExamples/gpt/revcontent_example.html) for a full example in context.

Once ads have served (won the bid and displayed the ad), the Revcontent UI should show stats for the widget (manually or automatically created for this domain) in the UI.

 

- [General Information](https://help.revcontent.com/knowledge/general-information?hsLang=en)
- [Compliance Policies](https://help.revcontent.com/knowledge/compliance-policies?hsLang=en#main-content)

    - [Campaign Guidelines](https://help.revcontent.com/knowledge/compliance-policies?hsLang=en#campaign-guidelines)
    - [Site Guidelines](https://help.revcontent.com/knowledge/compliance-policies?hsLang=en#site-guidelines)
    - [Resources](https://help.revcontent.com/knowledge/compliance-policies?hsLang=en#resources)
- [Native API](https://help.revcontent.com/knowledge/native-api?hsLang=en)
- [Advertisers](https://help.revcontent.com/knowledge/advertisers?hsLang=en#main-content)

    - [RevContent Best Practices](https://help.revcontent.com/knowledge/advertisers?hsLang=en#revcontent-best-practices)
    - [Campaign Options](https://help.revcontent.com/knowledge/advertisers?hsLang=en#campaign-options)
    - [Optimization Tips and Tools](https://help.revcontent.com/knowledge/advertisers?hsLang=en#optimization-tips-and-tools)
    - [Troubleshooting](https://help.revcontent.com/knowledge/advertisers?hsLang=en#troubleshooting)
    - [Advertiser Tracking](https://help.revcontent.com/knowledge/advertisers?hsLang=en#advertiser-tracking)
    - [Advertiser API](https://help.revcontent.com/knowledge/advertisers?hsLang=en#advertiser-api)
    - [Accounting & Billing](https://help.revcontent.com/knowledge/advertisers?hsLang=en#accounting-billing)
    - [Demand-side Platforms](https://help.revcontent.com/knowledge/advertisers?hsLang=en#demand-side-platforms)
- [Publishers](https://help.revcontent.com/knowledge/publishers?hsLang=en#main-content)

    - [Publisher Account](https://help.revcontent.com/knowledge/publishers?hsLang=en#publisher-account)
    - [Widget Settings & Options](https://help.revcontent.com/knowledge/publishers?hsLang=en#widget-settings-options)
    - [Labs Widgets](https://help.revcontent.com/knowledge/publishers?hsLang=en#labs-widgets)
    - [Publisher Reporting](https://help.revcontent.com/knowledge/publishers?hsLang=en#publisher-reporting)
    - [Publisher Compliance](https://help.revcontent.com/knowledge/publishers?hsLang=en#publisher-compliance)
    - [Publisher Payments](https://help.revcontent.com/knowledge/publishers?hsLang=en#publisher-payments)
    - [Email](https://help.revcontent.com/knowledge/publishers?hsLang=en#email)
    - [Supply-side Platforms](https://help.revcontent.com/knowledge/publishers?hsLang=en#supply-side-platforms)
- [Email Monetization](https://help.revcontent.com/knowledge/email-monetization?hsLang=en)
- [Terms & Agreements](https://help.revcontent.com/knowledge/terms-agreements?hsLang=en)

[![Chill listening crop-3](https://help.revcontent.com/hs-fs/hubfs/revcontent-mark-BK-1.png?width=30&height=28&name=revcontent-mark-BK-1.png "Chill listening crop-3")](https://revcontent.com/)

© 2026, RevContent, LLC. All Rights Reserved.

[Copyright](https://www.revcontent.com/policy/copyright) [Cookie Policy](https://www.revcontent.com/policy/cookie-policy) [Privacy Policies](https://www.revcontent.com/policy/privacy-policy) [Opt Out](https://www.revcontent.com/legal/optout/?hsCtaTracking=5306afdf-6769-4bd9-87ab-280b36dd7363%7C39c8c8b7-a7b1-4c60-9381-2624d1633c34)