-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Native phase 2 #2479
Native phase 2 #2479
Conversation
``` | ||
<div class="sponsored-post"> | ||
<div class="thumbnail" style="background-image: url(##hb_native_image##);"></div> | ||
<div class="content"> | ||
<h1><a href="%%CLICK_URL_UNESC%%##hb_native_linkurl##" target="_blank" class="pb-click">##hb_native_title##</a></h1> | ||
<p>##hb_native_body##</p> | ||
<div class="attribution">##hb_native_brand##</div> | ||
</div> | ||
</div> | ||
<script src="https://cdn.jsdelivr.net/npm/prebid-universal-creative@latest/dist/native-render.js"></script> | ||
<script> | ||
var pbNativeTagData = {}; | ||
pbNativeTagData.pubUrl = "%%PATTERN:url%%"; | ||
pbNativeTagData.adId = "%%PATTERN:hb_adid%%"; | ||
// if you're using 'Send All Bids' mode, you should use %%PATTERN:hb_adid_BIDDER%% | ||
pbNativeTagData.requestAllAssets = true; | ||
window.pbNativeTag.renderNativeAd(pbNativeTagData); | ||
</script> | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @bretg
When I was looking at this page on the local build, it seems the formatting around this code block isn't working as expected which affected the following code/formatting down to the next major heading. I attached a screenshot for reference:
Could you take a look?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jsnellbaker - I don't see this mis-formatting on my local Jekyll. And the markdown looks ok. Am going to go ahead and merge, will check the site and fix if needed.
* pbjs native 2.0 initial commit * first cut at GAM-Native * wordsmithing * chased down other native references * minor edits * review updates Co-authored-by: Jean Stemp <jstemp@appnexus.com>
Documentation for PBJS PR prebid/Prebid.js#5411 and PUC PR prebid/prebid-universal-creative#106