Skip to content

In-Feed Small Format

This guide details the implementation of the In-Feed Small Placement using the Missena bidder. The in-feed small format is a compact variant of the standard in-feed placement, designed for a more lightweight integration within content.

Prerequisites

  • Prebid.js integration
  • Valid Missena API key from your account manager

Implementation Steps

In-Feed Small Placement Implementation

javascript
var AD_UNIT_CODE = "PASTE YOUR GPT PLACEMENT";
var PUBLISHER_MISSENA_TOKEN = "PUT YOUR MISSENA API KEY HERE";

var missenaAdUnit = {
    code: AD_UNIT_CODE,
    mediaTypes: { banner: { sizes: [[1, 1]] } },
    bids: [
        {
            bidder: "missena",
            params: {
                apiKey: PUBLISHER_MISSENA_TOKEN,
                placement: "infeed.s",  // Specifies in-feed small placement
            },
        },
    ],
};

var adUnits = [missenaAdUnit];

Key Configuration Points

  1. Placement Type: The placement: "infeed.s" parameter specifically configures this as an in-feed small format.

  2. Size Configuration: The implementation uses a 1x1 size specification for the banner media type.

  3. Ad Unit Code: Make sure to replace AD_UNIT_CODE with your actual GPT placement code.

  4. API Token: Replace PUBLISHER_MISSENA_TOKEN with your unique Missena API key.

Differences from Standard In-Feed

The in-feed small format differs from the standard In-Feed format:

  • More compact ad display within content
  • Simplified rendering for better performance

Important Notes

  1. SafeFrame Configuration: Ensure your prebid creatives are not SafeFrame enabled. The "Serve into a SafeFrame" option in your GAM creative should be unchecked.

  2. Media Types: The implementation uses the banner media type with a 1x1 size specification.

Validation Checklist

  • [ ] Prebid.js is properly configured
  • [ ] Missena API key is correctly set
  • [ ] In-feed small placement parameter is specified (infeed.s)
  • [ ] SafeFrame is disabled for the creative
  • [ ] Ad unit size is set to 1x1
  • [ ] GPT placement code is correctly inserted

Troubleshooting

If the implementation is not working as expected, verify:

  1. The Missena API key is correct
  2. The placement parameter is set to "infeed.s"
  3. The GPT placement code matches your ad server setup
  4. Media types and sizes are properly configured
  5. Prebid.js is loaded and initialized correctly