-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
smartsir796
committed
Mar 22, 2022
1 parent
b5d0720
commit c3adc4e
Showing
2 changed files
with
43 additions
and
42 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,39 @@ | ||
import { Spawner } from "../node_modules/decentraland-builder-scripts/spawner" | ||
//import AdsharesBanner, { Props } from "./item" | ||
// | ||
// | ||
//const banner = new AdsharesBanner() | ||
//const spawner = new Spawner<Props>(banner) | ||
// | ||
//spawner.spawn( | ||
// 'banner', | ||
// new Transform({ | ||
// position: new Vector3(4, 0, 8), | ||
// scale: new Vector3(2, 2, 0.1), | ||
// }), | ||
// { | ||
// payout_network: "ads", | ||
// payout_address: "0001-000000F1-6451", | ||
// keywords: "decentraland,metaverse", | ||
// zone_name: "default", | ||
// adserver: "https://adserver.priv", | ||
// exclude: "{\"quality\": [\"low\"], \"category\": [\"adult\"]}" | ||
// } | ||
//); | ||
// | ||
// | ||
//spawner.spawn( | ||
// 'banner', | ||
// new Transform({ | ||
// position: new Vector3(6, 0, 6), | ||
// scale: new Vector3(2, 2, 0.1), | ||
// }), | ||
// { | ||
// payout_network: "ads", | ||
// payout_address: "0001-000000F1-6451", | ||
// keywords: "decentraland,metaverse", | ||
// zone_name: "default", | ||
// adserver: "https://adserver.priv", | ||
// exclude: "{\"quality\": [\"low\"], \"category\": [\"adult\"]}" | ||
// } | ||
//); | ||
// | ||
import AdsharesBanner, { Props } from "./item" | ||
|
||
|
||
const banner = new AdsharesBanner() | ||
const spawner = new Spawner<Props>(banner) | ||
|
||
spawner.spawn( | ||
'banner', | ||
new Transform({ | ||
position: new Vector3(4, 0, 8), | ||
scale: new Vector3(2, 2, 0.1), | ||
}), | ||
{ | ||
payout_network: "ads", | ||
payout_address: "0001-000000F1-6451", | ||
keywords: "decentraland,metaverse", | ||
zone_name: "default", | ||
adserver: "https://adserver.priv", | ||
exclude: "{\"quality\": [\"low\"], \"category\": [\"adult\"]}" | ||
} | ||
); | ||
|
||
|
||
spawner.spawn( | ||
'banner', | ||
new Transform({ | ||
position: new Vector3(6, 0, 6), | ||
scale: new Vector3(2, 2, 0.1), | ||
}), | ||
{ | ||
payout_network: "ads", | ||
payout_address: "0001-000000F1-6451", | ||
keywords: "decentraland,metaverse", | ||
zone_name: "default", | ||
adserver: "https://adserver.priv", | ||
exclude: "{\"quality\": [\"low\"], \"category\": [\"adult\"]}" | ||
} | ||
); |
This file contains 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