{"_id":"@adrop/ads-web-sdk","_rev":"31-3d10730cc5e93e7c5e8450d999e7f80b","name":"@adrop/ads-web-sdk","dist-tags":{"latest":"1.2.5"},"versions":{"1.0.1":{"name":"@adrop/ads-web-sdk","version":"1.0.1","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.0.1","maintainers":[{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"73c72f46d7cd51374e7b6c844a6040e3b81bd89f","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.0.1.tgz","fileCount":18,"integrity":"sha512-1xii6H3kda5AanFpKY+oYZHlSh7+qyo85vkekRrfV8f90KZNxjcz5lXYQw5TjwyItUytW2rqh4lwtwm+un1SJA==","signatures":[{"sig":"MEYCIQCwuMbcvH2aPou1SszmBZ14mqVpfAr9JdOCt4atD710MgIhAP4xH6+O3MFADVoE7EPKnpahQWS8G+caNEdZIJjysPX2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90981},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"241c23901fc52539b535fa08205744db42fa57b5","scripts":{"dev":"rollup -c -w","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"alex-rhapsody","email":"alex@adrop.io"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.0.1_1764817520843_0.6895242168039306","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@adrop/ads-web-sdk","version":"1.0.2","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.0.2","maintainers":[{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"190e14e6829a8bf2e85d487058ef5833c13012e7","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.0.2.tgz","fileCount":18,"integrity":"sha512-Gt7ZhHhQW8fT0yh0d6CZNgS+5JEqdTa0LkqUQT1mU1zYAk9BptnF1nNVqMgOsnlpyx7NnHohHmCQZE62FYkuOg==","signatures":[{"sig":"MEUCIQDGzSrOFKVPObc2tt6DyazhGWbaGJDg0sd6RTSBQ1fKfAIgUbpIE85e0gj88fw0bdgfXm2OYzsz9VsW+dBw9xwZnZc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":100569},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"1af9e97cda5302b3168f043cd529135dfe3df608","scripts":{"dev":"rollup -c -w","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"alex-rhapsody","email":"alex@adrop.io"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.0.2_1765878306623_0.03917958375216157","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@adrop/ads-web-sdk","version":"1.0.3","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.0.3","maintainers":[{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"ba2ff9d9950ed8504c42b2612b640b7770ff3065","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.0.3.tgz","fileCount":18,"integrity":"sha512-Y71cfdOK/qVPbw7xO8DXdFUwHAcyjOTdvn6QBk+7A+EKXSpQ5EhhVp+dB+C5FOPuedOhb8iJZpDOFaIz7P1vUg==","signatures":[{"sig":"MEYCIQC22YPzxBEPfBxAr3ItxCmmm0iV0mAUMV6C5sQW67Pp+QIhAL0xvBzS78NDd5h9raAMku0j2fTxIeOcdNz/GaqfnMVA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104324},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"2d59c248ed4b77f262a6fbd4e9a2de792e4bc8c7","scripts":{"dev":"rollup -c -w","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"alex-rhapsody","email":"alex@adrop.io"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.0.3_1766022394032_0.21428310437259412","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@adrop/ads-web-sdk","version":"1.0.4","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.0.4","maintainers":[{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"ea5ed8114dc88a69eb3e9b32cfc0206e451ce2c0","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.0.4.tgz","fileCount":18,"integrity":"sha512-YZEhP+O6GshcyZGsbR9Ir09TjfdL6qK8lADidQ8Y/4kQoX/DX1MYAII7CbQLEbVoX0pbKLhhca0yJmk5/kGljw==","signatures":[{"sig":"MEYCIQCn6ymQYgfFqPXuI77FUQQ+IFiXlhSA9JCDLWTLquEJDAIhAPwKXfQ9BniE2/wn2TS/zY0ieDX2kuNTqOCeow8ahMoy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":105995},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"62b500c7bc1ba59fd2d673b0f8698895d40fa137","scripts":{"dev":"rollup -c -w","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"alex-rhapsody","email":"alex@adrop.io"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.0.4_1767923411827_0.12479046608544309","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@adrop/ads-web-sdk","version":"1.1.0","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.1.0","maintainers":[{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"96e53fc333e442ab21475eb96a7483e0d39fd623","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.1.0.tgz","fileCount":19,"integrity":"sha512-R2hInLQWg5axdw9NwOjAREbR0y8usFdRMvXIbKJ1IwrEMZ6Zdu6PUQrl8AyOF88juocLt2hVGmMwyuhEmXCQdQ==","signatures":[{"sig":"MEQCIEJbfuD0cgfxK9s3S/SL/YYRgAl0okDkgV4D6JFnEyXMAiAUCRwa7FRxb74ALiMyKCJNzHLPopjh6Um3QLlAmdo02A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122590},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"63bd410198fa391ba5397c83d392a0baa58a8585","scripts":{"dev":"rollup -c -w","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","serve:test":"npm run build && cp dist/adrop-ads.min.js examples/ && npx serve . -l 3030","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"alex-rhapsody","email":"alex@adrop.io"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.1.0_1767941936810_0.7997856903930345","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@adrop/ads-web-sdk","version":"1.1.1","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.1.1","maintainers":[{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"a82e22069af6f22d1aa28c09ca2414f953301694","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.1.1.tgz","fileCount":19,"integrity":"sha512-FFov/CLCAmb9hQDQWAKI7Jf+BXSMlxaom0maHOIzUIDKRIr6iMcLgz+Rlr0bYkLBRXGQLGFI21m2VD1CI6yI1Q==","signatures":[{"sig":"MEUCIQC+3tCfWnY51i0mU4T1x8WuW+j9beF38gX33d4MFwItHAIgDObcdnQ17AAGXkBZv8xCg5AwypyxcmTRG+/WezZ9wYA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122728},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"76d08d807ac6b089979936ac17373c75b6f34398","scripts":{"dev":"rollup -c -w","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","serve:test":"npm run build && cp dist/adrop-ads.min.js examples/ && npx serve . -l 3030","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"alex-rhapsody","email":"alex@adrop.io"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.1.1_1768442797785_0.5522390091214098","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@adrop/ads-web-sdk","version":"1.1.2","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.1.2","maintainers":[{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"6a522d752d3808f0b0579aee0fed268a56200c83","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.1.2.tgz","fileCount":19,"integrity":"sha512-tb9kf1HQwTo3CgDkwMb1bDyKZyjVYOihnma5fwXXMbHAOhMQKIHoEj/z6wU7paDT2VqVdW7OSeKtDeZRF5UFYA==","signatures":[{"sig":"MEQCIGaAX4oZgm9hzm+1IbYlEwsl1RB6jE0AQpS9ozqEx3BDAiAqSfDBwrYCTuQ6HUZm+5FTApDOl6+jx66/YJpAw/KzWA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124960},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"b1c3ca60b17132bac4621c5d50afa1cd0ca61484","scripts":{"dev":"rollup -c -w","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","serve:test":"npm run build && cp dist/adrop-ads.min.js examples/ && npx serve . -l 3030","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"alex-rhapsody","email":"alex@adrop.io"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.1.2_1769755028741_0.4076197115112363","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@adrop/ads-web-sdk","version":"1.1.4","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.1.4","maintainers":[{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"5e579d3a6315868f008bb5af21540a44e5cdf0fc","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.1.4.tgz","fileCount":19,"integrity":"sha512-WDDB/FylAgYjDvb0NUFUcp6AFQMSCU6liePX/DovW91ZPh/1hhDy01hbpm1qkdej5Culiv4PsJpIc8L3z1Cd3w==","signatures":[{"sig":"MEYCIQCmcbKNBZfJDHe+cVHMcq/krLsKimBAc4iER0gWyw6xVQIhAKt1bWs+EX5nX2ssZJdaMRqA7Hx0fK0W5FowJhNaxLyD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":125089},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"16b99ffa6529e3903981f3f27682a4e7521600c0","scripts":{"dev":"rollup -c -w","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","serve:test":"npm run build && cp dist/adrop-ads.min.js examples/ && npx serve . -l 3030","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"alex-rhapsody","email":"alex@adrop.io"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.1.4_1770362152753_0.2537128176872798","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@adrop/ads-web-sdk","version":"1.1.5","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.1.5","maintainers":[{"name":"tochy-open","email":"tochy@adrop.io"},{"name":"openrhapsody","email":"dev@openrhapsody.com"},{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"0b0c9064f7f13a7b5d00746d4fcd829a01ea7c98","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.1.5.tgz","fileCount":19,"integrity":"sha512-J5IlHNCqBTc9fEOBbG/mI8Ny7jnn01CaQuuQ/pxKG0y71/0uXulXKb4e54v1btIgiN2/RKM/Xao64gg75oZYSA==","signatures":[{"sig":"MEUCIBAg92qDO+bgUXWmsRmDErjOqdniIJrzQYyjHcTYiBHbAiEA4dgbY5ALjJKMsZLAfaQYYwP1+KXrmgCvz5BJNBCUwQM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130742},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"3703e94af41602154a2fed5e29020b07b9e50600","scripts":{"dev":"rollup -c -w","test":"vitest run","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","serve:test":"npm run build && cp dist/adrop-ads.min.js examples/ && npx serve . -l 3030","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"openrhapsody","email":"dev@openrhapsody.com"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","vitest":"^4.1.0","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.1.5_1774507795933_0.9322319317715999","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@adrop/ads-web-sdk","version":"1.2.0","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.2.0","maintainers":[{"name":"tochy-open","email":"tochy@adrop.io"},{"name":"openrhapsody","email":"dev@openrhapsody.com"},{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"b072c0003ac7eedc38de90630b3e2535d91c658e","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.2.0.tgz","fileCount":19,"integrity":"sha512-OBi6hHeFkhU5jF6IJXxETEDqhr+xJXnQgiYFjbfXHbfNY9VM2ECglUr5sd9F9vRJhD/NZ5WIEMODcEDa5FQ6HQ==","signatures":[{"sig":"MEUCIGVNp56/mFf3E9rK0OWITVK1FqpgTiPuwFKTZzc9gtMDAiEAkGTYEsL6e12Epi1rsEDT4IOok5COBy2fNsRD5mK7bIQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139493},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"ee0be46004c40d8ea35a52bc52102024924ca0b9","scripts":{"dev":"rollup -c -w","test":"vitest run","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","serve:test":"npm run build && cp dist/adrop-ads.min.js examples/ && npx serve . -l 3030","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"openrhapsody","email":"dev@openrhapsody.com"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","vitest":"^4.1.0","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.2.0_1776043093288_0.48339877270958165","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@adrop/ads-web-sdk","version":"1.2.1","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.2.1","maintainers":[{"name":"tochy-open","email":"tochy@adrop.io"},{"name":"openrhapsody","email":"dev@openrhapsody.com"},{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"e8eaa9cfb00d5fa28b9da9ee6cd5fd0a02935be6","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.2.1.tgz","fileCount":19,"integrity":"sha512-Iv2UQ2Sol/ibZ5r3TF0Bl0NjiSsXWRsxD8VvZo59yFguY0ZVteIFOFTdWbKD5o6uL/wTO/Bz8tHj5KXvuIJzwQ==","signatures":[{"sig":"MEUCIFY64w6Vnqfg0jZpimxBnejvObLNMhMPRdwgckOpkUyuAiEAxXh+pD+BxEBpuIIeeA2oESNS1/yYNzchumzVIkXDLOk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":140120},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"d7ede353beab482b091707fc55b4e0d338b48530","scripts":{"dev":"rollup -c -w","test":"vitest run","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","serve:test":"npm run build && cp dist/adrop-ads.min.js examples/ && npx serve . -l 3030","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"openrhapsody","email":"dev@openrhapsody.com"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","vitest":"^4.1.0","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.2.1_1776389380507_0.3657350856689294","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@adrop/ads-web-sdk","version":"1.2.2","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.2.2","maintainers":[{"name":"tochy-open","email":"tochy@adrop.io"},{"name":"openrhapsody","email":"dev@openrhapsody.com"},{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"4fb73cd9ad5ee98f442ef4d250bf8e3a373fabec","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.2.2.tgz","fileCount":19,"integrity":"sha512-2fN3ipK9uMiK/IzOD/CcjZFd2TF7eYsr675AlUSGTsTUwSl50sozFxn/mx+WP0zukkoxTbJJ+wFt+OZ5uQIKvw==","signatures":[{"sig":"MEQCIF88xqDj0TdhtnC3a3W4GHrfNj8YJkRIBjOfKZ+6qKaEAiAwfwcOWbGkaS/X0u390y3fO3d7/O2uCiJc/SxB5+sp2g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":140540},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"465978e9078a8396b13bd1b0c2318bc50f7728b8","scripts":{"dev":"rollup -c -w","test":"vitest run","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","serve:test":"npm run build && cp dist/adrop-ads.min.js examples/ && npx serve . -l 3030","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"openrhapsody","email":"dev@openrhapsody.com"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","vitest":"^4.1.0","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.2.2_1778044333481_0.1001008582345726","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@adrop/ads-web-sdk","version":"1.2.3","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.2.3","maintainers":[{"name":"tochy-open","email":"tochy@adrop.io"},{"name":"openrhapsody","email":"dev@openrhapsody.com"},{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"24f53c494ea3b093abc9af7f368a12a22fa94f72","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.2.3.tgz","fileCount":19,"integrity":"sha512-ZwVPRyFRaj1UMHHfZoDhb6G0rhuLEJeeENLc/BF1GRuE4ioU4gqzK1r7HA6fkqF1eOLsKyYnXJXN2NxhCjcejQ==","signatures":[{"sig":"MEYCIQC1HsPlmvvntOXwvhID4dU7QOq5pPm/emij33A6Nwds+wIhAJ3qfn61Vgme4CkDy2pKdXK3EvJoZwBILU4/FkbNFkLU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":149819},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"459f98befae4f5271b0f99238d985d61e5e82e7d","scripts":{"dev":"rollup -c -w","test":"vitest run","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","serve:test":"npm run build && cp dist/adrop-ads.min.js examples/ && npx serve . -l 3030","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"openrhapsody","email":"dev@openrhapsody.com"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","vitest":"^4.1.0","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.2.3_1779779255109_0.08605064226465475","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@adrop/ads-web-sdk","version":"1.2.4","keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","_id":"@adrop/ads-web-sdk@1.2.4","maintainers":[{"name":"tochy-open","email":"tochy@adrop.io"},{"name":"openrhapsody","email":"dev@openrhapsody.com"},{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"homepage":"https://adrop.io","dist":{"shasum":"9a5a836f4bc198316505df9d4396e2ab684bf993","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.2.4.tgz","fileCount":19,"integrity":"sha512-C1stwOU0gZr/CAuQMZj3+pxPLxYvqiTlb7AkqKVRyOUGfXaaGfmg2HCnoVSG8mAaUP4kR89zmzHHT9rxdVKn0g==","signatures":[{"sig":"MEUCIQD/hdhdSYsZ7hpQhqD9hxyF8SqvgznW43lNMCU3GMMR3wIgayu5WLuweHJ41GkCFGkWzqrQjz8KoDAFs1QMIwNOIKQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":150813},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","gitHead":"6ebd1b86cdec1f6d5d2fb0b8a9cf8b5afeee4bcd","scripts":{"dev":"rollup -c -w","test":"vitest run","build":"npm run clean && rollup -c","clean":"rm -rf dist","deploy":"./scripts/deploy.sh","serve:test":"npm run build && cp dist/adrop-ads.min.js examples/ && npx serve . -l 3030","type-check":"tsc --noEmit","build:watch":"rollup -c -w","prepublishOnly":"npm run build"},"_npmUser":{"name":"openrhapsody","email":"dev@openrhapsody.com"},"_npmVersion":"10.9.2","description":"Adrop Ads Web SDK","directories":{},"_nodeVersion":"22.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.6","vitest":"^4.1.0","typescript":"^5.3.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/ads-web-sdk_1.2.4_1782357613560_0.7401127153857885","host":"s3://npm-registry-packages-npm-production"}},"1.2.5":{"name":"@adrop/ads-web-sdk","version":"1.2.5","publishConfig":{"access":"public"},"description":"Adrop Ads Web SDK","type":"module","main":"dist/index.js","module":"dist/index.esm.js","types":"dist/index.d.ts","scripts":{"clean":"rm -rf dist","build":"npm run clean && rollup -c","build:watch":"rollup -c -w","dev":"rollup -c -w","type-check":"tsc --noEmit","prepublishOnly":"npm run build","deploy":"./scripts/deploy.sh","test":"vitest run","serve:test":"npm run build && cp dist/adrop-ads.min.js examples/ && npx serve . -l 3030"},"keywords":["adrop","ads","advertising","direct-deal"],"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","homepage":"https://adrop.io","devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-replace":"^6.0.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","rollup":"^4.9.6","tslib":"^2.6.2","typescript":"^5.3.3","vitest":"^4.1.0"},"_id":"@adrop/ads-web-sdk@1.2.5","gitHead":"e02f6216aeb15379504f06eb112e06dc48b9d5d3","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-WDuLrppBeQGlwqE3CI1ofuLnZDFczFqRT6Gjpf2KYTPFLMsKdzq3nAtboU/oopNi82ubresHPYiCVImY+ufKEA==","shasum":"99c54eefc607ebf0c8fd26b34f6d5aaed43558d5","tarball":"https://registry.npmjs.org/@adrop/ads-web-sdk/-/ads-web-sdk-1.2.5.tgz","fileCount":19,"unpackedSize":153103,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCWQuQTFDDAs+t90pkTpla9h2D/jW3V9BlFpO2ER3D6AgIhALS+LPchw6ZwC/jMYYQnIXBrfEsniTC9wc8NDTI1F5oi"}]},"_npmUser":{"name":"openrhapsody","email":"dev@openrhapsody.com"},"directories":{},"maintainers":[{"name":"tochy-open","email":"tochy@adrop.io"},{"name":"openrhapsody","email":"dev@openrhapsody.com"},{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ads-web-sdk_1.2.5_1783044077809_0.9827795881072479"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-02T06:29:07.837Z","modified":"2026-07-03T02:01:18.115Z","1.0.0":"2025-12-02T06:29:08.160Z","1.0.0-alpha.0":"2025-12-02T09:35:05.900Z","1.0.1-alpha.0":"2025-12-02T10:28:51.207Z","1.0.1-alpha.1":"2025-12-02T10:33:34.224Z","1.0.1-alpha.2":"2025-12-02T10:35:05.188Z","1.0.1-alpha.3":"2025-12-04T02:11:54.723Z","1.0.1":"2025-12-04T03:05:20.985Z","1.0.2":"2025-12-16T09:45:06.760Z","1.0.3":"2025-12-18T01:46:34.200Z","1.0.4":"2026-01-09T01:50:12.003Z","1.1.0":"2026-01-09T06:58:56.995Z","1.1.1":"2026-01-15T02:06:37.932Z","1.1.2":"2026-01-30T06:37:08.894Z","1.1.3":"2026-02-06T05:59:27.315Z","1.1.4":"2026-02-06T07:15:52.901Z","1.1.5":"2026-03-26T06:49:56.087Z","1.2.0":"2026-04-13T01:18:13.416Z","1.2.1":"2026-04-17T01:29:40.681Z","1.2.2":"2026-05-06T05:12:13.633Z","1.2.3":"2026-05-26T07:07:35.240Z","1.2.4":"2026-06-25T03:20:13.696Z","1.2.5":"2026-07-03T02:01:17.948Z"},"author":{"name":"Open Rhapsody Co., Ltd."},"license":"Apache-2.0","homepage":"https://adrop.io","keywords":["adrop","ads","advertising","direct-deal"],"description":"Adrop Ads Web SDK","maintainers":[{"name":"tochy-open","email":"tochy@adrop.io"},{"name":"openrhapsody","email":"dev@openrhapsody.com"},{"name":"alex-rhapsody","email":"alex@adrop.io"},{"name":"adropleo","email":"hc@adrop.io"}],"readme":"# Adrop Ads Web SDK\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![npm version](https://badge.fury.io/js/%40adrop%2Fads-web-sdk.svg)](https://badge.fury.io/js/%40adrop%2Fads-web-sdk)\n\nOfficial Web SDK for Adrop advertising platform. Integrate direct deal ads seamlessly into your web applications.\n\n## Features\n\n- 🚀 Easy integration with both npm and CDN\n- 📱 Banner and Native ad formats\n- 🎯 Direct deal advertising\n- 🔒 Secure iframe-based ad rendering\n- 📊 Built-in event tracking\n- 🎨 Customizable native ad rendering\n- ⚡ Lightweight and performant\n- 🔧 TypeScript support\n\n## Installation\n\n### NPM\n\n```bash\nnpm install @adrop/ads-web-sdk\n```\n\n### CDN\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@adrop/ads-web-sdk@latest/dist/adrop-ads.min.js\"></script>\n```\n\n## Quick Start\n\n### 1. Initialize the SDK\n\n```javascript\nimport Adrop from '@adrop/ads-web-sdk';\n\nconst adrop = Adrop.observe({\n  uid: 'your-user-id',\n  appId: 'your-app-id',\n  debug: true // Set to false in production\n});\n```\n\nFor CDN usage:\n\n```html\n<script>\n  const adrop = Adrop.observe({\n    uid: 'your-user-id',\n    appId: 'your-app-id',\n    debug: true\n  });\n</script>\n```\n\n### 2. Load Banner Ads\n\n#### Automatic Loading (Declarative)\n\n```html\n<div data-adrop-unit=\"YOUR_UNIT_ID\"></div>\n```\n\nThe SDK automatically detects and loads ads in elements with `data-adrop-unit` attribute.\n\nOptional data attributes:\n- `data-adrop-context-id`: Context ID for contextual targeting\n- `data-adrop-keywords`: Keywords for keyword targeting (comma-separated)\n- `data-adrop-theme`: Theme for light/dark mode (values: `light`, `dark`)\n\n```html\n<div\n  data-adrop-unit=\"YOUR_UNIT_ID\"\n  data-adrop-context-id=\"CONTEXT_ID\"\n  data-adrop-theme=\"dark\">\n</div>\n```\n\n#### Programmatic Loading\n\n```javascript\nconst container = document.getElementById('ad-container');\n\nawait adrop.renderAd(container, {\n  unit: 'YOUR_UNIT_ID'\n});\n```\n\nThe SDK automatically detects and renders native ads.\n\nOptional field:\n- `contextId`: Context ID for contextual targeting\n- `keywords`: Keywords for keyword targeting (`string[]` or comma-separated string)\n- `theme`: Theme for light/dark mode (values: `light`, `dark`)\n\n```javascript\nconst container = document.getElementById('ad-container');\n\nawait adrop.renderAd(container, {\n    unit: 'YOUR_UNIT_ID',\n    contextId: 'CONTEXT_ID',\n    theme: 'dark'\n});\n```\n\n### 3. Load Native Ads\n\nNative ads provide customizable ad experiences that blend seamlessly with your app's content. They require custom UI implementation using the `data-adrop-native` attributes.\n\n#### Automatic Loading with Custom UI (Declarative)\n\nTo use custom UI, you must set `data-adrop-render=\"custom\"`:\n\n```html\n<div data-adrop-unit=\"YOUR_NATIVE_UNIT_ID\" data-adrop-render=\"custom\">\n  <!-- Native ad components with data-adrop-native attributes -->\n  <div class=\"ad-profile\">\n    <img data-adrop-native=\"profile.displayLogo\" class=\"ad-profile-logo\" alt=\"Profile\">\n    <span data-adrop-native=\"profile.displayName\" class=\"ad-profile-name\"></span>\n  </div>\n  <h3 data-adrop-native=\"headline\" class=\"ad-headline\"></h3>\n  <img data-adrop-native=\"asset\" class=\"ad-image\" alt=\"Ad Image\">\n  <p data-adrop-native=\"body\" class=\"ad-description\"></p>\n  <button data-adrop-native=\"callToAction\" class=\"ad-cta-button\"></button>\n</div>\n```\n\nFor entire area click functionality:\n\n```html\n<div \n  data-adrop-unit=\"YOUR_NATIVE_UNIT_ID\" \n  data-adrop-render=\"custom\"\n  data-adrop-entire-click=\"true\">\n  <!-- Entire container becomes clickable -->\n  <div class=\"ad-profile\">\n    <img data-adrop-native=\"profile.displayLogo\" class=\"ad-profile-logo\" alt=\"Profile\">\n    <span data-adrop-native=\"profile.displayName\" class=\"ad-profile-name\"></span>\n  </div>\n  <h3 data-adrop-native=\"headline\" class=\"ad-headline\"></h3>\n  <img data-adrop-native=\"asset\" class=\"ad-image\" alt=\"Ad Image\">\n  <p data-adrop-native=\"body\" class=\"ad-description\"></p>\n  <span data-adrop-native=\"callToAction\" class=\"ad-cta-text\"></span>\n</div>\n```\n\n#### Programmatic Loading with Custom UI\n\n```javascript\nconst container = document.getElementById('native-ad-container');\n\nawait adrop.renderAd(container, {\n  unit: 'YOUR_NATIVE_UNIT_ID',\n  trackMode: 1 // Required for custom UI\n});\n```\n\nFor entire area click functionality:\n\n```javascript\nconst container = document.getElementById('native-ad-container');\n\nawait adrop.renderAd(container, {\n  unit: 'YOUR_NATIVE_UNIT_ID',\n  trackMode: 1, // Required for custom UI\n  isEntireClick: true // Makes entire container clickable\n});\n```\n\n#### Available data-adrop-native Fields\n\nThe SDK supports the following `data-adrop-native` attributes:\n\n**Basic Fields:**\n- `headline`: Ad headline text\n- `body`: Ad description text  \n- `callToAction`: Call-to-action button text\n- `asset`: Main ad image URL\n\n**Profile Fields (for advertiser information):**\n- `profile.displayLogo`: Advertiser logo image URL\n- `profile.displayName`: Advertiser name text\n\n**Extra Fields (custom properties):**\n- `extra.{key}`: Custom field from ad data (e.g., `extra.price`, `extra.rating`)\n\n#### Custom UI Implementation Example\n\n```html\n<div data-adrop-unit=\"YOUR_NATIVE_UNIT_ID\" data-adrop-render=\"custom\" class=\"native-ad-container\">\n  <!-- Advertiser Profile -->\n  <div class=\"advertiser-info\">\n    <img data-adrop-native=\"profile.displayLogo\" class=\"advertiser-logo\" alt=\"Advertiser\">\n    <span data-adrop-native=\"profile.displayName\" class=\"advertiser-name\"></span>\n  </div>\n  \n  <!-- Ad Content -->\n  <div class=\"ad-content\">\n    <h2 data-adrop-native=\"headline\" class=\"ad-title\"></h2>\n    <img data-adrop-native=\"asset\" class=\"ad-main-image\" alt=\"Ad\">\n    <p data-adrop-native=\"body\" class=\"ad-text\"></p>\n    \n    <!-- Custom Fields -->\n    <div class=\"ad-extras\">\n      <span data-adrop-native=\"extra.price\" class=\"price-tag\"></span>\n      <span data-adrop-native=\"extra.rating\" class=\"rating\"></span>\n    </div>\n    \n    <button data-adrop-native=\"callToAction\" class=\"cta-button\"></button>\n  </div>\n</div>\n```\n\n#### Click Behavior Control\n\nYou can control how clicks are handled in native ads:\n\n**Individual Element Clicks (default):**\n- Only elements with `data-adrop-native` attributes are clickable\n- Each text and image element handles its own click\n\n**Entire Area Clicks:**\n- Set `data-adrop-entire-click=\"true\"` (declarative) or `isEntireClick: true` (programmatic)\n- The entire ad container becomes clickable\n- Useful for card-style layouts where any part of the ad should be clickable\n\n**Important Notes:**\n- **Custom UI requires `data-adrop-render=\"custom\"` or `trackMode: 1`**\n- **Click behavior: `isEntireClick: true` makes entire area clickable, otherwise only individual elements**\n- The SDK automatically handles click tracking and impression tracking\n- Elements with `data-adrop-native` will be automatically populated with ad content\n- Missing fields will be left empty (no error thrown)\n- Profile clicks redirect to advertiser pages, other clicks go to ad landing pages\n\n### 4. Event Handling\n\nListen to ad lifecycle events:\n\n```javascript\n// Ad received successfully\nadrop.on(Adrop.Events.AD_RECEIVED, (unit, adData) => {\n  console.log('Ad received:', unit, adData);\n});\n\n// Ad failed to load\nadrop.on(Adrop.Events.AD_FAILED, (unit) => {\n  console.error('Ad failed:', unit);\n});\n\n// No ad available\nadrop.on(Adrop.Events.AD_NO_FILL, (unit) => {\n  console.warn('No ad available:', unit);\n});\n\n// No backfill ad available\nadrop.on(Adrop.Events.AD_BACKFILL_NO_FILL, (unit) => {\n  console.warn('No backfill ad available:', unit);\n});\n\n// Ad impression\nadrop.on(Adrop.Events.AD_IMPRESSION, (unit, adData) => {\n  console.log('Ad impression:', unit, adData);\n});\n\n// Ad clicked\nadrop.on(Adrop.Events.AD_CLICKED, (unit, adData) => {\n  console.log('Ad clicked:', unit, adData);\n});\n```\n\n## Advanced Usage\n\n### Update Properties\n\nProperties can be chained and committed together in a single call:\n\n```javascript\n// Set app key\nadrop.appKey = 'YOUR_APP_KEY';\n\n// Chain multiple property updates and commit once\nawait adrop.metrics\n  .setUserProperties({\n    last_login: new Date().toISOString(),\n    age: '25',\n    gender: 'M',\n    // Custom properties can be added directly\n    theme: 'dark',\n    language: 'en'\n  })\n  .setAppProperties({\n    version: '1.0.0',\n    platform: 'web'\n  })\n  .commit();\n```\n\n### Context Targeting\n\nUse `contextId` to enable contextual targeting for more relevant ads:\n\n```javascript\nawait adrop.renderAd(container, {\n  unit: 'YOUR_UNIT_ID',\n  contextId: 'YOUR_CONTEXT_ID' // Context ID from Adrop Console\n});\n```\n\nThe `contextId` should match the ID configured in your Adrop Console under **Targeting Menu > Context Targeting**.\n\n## Theme Support\n\nThe SDK supports light and dark themes for ads. You can set the theme using the `data-adrop-theme` attribute or the `theme` option in `renderAd`.\n\n### Load Backfill Ads\n\nBackfill ads are automatically loaded when direct deal ads are not available.\n\n**Note:** Backfill configuration must be set up in the Adrop Console for this to work.\n\n#### Backfill rendering mode (1.2.3+)\n\n| Mode | Behavior |\n|------|----------|\n| `responsive` (default) | The backfill provider picks a size based on container width. SDK reserves a `min-height` automatically when the container has no explicit height. |\n| `fixed` | Stretches the ad to the container height (`width:100%; height:100%`) — 1.2.1 behavior. Use for slots designed around a fixed height. |\n\n```javascript\n// Global default\nAdrop.observe({ appId: 'YOUR_APP_ID', backfillMode: 'fixed' });\n\n// Per-slot (HTML)\n// <div data-adrop-unit=\"...\" data-adrop-backfill-mode=\"fixed\"></div>\n\n// Per-slot (programmatic)\nawait adrop.renderAd(container, { unit: 'PUBLIC_xxx', backfillMode: 'fixed' });\n```\n\nSee [Backfill rendering mode guide](../docs/web/backfill_mode_guide.md) for details.\n\n### Clear Ads\n\nRemove ads from containers:\n\n```javascript\nconst container = document.getElementById('ad-container');\nadrop.clear(container);\n```\n\n### Reload Ads\n\nIn HTML, you can reload ads by calling:\n\n```javascript\nconst container = document.getElementById('ad-container');\nconst paramsToOverride = {\n    unit: 'NEW_UNIT_ID',\n    contextId: 'NEW_CONTEXT_ID',\n    theme: 'light'\n}\nadrop.renderAd(container, paramsToOverride);\n\n// if you don't want to override previous params, just call without second argument\nadrop.renderAd(container);\n```\n\n### Update User ID\n\n```javascript\nadrop.uid = 'new-user-id';\n```\n\n## Configuration Options\n\n### Initialization Options\n\n```typescript\n{\n  uid?: string;           // User identifier\n  appId?: string;         // Application ID\n  appKey?: string;        // Application key\n  debug?: boolean;        // Enable debug logging (default: false)\n}\n```\n\n### Ad Request Options\n\n```typescript\n{\n  unit: string;                   // Ad unit ID (required)\n  uid?: string;                   // Override user ID for this request\n  contextId?: string;             // Context identifier\n  keywords?: string[] | string;   // Keyword targeting (array or comma-separated string)\n  trackMode?: number;             // Tracking mode\n}\n```\n\n## Events\n\n- `AD_RECEIVED` - Ad successfully loaded\n- `AD_FAILED` - Ad failed to load\n- `AD_NO_FILL` - No ad available for this request\n- `AD_BACKFILL_NO_FILL` - No backfill ad available\n- `AD_IMPRESSION` - Ad impression recorded\n- `AD_CLICKED` - User clicked on the ad\n\n## TypeScript Support\n\nThe SDK includes TypeScript definitions out of the box:\n\n```typescript\nimport Adrop, { AdropConfig, AdData } from '@adrop/ads-web-sdk';\n\nconst config: AdropConfig = {\n  uid: 'user-123',\n  debug: true\n};\n\nconst adrop = Adrop.observe(config);\n```\n\n## SPA Support\n\nFor Single Page Applications, clear previous ads when navigating:\n\n```javascript\nfunction navigateToNewPage() {\n  // Clear existing ads\n  const adElements = document.querySelectorAll('[data-adrop-unit]');\n  adElements.forEach(element => adrop.clear(element));\n\n  // Load new page content\n  loadNewPageContent();\n}\n```\n\n## License\n\nCopyright 2025 Open Rhapsody Co., Ltd.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","readmeFilename":"README.md"}