highimpact.js / types / MergedIntegrationConfig
Interface: MergedIntegrationConfig
types.MergedIntegrationConfig
Merged configuration passed to format integration hooks. Combines Advantage framework config with High Impact JS global config.
Advantage properties (framework-level):
- formats: Available format definitions
- formatIntegrations: Other integration configurations
- messageValidator: Security validation function
- enableHighImpactCompatibility: Compatibility mode flag
High Impact JS properties (publisher-level):
- plugins: Active plugins (e.g., ['gam', 'xandr'])
- topBarHeight: Site header height in pixels
- bottomBarHeight: Site footer height in pixels
- zIndex: Custom z-index for ads
- debug: Enable debug logging
- ignoreSlotOn: Function to skip certain ads
Hierarchy
Partial<AdvantageConfig>↳
MergedIntegrationConfig
Properties
bottomBarHeight
• Optional bottomBarHeight: number
Defined in
configUrlResolver
• Optional configUrlResolver: () => string
Type declaration
▸ (): string
Returns
string
Inherited from
Partial.configUrlResolver
Defined in
debug
• Optional debug: boolean
Defined in
enableHighImpactCompatibility
• Optional enableHighImpactCompatibility: boolean
Inherited from
Partial.enableHighImpactCompatibility
Defined in
formatIntegrations
• Optional formatIntegrations: AdvantageFormatIntegration[]
Inherited from
Partial.formatIntegrations
Defined in
formats
• Optional formats: AdvantageFormat[]
Inherited from
Partial.formats
Defined in
ignoreSlotOn
• Optional ignoreSlotOn: (html: string) => boolean
Type declaration
▸ (html): boolean
Parameters
| Name | Type |
|---|---|
html | string |
Returns
boolean
Defined in
messageValidator
• Optional messageValidator: (parentElement: HTMLElement | IAdvantageWrapper, message: MessageEvent<any>) => boolean
Type declaration
▸ (parentElement, message): boolean
Parameters
| Name | Type |
|---|---|
parentElement | HTMLElement | IAdvantageWrapper |
message | MessageEvent<any> |
Returns
boolean
Inherited from
Partial.messageValidator
Defined in
plugins
• Optional plugins: string[]
Defined in
topBarHeight
• Optional topBarHeight: number
Defined in
zIndex
• Optional zIndex: number