Skip to content

adleida/adx-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

126 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-adexchange

An ad exchange center written in nodejs. 一个基于nodejs的ad exchange.

Installation安装

  • download the code 下载源码

      git clone https://github.com/adleida/adx-nodejs.git
      cd adx-nodejs
    
  • install packages 安装依赖库

      npm install
    
  • prepare configuration file 调试配置文件,可以先复制配置文件模板

      cp config/app_config.template.yaml config/app_config.yaml
    

    about how to configure the parameters, please refer to

  • start exchange 启动exchange

      npm start
    

    or

      node bin/www
    

Usage 使用方法

once the exchange started, it will run on configured port. client may send bid request to http://ip:port/clk, the exchange will resend these requests to dsps you specified, select the final winner and return the result to the client and notice dsps about the result.

当exchange启动后,它将在配置端口运行。发起竞价方可以将bid request发向 **http://ip:port/clk**,exchange将会向所有注册dsp发出竞拍,选出最后获胜者返回发起竞价方最后广告方案,同时通知DSP竞价结果。

Trigger

About

adexchange project written by nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors