The array myAds returned by the function is built as follow:
myAds['interval']
Rotation interval, generally in seconds
myAds['items']['count']
Number of ads defined in the XML configuration file.
myAds['items'][index]['title']
Title of the ad item, generally to be displayed as a tooltip.
myAds['items'][index]['url']
URL to be opened when the user clicks on the ad.
myAds['items'][index]['src']
URL to the ad image. |