interface Placements {
    getPlacements(): string[];
    initialBody(): null | HTMLElement;
    injectCampaigns(
        campaigns: Record<string, string | PlacementCampaign>,
    ): { filledElements: string[]; unFilledElements: string[] };
    isFiltered(placement: DynamicPlacementDTO): boolean;
    isFilteringConfigured(placement: DynamicPlacementDTO): boolean;
    removeContent(divId: string): void;
    reset(): void;
}

Methods

  • Parameters

    • campaigns: Record<string, string | PlacementCampaign>

    Returns { filledElements: string[]; unFilledElements: string[] }