Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
76 lines (56 sloc) 1.97 KB

Rubicon Project

If you want to serve ads via your Ad Server then there is no need to use the adapter when using Smart Tags. These can simply be served via your Ad Server in the normal fashion. You simply need to ensure that you are using secure tags (https).

The Rubicon Project adapter supports Smart Tags directly on the page.

Please note that Fastlane is no longer supported.

Examples

Smart Tag: Basic

<amp-ad width=320 height=50
    type="rubicon"
    data-method="smartTag"
    data-account="14062"
    data-site="70608"
    data-zone="335918"
    data-size="43">
</amp-ad>

Smart Tag: With additional targeting

<amp-ad width="320" height="50"
    type="rubicon"
    data-method="smartTag"
    data-account="14062"
    data-site="70608"
    data-zone="335918"
    data-size="43"
    data-kw="amp"
    json='{"visitor":{"age":"18-24","gender":"male"},"inventory":{"section":"amp"}}'>
</amp-ad>

Configuration

For semantics of configuration, please contact your Rubicon Account Director @ Rubicon Project

Ad size

By default the ad size is based on the width and height attributes of the amp-ad tag.

Supported parameters

Smart Tag

  • data-method
  • data-account
  • data-site
  • data-zone
  • data-size
First Party Data & Keywords
  • data-kw
  • json - for visitor and inventory data
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.