PageSourceSearch

https://nexbid.dev/assets/PublisherIntegrationPage-D6tj5p2s.js

js nexbid.dev collected 2026-10-01 23:57:52 UTC 3,824 bytes, 18 lines download raw bytes

1import{u as o,j as e,S as m,L as b,r as p}from"./index-CclSbnHS.js";const d=`<!-- Nexbid SDK -->
2<script
3  src="https://nexbid.dev/sdk/nexbid.js"
4  data-publisher="YOUR_PUBLISHER_ID"
5  data-token="YOUR_TOKEN"
6  data-mode="gam"
7><\/script>`,l=`<!-- In GTM: Custom HTML Tag -->
8<script>
9  (function() {
10    var s = document.createElement('script');
11    s.src = 'https://nexbid.dev/sdk/nexbid.js';
12    s.setAttribute('data-publisher', 'YOUR_PUBLISHER_ID');
13    s.setAttribute('data-token', 'YOUR_TOKEN');
14    s.setAttribute('data-mode', 'gam');
15    s.async = true;
16    document.head.appendChild(s);
17  })();
18<\/script>`;function u({text:n,label:a}){const[t,i]=p.useState(!1),s=()=>{navigator.clipboard.writeText(n).then(()=>{i(!0),setTimeout(()=>i(!1),2e3)})};return e.jsxs("button",{onClick:s,className:"inline-flex items-center gap-1.5 rounded-lg bg-surface-overlay px-3 py-1.5 text-xs font-medium text-text-muted transition hover:bg-surface-sunken hover:text-text-primary",children:[t?"✓":"📋"," ",t?"Copied!":a]})}function g(){const{t:n,locale:a}=o(),t=n.integrationPublisher,i=a==="en";return e.jsxs(e.Fragment,{children:[e.jsx(m,{title:i?"Publisher Integration":"Publisher-Integration",description:i?"Integrate Nexbid on your website. Script tag, GTM, or API — step-by-step guide for publishers.":"Nexbid auf deiner Website integrieren. Script-Tag, GTM oder API — Schritt-für-Schritt-Anleitung für Publisher.",path:"/marketing/integration/publisher"}),e.jsx("section",{className:"px-6 pt-32 pb-24 md:pt-44 md:pb-32",children:e.jsxs("div",{className:"mx-auto max-w-4xl",children:[e.jsxs(b,{to:"/integration",className:"mb-8 inline-flex items-center gap-2 text-sm text-text-muted transition hover:text-nexbid-400",children:[e.jsx("span",{"aria-hidden":"true",children:"←"})," ",t.backLink]}),e.jsxs("div",{className:"mb-16",children:[e.jsx("div",{className:"mb-4 inline-flex items-center gap-2 rounded-full border border-nexbid-500/20 bg-nexbid-500/5 px-4 py-1.5 text-sm text-nexbid-400",children:t.badge}),e.jsx("h1",{className:"text-3xl font-bold tracking-tight md:text-4xl",children:t.title}),e.jsx("p",{className:"mt-4 max-w-2xl text-lg text-text-muted",children:t.subtitle})]}),e.jsx("div",{className:"space-y-12",children:t.methods.map((s,x)=>e.jsxs("div",{className:"rounded-2xl border border-border-subtle/50 bg-surface-raised/50 p-8",children:[e.jsxs("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wider text-nexbid-500/60",children:[t.methodLabel," ",x+1]}),e.jsx("h2",{className:"mb-3 text-xl font-bold",children:s.title}),e.jsx("p",{className:"mb-6 text-text-muted",children:s.description}),e.jsx("ol",{className:"mb-6 space-y-3",children:s.steps.map((c,r)=>e.jsxs("li",{className:"flex gap-3 text-sm text-text-muted",children:[e.jsx("span",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-nexbid-500/10 text-xs font-bold text-nexbid-400",children:r+1}),c]},r))}),s.code&&e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute top-3 right-3",children:e.jsx(u,{text:s.id==="gtm"?l:d,label:t.copyLabel})}),e.jsx("pre",{className:"overflow-x-auto rounded-xl bg-surface-bg p-5 text-sm leading-relaxed text-text-muted",children:e.jsx("code",{children:s.id==="gtm"?l:d})})]})]},s.id))}),e.jsxs("div",{className:"mt-16 rounded-2xl border border-nexbid-500/20 bg-nexbid-500/5 p-8 text-center",children:[e.jsx("h3",{className:"mb-2 text-xl font-bold",children:t.ctaTitle}),e.jsx("p",{className:"mb-6 text-text-muted",children:t.ctaDescription}),e.jsx("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 rounded-xl bg-nexbid-600 px-8 py-3.5 text-sm font-semibold text-white shadow-lg shadow-nexbid-600/25 transition hover:bg-nexbid-500",children:t.ctaButton})]})]})})]})}export{g as Component,g as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.