Custom targeting allows you to pass data to the ad server to be targeted and reported on.
In general, your web pages need to be developed with a dynamic page technology such as ASP, ColdFusion, JSP, or PHP to accomplish this integration. Those technologies enable you to retrieve data from the server-side, which might be stored in cookies or organized in a database. If your data is stored in cookies, it would also be possible to use JavaScript on the client-side to retrieve it.
While the possibilities of what you can do with the custom targeting are endless, here are just a couple of example usage scenarios:
Now that you know what custom targeting can do for you, lets go into the details of passing your data to the ad server to make it work. We'll assume that you have a 468x60 banner zone that you want to enable custom targeting for. What you should do first is generate AJAX, HTML, JavaScript, or JSP code for that zone using the code wizard.
Then continue on below with the instructions for type of code that you generated for the zone.
Once you have your code working and passing data to the ad server, read on to find out how you can customize the names of your fields in the user interface, integrate your data values into drop down combo boxes in the user interface with XML data feeds, enable custom field data logging and reporting, and learn how to enter custom targets for your campaigns.
You probably don't want your fields to appear as Custom Field #1 through Custom Field #10 in the user interface and statistics reports? No problem! Simply go to Settings > Basic > Custom Fields in the control panel and enter a descriptive name in Field Names input box for each desired custom field.
Pay attention, however, that the parameter names inserted into the zone code will always be named custom1 through custom10 as your descriptive names are only displayed in the user interface and statistics reports.
In most cases, you will probably have a list of preset data values that you would like to target your campaigns to. You may pass such a list into the user interface so that you can select data values to target instead of having to type them in. To do this, go to Settings > Basic > Custom Fields in the control panel and enter the URL of an XML feed into the Field Values input box for the desired custom field.
Your XML feed may be static or dynamically generated, but it must adhere to the following syntax.
<?xml version="1.0"?>
<dataset>
<entry name="One" value="1" />
<entry name="Two" value="2" />
<entry name="Three" value="3" />
</dataset>
There is no limit to the number of data field entries, however, you may experience performance issues if your feed contains more than a few hundred or thousand entries.
With all of the integration in place, you can proceed to target campaign to the data values you're passing to the ad server.
Let's assume that you are passing a numeric value of 12345 using Custom Field #1 as an example.
Once your targets have been entered, you should now see that your campaign only appears when the targeted data values are passed to the ad server.
Logging and reporting of custom field values passed to the ad server is not enabled by default.
Before enabling it, you should consider a few things:
To enable the logging and reporting, go to Settings > Expert > Statistics and check the box for all of the custom fields you want to generate reports for.