How to make my own ad server

Hello. I recently configured my own MSN Server, and my goal is to make it as similar to how it was in 2006 as possible. The first thing i wanted was tabs which i figured out how to add a while ago, the next thing i want is custom ads but i don’t know how to make the ad server and configure it in my server config. Can anybody help me? Thanks :slight_smile:

It’s just a HTML page. Make sure you send a valid initial profile if you’re writing a server, or else it won’t render.

AdBanner20URL

This element is the URL to the advertisement service that handles banner advertisements.
If $PUID$ is included in the URL, it is replaced with the user’s Passport Unique ID formatted as 16 hexadecimal nybbles.

This element has only one attribute:

  • Refresh: The number of seconds before downloading a new ad from the <AdBanner20URL>.

NOTE: The initial profile fields MemberIdHigh and MemberIdLow must be non-zero for the advertisement banner to be rendered in Client Versions 6.0 to 7.5.

<a href="http://example.com/" target="_blank" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">
    <img src="http://example.com/ads/half_width/234x60.png" border="0" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">
</a>
1 Like

I probably don’t have the skills to make an ad portal myself, so i was thinking about using crosstalk’s ad portal. do you have their urls by any chance? i looked around the github page but i couldn’t find the config file

I mean I literally serve a static page personally and make the client download an image (document.write(documentPrefix+imageUrls[(Math.random()*imageUrls.length)|0]+documentSuffix) if you’re trying to be me), but CrossTalk uses http://ctsvcs.advertising.ugnet.gay/ads/banner.

1 Like

alright, thanks for the help!

wait so where do i put the link in the config?

The text node (contents) of the LocalizedConfig/AdMainConfig/AdBanner20URL node in the Messenger Config.

thank you!

it works :slight_smile:

1 Like