Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: add location method for cross-frame creatives and update creatives #11863

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

dgirardi
Copy link
Collaborator

Type of change

  • Feature

Description of change

This adds a way for creatives to find which ancestor window is running Prebid, and updates dynamic creative logic to use it (PUC changes coming soon).

It's related to #10594 - in some situations the creative logic runs in a nested iframe.

@patmmccann patmmccann merged commit 4f2ae43 into prebid:master Jul 1, 2024
5 checks passed
@@ -193,3 +193,5 @@ export const MESSAGES = {
NATIVE: 'Prebid Native',
EVENT: 'Prebid Event'
};

export const PB_LOCATOR = '__pb_locator__';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool :)

DecayConstant pushed a commit to mediavine/Prebid.js that referenced this pull request Jul 18, 2024
…ves (prebid#11863)

* Core: add location method for cross-frame creatives and update creatives

* improvements
mefjush pushed a commit to adhese/Prebid.js that referenced this pull request Jul 19, 2024
…ves (prebid#11863)

* Core: add location method for cross-frame creatives and update creatives

* improvements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants