https://github.com/borellion/sdk
Monetize your 3D experience by plugging into the Borellion Audience Network
https://github.com/borellion/sdk
aframe babylonjs r3f react-xr reactthreefiber sdk spatial threejs unity unity3d-plugin
Last synced: 2 days ago
JSON representation
Monetize your 3D experience by plugging into the Borellion Audience Network
- Host: GitHub
- URL: https://github.com/borellion/sdk
- Owner: borellion
- License: other
- Created: 2021-01-14T20:03:43.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2026-07-10T15:33:04.000Z (17 days ago)
- Last Synced: 2026-07-10T16:15:11.650Z (17 days ago)
- Topics: aframe, babylonjs, r3f, react-xr, reactthreefiber, sdk, spatial, threejs, unity, unity3d-plugin
- Language: JavaScript
- Homepage: https://borellion.com
- Size: 43.4 MB
- Stars: 8
- Watchers: 2
- Forks: 5
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Borellion Ads SDK
Monetize your 3D and WebXR experiences with the Borellion Ads SDK. Display banner ads in virtual environments across multiple frameworks.
[](https://www.borellion.com/docs)
## Supported Platforms
| Platform | Package | Install |
|----------|---------|---------|
| [A-Frame](./aframe) | `@borellion/aframe-sdk` | `npm i @borellion/aframe-sdk` |
| [Babylon.js](./babylonjs) | `@borellion/babylonjs-sdk` | `npm i @borellion/babylonjs-sdk` |
| [PlayCanvas](./playcanvas) | `@borellion/playcanvas-sdk` | `npm i @borellion/playcanvas-sdk` |
| [React Three Fiber](./r3f) | `@borellion/r3f-sdk` | `npm i @borellion/r3f-sdk` |
| [Threlte](./threlte) | `@borellion/threlte-sdk` | `npm i @borellion/threlte-sdk` |
| [Three.js](./threejs) | `@borellion/threejs-sdk` | `npm i @borellion/threejs-sdk` |
| [Web Components](./web) | `@borellion/web-sdk` | `npm i @borellion/web-sdk` |
| [Wonderland Engine](./wonderland) | `@borellion/wonderland-sdk` | `npm i @borellion/wonderland-sdk` |
| [Unity](./unity) | `com.borellion.unity-sdk` | See [Unity README](./unity/README.md) |
## Quick Start
1. **Create an ad unit** at [borellion.com](https://www.borellion.com) to get your Ad Unit ID
2. **Install the SDK** for your framework (see table above)
3. **Add a banner** to your scene:
```jsx
// React Three Fiber
import { Borellion } from '@borellion/r3f-sdk';
```
```js
// Three.js
import Borellion from '@borellion/threejs-sdk';
const banner = new Borellion('YOUR_AD_UNIT_ID', 'medium-rectangle', 'standard', 3);
scene.add(banner);
```
```html
```
## Banner Formats
| Format | Dimensions | Use Case |
|--------|-----------|----------|
| `medium-rectangle` | 300 x 250 | General purpose |
| `billboard` | 970 x 250 | Wide displays |
| `mobile-phone-interstitial` | 750 x 1334 | Tall/portrait displays |
## Testing Locally
Add `?debug=true` to your URL to load sample ads during development:
```
http://localhost:3000/?debug=true
```
## Documentation
Full integration guides for each platform: [borellion.com/docs](https://www.borellion.com/docs/guides/developers/integrate)
## Development
```bash
# Install dependencies
yarn
# Build all SDKs
scripts/build.sh
# Run tests
npm test
```