Created
July 31, 2019 14:14
-
-
Save spormeon/43ea822f1138529194ab84f173d6fdb3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="sponsored-post"> | |
| <div class="thumbnail"></div> | |
| <div class="content"> | |
| <h1><a href="%%CLICK_URL_UNESC%%%%PATTERN:hb_native_linkurl%%" target="_blank" class="pb-click" pbAdId="%%PATTERN:hb_adid%%">%%PATTERN:hb_native_title%%</a></h1> | |
| <p>%%PATTERN:hb_native_body%%</p> | |
| <div class="attribution">%%PATTERN:hb_native_brand%%</div> | |
| </div> | |
| </div> | |
| <script src="https://adops.adysis.com/prebid_universal_creative_native.js"></script> | |
| <script> | |
| let pbNativeTagData = {}; | |
| pbNativeTagData.pubUrl = "%%PATTERN:url%%"; | |
| window.pbNativeTag.startTrackers(pbNativeTagData); | |
| </script> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/(?:pbjs\.renderAd\(document, |adId: |hb_adid":\[)['"](.*?)["']/g/(?:pbjs\.renderAd\(document, |adId: |hb_adid":\[)|(?:pbAdId\=)['"](.*?)["']/gIf you replace the first one with the second one it should work