jeffgibson55
New Member
- Joined
- Aug 22, 2011
- Messages
- 17
I'm using Google PPC to promote some live training events. I have a database full of upcoming event titles. I need to build dynamic ads using these title values as well as some other parameters. Google gives you 2 description fields to populate both with a character limit of 35 each. Many of my titles exceed 35 characters. So I am looking for a way to break up any title value across these 2 fields. The trick though is that I need to make sure I break the title up at a space not mid-word so essentially I need a formula that will find the 35th character in the string then backtrack to the nearest preceding space prior to the 35th character.
For the second field I will pick up where the first field left off but if that value also exceeds 35 characters I'll need to end it with an "..." again at a space not mid-word. So in that scenerio I'll need to allow for the "..." (3 characters) in the total 35 character limit. So when I need to use the "..." I'll only have 32 characters to play with in that field.
Any help would be most appreciated. A hypothetical title could be: "The Secrets of Leadership: How Leaders Inspire, Influence and Achieve Results". For my purposes I'd like the formula to give me the following 2 values:
*Line 1: The Secrets of Leadership: How (30 characters)
* Line 2: Leaders Inspire, Influence and... (31 characters)*
Thanks!
Jeff Gibson
For the second field I will pick up where the first field left off but if that value also exceeds 35 characters I'll need to end it with an "..." again at a space not mid-word. So in that scenerio I'll need to allow for the "..." (3 characters) in the total 35 character limit. So when I need to use the "..." I'll only have 32 characters to play with in that field.
Any help would be most appreciated. A hypothetical title could be: "The Secrets of Leadership: How Leaders Inspire, Influence and Achieve Results". For my purposes I'd like the formula to give me the following 2 values:
*Line 1: The Secrets of Leadership: How (30 characters)
* Line 2: Leaders Inspire, Influence and... (31 characters)*
Thanks!
Jeff Gibson