https://github.com/duyet/node-rtb-server
Ads Realtime Bidding Server on Nodejs
https://github.com/duyet/node-rtb-server
Last synced: 11 months ago
JSON representation
Ads Realtime Bidding Server on Nodejs
- Host: GitHub
- URL: https://github.com/duyet/node-rtb-server
- Owner: duyet
- Archived: true
- Created: 2015-06-18T08:34:52.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-06-09T15:43:43.000Z (about 2 years ago)
- Last Synced: 2025-03-30T06:41:25.271Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.64 MB
- Stars: 32
- Watchers: 11
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RTB Server
* Version: 0.0.1
* Nodejs & NPM
* Author: Van-Duyet Le (@duyet)
* Copyright (c) 2015
# Real-time Bidding
*Real-time bidding (RTB)* is a means by which advertising inventory is bought and sold on a per-impression basis, via programmatic instantaneous auction, similar to financial markets. With real-time bidding, advertising buyers bid on an impression and, if the bid is won, the buyer’s ad is instantly displayed on the publisher’s site. Real-time bidding lets advertisers manage and optimize ads from multiple ad-networks by granting the user access to a multitude of different networks, allowing them to create and launch advertising campaigns, prioritize networks and allocate percentages of unsold inventory, known as backfill.
# Installation
* Require: Ubuntu 14.04 (RAM > 12GB)
* Nodejs, NPM, PM2
# Bidding Logs Server

# Setup environment varaibles and cronjob
Run `./bgate_env.sh` to settup bgate ENV.
Run `crontab -e` to setup crontab editor, append:
BGATE_HOME=/home/ubuntu/bgate
*/1 * * * * $BGATE_HOME/cronjob/ubuntu/minutely.sh # every minute
*/15 * * * * $BGATE_HOME/cronjob/ubuntu/minutely-15.sh # every 10 minute
1 * * * * $BGATE_HOME/cronjob/ubuntu/hourly.sh # every hour
55 23 * * * $BGATE_HOME/cronjob/ubuntu/daily-endday.sh # 23h55
0 1 * * * $BGATE_HOME/cronjob/ubuntu/daily-startday.sh # 1h00
0 1 * * 7 $BGATE_HOME/cronjob/ubuntu/weekly.sh # 1h00 every sunday
55 23 28 * * $BGATE_HOME/cronjob/ubuntu/monthly.sh # every month (28/x/yyyy 23h55)