OpenX is globally recognized Ad serving network and most popular PHP based ad server works both Openx hosted and self hosted. You can install OpenX on Unix, Linux or anywhere of your WordPress hosting server. To serve public ads on your website it's better to host OpenX on your WordPress hosting server rather than using Local host.
Previously I have shared with you all how to serve Google adsense with DFP small business but this time I will show you how you can serve Google ads with OpenX. Although Google's DFP and OpenX work the same way but still you will see more differences between these two services. Google's DFP serve millions of accounts and they still have vulnerabilities, specially regarding Geo targeting. Comparing that OpenX is more strong and a complete PHP based ad server again their Geo targeting for line items work fine and satisfy users.

Today I will share a complete tutorial with pictures about serving Google ads with OpenX self hosted. If you already installed OpenX on your server then you're ready to work with this tutorial or need the upgrade version of OpenX then use this link of SoftPedia
Add Websites and Zones
First of all login your Openx server with Username and PasswordNow switch to the "Default manager" user
Click on "Inventory" tab
Now click on Websites -> Add a new website

Now provide following information [shown in the image below] and hit "Save changes"

Website has been added successfully now click on "add a zone"

Now provide following information [shown in the image below] and hit "Save changes"

Create Advertiser, Campaign, Banners
From left nav click on Advertisers -> Add a new advertiser
Now provide following information [shown in the image below] and hit "Save changes"

Advertiser is added successfully now click on "add a campaign"

In "add a new campaign" basic information choose "Remnant" "Campaign type"

In pricing give your desired price per thousands impression "CPM"

Finally save your campaign
Once campaign is added choose "add a banner"

In "add a new banner" choose "OpenX Generic HTML Banner" ad banner type

In the text area paste your adsense code, Give the banner size and hit "Save changes"
Once banner is added click on "Linked Zones"

Now choose your zone and hit "Save changes"

Again click on "Zones" and hit "Linked Banners"

Choose "advertiser" and "campaign" and click on right arrow sign

Once "advertiser" and "campaign" is added click on "Invocation code"
You can choose any code type as iframe, javascript or any barcode [Recommended Javascript]

You can change the "tag settings" then click on "refresh"

Finally copy code and save anywhere of your web pages to show ads