Jump to content
  • Advertisement
Sign in to follow this  

AdTags Question

This topic is 2148 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey guys. 

I have a question for a school project I'm helping someone with. 


I'm not a game programmer myself.


We've developed a basic ad sever that will deliver ads in C+ and C++ games - In-Game Advertising in other words.


We want to know how to prepare ad tags for integration into games.

Ad tags if you don't know, are the code that pulls the ads/banners from ad servers to be displayed in the Game. Typically in Online Advertising (Like Banners you see on websites), the ad tags are in HTML or Javascript format.

What would the ad tag format be, in which it would be compatible with C+/C++??



Thanks In Advance People!




Share this post

Link to post
Share on other sites

You could put it in any format you like, and C++ could parse it. XML is a popular format, but many other programmers despise it (it's love or hate). JSON might be a good bet.


There is no language called 'C+', as far as I know. There is 'C', and there is 'C++'. There is also C#. All three of those could handle whatever format you choose.

However, C and C++ doesn't natively know about the HTTP protocol like PUSH and GET commands. It can certainly handle it, but it requires work on the programmer's side. So if you were intending on starting a business doing this, you should create a C++ library that C++ programmers will use that handles that kind of thing for them - or they'll either have to find a third party library on their own, make one themselves, or just not use your service.


C++ can handle almost anything. But it supports almost nothing on its own, requiring third-party libraries or self-made libraries.

Edited by Servant of the Lord

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!