As he steps down as chief executive of Advertising Association, the author says industry's ability to adapt is its greatest strength