Appearance
Header Format
This guide details the implementation of the Header Placement using the Missena bidder.
Prerequisites
- Prebid.js integration
- Valid Missena API key from your account manager
Implementation Steps
Header 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: "header", // Specifies header placement
},
},
],
};
var adUnits = [missenaAdUnit];
Key Configuration Points
Placement Type: The
placement: "header"
parameter specifically configures this as a header format.Size Configuration: The implementation uses a 1x1 size specification for the banner media type.
Ad Unit Code: Make sure to replace
AD_UNIT_CODE
with your actual GPT placement code.API Token: Replace
PUBLISHER_MISSENA_TOKEN
with your unique Missena API key.
Important Notes
SafeFrame Configuration: Ensure your prebid creatives are not SafeFrame enabled. The "Serve into a SafeFrame" option in your GAM creative should be unchecked.
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
- [ ] Header placement parameter is specified
- [ ] SafeFrame is disabled for the creative
- [ ] Ad unit size is set to 1x1
- [ ] GPT placement code is correctly inserted
Implementation Differences from Other Formats
- Uses a header-specific placement parameter
- Optimized for top-of-page placement
- Specific placement-type configuration in the params
Troubleshooting
If the implementation is not working as expected, verify:
- The Missena API key is correct
- The placement parameter is set to "header"
- The GPT placement code matches your ad server setup
- Media types and sizes are properly configured
- Prebid.js is loaded and initialized correctly