You are here: Publishers > Event-level Feeds > Downloading the event feed file

Downloading the event feed file

After you parse the response for the serial numbers and feed files, you can download the files with the data you want to access. Use the URL located in the @locator: key in the JSON response (see bold text in the sample response). For example, in the sample response described in the previous section, if you wanted to download the last event feed file in the response, you would use the following URL:

http://openx_server_name/ox/4.0/eventfeed/fetch?file=/d8568240-c334-11e2-8b8b-0800200c9a66/ox_click_log_minutely/2015-10/clicks_v4_2015-10-22_21-00_d8568240-c334-11e2-8b8b-0800200c9a66.txt.gz

This returns the event feed file with the data fields for the event. OpenX recommends that you validate each file by comparing the value in the @digest key with a locally executed MD5 checksum. This ensures that you have correctly downloaded a complete and valid file before moving on with further processing.

This topic applies to Ad Server. This topic applies to Ad Exchange. This topic applies to Programmatic Direct.

Feedback form