How to create an ad network with Wordpress

Any expert suggest me;
I want to create an ads network website with WordPress. Here stay publisher and advertiser frontend account. The advertiser can put their ads and publisher can copy ad code and put another website.