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

Potential solution to display issue of Wrapper creative #180

Open
QooYen opened this issue Aug 13, 2020 · 1 comment
Open

Potential solution to display issue of Wrapper creative #180

QooYen opened this issue Aug 13, 2020 · 1 comment

Comments

@QooYen
Copy link

QooYen commented Aug 13, 2020

If the Wrapper creative is delivered within a multi-frames environment, it would not make it to the top window with w = window.self.parent;.

w = w.parent; could work instead.

(Potential) Modified Wrapper creative:
<script type='text/javascript'> var i = 0, w = window.self; while(w!== window.top && !(w.PWT && w.PWT.displayCreative) && i<10){ w = w.parent; i++; } try{ w.PWT.displayCreative(document, '%%PATTERN:pwtsid%%'); } catch(e){} </script>

@pm-harshad-mane
Copy link
Contributor

Hello @QooYen ,
Are you facing this issue on any setup?
So far we have not faced this issue with any pub setup. :)

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

No branches or pull requests

2 participants