I am producing a dynamic banner ad for a major online travel website which needs to dynamically display the lowest-priced offer available at any given time. To achieve this, I need someone to write a custom component that handles the dynamic data. The dynamic ad platform is Flite ([url removed, login to view]), and the component would be built with ActionScript 3 using the Flite Ad API 3 and Metrics API ([url removed, login to view]).
Things would work something like this:
1. The component you build queries a web services API that the website has provided to access their data.
2. It parses JSON feed that the API returns, and extracts the lowest-priced offer and related URL.
3. The component then tells an animation in the ad (a separate SWF file we'll be receiving from the creative agency) to begin.
4. At the appropriate time (however many seconds in) your component renders the text "from $PRICE" in a particular font, size and style and displays it on top of the animation launched in step 3 for a specified amount of time.
5. During the entire duration of the ad, your component makes the entire area clickable to the link from the feed.
6. The component logs (using the Metrics API) a count of the impressions for each displayed price and logs the price that was on-screen for each clickthrough.
This is not a hard-and-fast set of rules for how it needs to be written; it's just as best as I can imagine it. Any ideas you would have for implementing this more effectively would be welcome -- particularly if you think there's a way to avoid layering the price on top of the animation SWF and instead injecting it directly into that file.