Skip to content

Native phase 2#2479

Merged
bretg merged 6 commits intomasterfrom
native-phase-2
Jan 13, 2021
Merged

Native phase 2#2479
bretg merged 6 commits intomasterfrom
native-phase-2

Conversation

@bretg
Copy link
Contributor

@bretg bretg commented Nov 6, 2020

Documentation for PBJS PR prebid/Prebid.js#5411 and PUC PR prebid/prebid-universal-creative#106

Comment on lines +82 to +100
```
<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>
```
Copy link
Contributor

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:
Screen Shot 2021-01-13 at 8 42 33 AM

Could you take a look?

Copy link
Contributor Author

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.

@bretg bretg merged commit b988324 into master Jan 13, 2021
osazos pushed a commit to onfocusio/prebid.github.io that referenced this pull request Jan 21, 2021
* 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>
@bretg bretg deleted the native-phase-2 branch June 16, 2021 20:07
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

Successfully merging this pull request may close these issues.

4 participants

Comments