This as-told-to essay is based on a conversation with Teresa Barreira, chief marketing officer of Publicis Sapient, the advertising company’s digital transformation group. It’s been edited for length and clarity.The role of the CMO has been under attack for years. And honestly, some of it is very well deserved.Part of…