Spaces:
Sleeping
Sleeping
Upload 12 files
Browse files- README.md +3 -3
- ads_formulas.py +158 -160
- app.py +9 -2
- fb_policies.py +104 -0
- manual.md +28 -2
- prompts.py +25 -0
README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
---
|
2 |
license: afl-3.0
|
3 |
-
title:
|
4 |
sdk: streamlit
|
5 |
emoji: 🏆
|
6 |
colorFrom: red
|
7 |
colorTo: yellow
|
8 |
pinned: true
|
9 |
-
sdk_version: 1.
|
10 |
-
short_description:
|
11 |
---
|
|
|
1 |
---
|
2 |
license: afl-3.0
|
3 |
+
title: Bullet_Generator 2G
|
4 |
sdk: streamlit
|
5 |
emoji: 🏆
|
6 |
colorFrom: red
|
7 |
colorTo: yellow
|
8 |
pinned: true
|
9 |
+
sdk_version: 1.42.2
|
10 |
+
short_description: Transform your audience's thoughts into persuasive bullets
|
11 |
---
|
ads_formulas.py
CHANGED
@@ -11,64 +11,63 @@ ads_formulas = {
|
|
11 |
- Pose an intriguing question that generates curiosity
|
12 |
- Create a pattern interruption that stands out among other messages
|
13 |
2. Pain:
|
14 |
-
-
|
15 |
- Establish an empathy bond by demonstrating understanding
|
16 |
-
-
|
17 |
-
- Validate
|
18 |
3. Desire:
|
19 |
-
- Generate hope
|
20 |
-
- Create desire through
|
21 |
-
- Paint a scenario of
|
22 |
- Intensify the longing for the promised result
|
23 |
4. Solution:
|
24 |
-
- Present your offer as
|
25 |
- Clearly define the differentiator to increase perceived value
|
26 |
- Demonstrate why your solution is superior to other alternatives
|
27 |
- Provide proof of effectiveness and tangible results
|
28 |
5. Action + Scarcity:
|
29 |
-
- Motivate
|
30 |
-
- Incorporate elements of scarcity (
|
31 |
-
- Create a sense of
|
32 |
-
- Reduce the perceived risk of taking action
|
33 |
""",
|
34 |
"examples": [
|
35 |
-
# Examples remain in Spanish as requested
|
36 |
{
|
37 |
-
"title": "
|
38 |
"target": "Dueños de negocios insatisfechos con sus agencias digitales",
|
39 |
-
"action": "Clic aquí para
|
40 |
"story": """
|
41 |
-
|
42 |
|
43 |
-
|
44 |
|
45 |
-
|
46 |
|
47 |
-
|
48 |
|
49 |
-
Más de 200 emprendedores
|
50 |
|
51 |
-
Solo por 24 horas,
|
52 |
|
53 |
-
Clic aquí para
|
54 |
"""
|
55 |
},
|
56 |
{
|
57 |
-
"title": "El método que está revolucionando cómo los
|
58 |
"target": "Entrenadores personales y profesionales del fitness",
|
59 |
-
"action": "Regístrate ahora para el webinar gratuito (
|
60 |
"story": """
|
61 |
-
|
62 |
|
63 |
-
|
64 |
|
65 |
-
|
66 |
|
67 |
-
|
68 |
|
69 |
-
El método de Entrenamiento Híbrido Escalable
|
70 |
|
71 |
-
Este jueves
|
72 |
|
73 |
Regístrate ahora para asegurar tu participación.
|
74 |
"""
|
@@ -82,33 +81,33 @@ ads_formulas = {
|
|
82 |
This formula follows the natural psychological process consumers go through when making purchase decisions, from initial awareness to taking action.
|
83 |
STRUCTURE:
|
84 |
1. Attention:
|
85 |
-
- Captures
|
86 |
- Uses surprising facts, bold claims, or intriguing questions
|
87 |
- Stands out from competing messages in the feed
|
88 |
- Creates an immediate pattern interruption
|
89 |
-
- Focuses on a key benefit or
|
90 |
2. Interest:
|
91 |
- Builds on the attention-grabbing opener with relevant information
|
92 |
-
- Demonstrates understanding of
|
93 |
- Presents compelling facts, statistics, or testimonials
|
94 |
-
- Shows
|
95 |
- Maintains engagement through storytelling or valuable insights
|
96 |
3. Desire:
|
97 |
-
- Highlights unique features and benefits
|
98 |
- Creates emotional connection through vivid descriptions
|
99 |
-
- Emphasizes exclusivity
|
100 |
-
- Paints a picture of
|
101 |
-
-
|
102 |
4. Action:
|
103 |
-
- Provides a clear, compelling
|
104 |
-
- Creates
|
105 |
- Makes the next step easy and frictionless
|
106 |
- Offers incentives for immediate response
|
107 |
- Reinforces the value proposition one final time
|
108 |
""",
|
109 |
"examples": [
|
110 |
{
|
111 |
-
"title": "Inversión
|
112 |
"target": "Inversionistas inmobiliarios buscando oportunidades de alto rendimiento",
|
113 |
"action": "Solicitar información exclusiva",
|
114 |
"story": """
|
@@ -116,53 +115,53 @@ ads_formulas = {
|
|
116 |
|
117 |
Mientras otros desarrollos apenas comienzan, este proyecto ya cuenta con club de playa listo para estrenar en 2024. Ubicado en la zona de mayor apreciación inmobiliaria de México, rodeado de proyectos que han incrementado su valor hasta un 30% en solo 18 meses.
|
118 |
|
119 |
-
|
120 |
✅ Gimnasio equipado con tecnología de punta
|
121 |
✅ Canchas de pádel y tenis profesionales
|
122 |
✅ Spa exclusivo con sauna y áreas de relajación
|
123 |
-
✅ Acceso
|
124 |
|
125 |
Los últimos 5 inversionistas obtuvieron un ROI del 22% en su primer año. Solo quedan 8 unidades disponibles en esta fase.
|
126 |
|
127 |
-
Solicite ahora
|
128 |
"""
|
129 |
},
|
130 |
{
|
131 |
-
"title": "
|
132 |
"target": "Emprendedores y profesionales buscando aumentar ventas online",
|
133 |
"action": "Reservar plaza gratuita",
|
134 |
"story": """
|
135 |
-
REVELADO: El método que está generando $10,000+ mensuales a emprendedores
|
136 |
|
137 |
Este jueves compartiremos las 3 estrategias que están revolucionando el marketing digital en 2023 y que menos del 5% de las empresas están implementando correctamente.
|
138 |
|
139 |
-
|
140 |
-
✅ La fórmula
|
141 |
-
✅ Cómo automatizar
|
142 |
-
✅ El método de segmentación que reduce
|
143 |
|
144 |
-
|
145 |
|
146 |
-
|
147 |
"""
|
148 |
},
|
149 |
{
|
150 |
-
"title": "
|
151 |
"target": "Personas ocupadas que quieren mejorar su condición física",
|
152 |
"action": "Comenzar prueba gratuita de 7 días",
|
153 |
"story": """
|
154 |
-
¿
|
155 |
|
156 |
-
|
157 |
|
158 |
A diferencia de otros programas:
|
159 |
✅ Entrenamientos científicamente diseñados para maximizar resultados en tiempo mínimo
|
160 |
-
✅ Plan nutricional adaptable a
|
161 |
-
✅ Sistema de seguimiento que mantiene
|
162 |
|
163 |
-
El 87% de
|
164 |
|
165 |
-
|
166 |
"""
|
167 |
}
|
168 |
]
|
@@ -174,86 +173,86 @@ ads_formulas = {
|
|
174 |
This formula is based on the psychology of pain and relief, following the principle that people are more motivated to avoid pain than to seek pleasure.
|
175 |
STRUCTURE:
|
176 |
1. Problem:
|
177 |
-
- Identifies a
|
178 |
- Must be immediately recognizable by the audience
|
179 |
-
- Presented
|
180 |
-
- Uses
|
181 |
2. Agitation:
|
182 |
-
- Deepens the emotional consequences
|
183 |
-
- Explores future ramifications
|
184 |
-
- Increases psychological tension
|
185 |
-
- Creates an emotional turning point
|
186 |
3. Solution:
|
187 |
-
- Presents the answer
|
188 |
- Focuses on transformational benefits
|
189 |
-
-
|
190 |
-
- Demonstrates positive change
|
191 |
4. Action:
|
192 |
- Proposes the logical next step
|
193 |
- Minimizes friction and resistance
|
194 |
-
- Creates a sense of
|
195 |
""",
|
196 |
"examples": [
|
197 |
{
|
198 |
-
"title": "
|
199 |
"target": "Emprendedores y profesionales que ofrecen servicios",
|
200 |
-
"action": "
|
201 |
"story": """
|
202 |
-
|
203 |
|
204 |
-
Los clientes lo
|
205 |
|
206 |
-
Lo frustrante
|
207 |
|
208 |
-
La transformación
|
209 |
|
210 |
-
|
211 |
|
212 |
-
|
213 |
|
214 |
-
|
215 |
"""
|
216 |
},
|
217 |
{
|
218 |
-
"title": "
|
219 |
"target": "Emprendedores que invierten en publicidad sin resultados",
|
220 |
"action": "Reservar diagnóstico gratuito de estrategia publicitaria",
|
221 |
"story": """
|
222 |
-
|
223 |
|
224 |
-
"Es cuestión de paciencia",
|
225 |
|
226 |
-
Lo
|
227 |
|
228 |
-
Cada
|
229 |
|
230 |
-
La
|
231 |
|
232 |
-
Todo
|
233 |
|
234 |
-
|
235 |
|
236 |
-
|
237 |
"""
|
238 |
},
|
239 |
{
|
240 |
-
"title": "
|
241 |
"target": "Emprendedores frustrados con cursos de marketing",
|
242 |
"action": "Reservar clase gratuita",
|
243 |
"story": """
|
244 |
-
|
245 |
|
246 |
-
Lo
|
247 |
|
248 |
-
Mientras tanto, la competencia
|
249 |
|
250 |
-
La frustración se
|
251 |
|
252 |
-
El cambio
|
253 |
|
254 |
-
Este
|
255 |
|
256 |
-
|
257 |
"""
|
258 |
}
|
259 |
]
|
@@ -266,11 +265,11 @@ ads_formulas = {
|
|
266 |
This formula is based on the contrast between the current situation and the desired outcome, using your solution as the natural bridge between both states.
|
267 |
STRUCTURE:
|
268 |
1. Before:
|
269 |
-
- Vividly describe
|
270 |
-
- Reflect
|
271 |
-
- Identify
|
272 |
- Use empathetic and descriptive language
|
273 |
-
- Create immediate connection with
|
274 |
2. After:
|
275 |
- Paint the ideal post-solution scenario
|
276 |
- Describe tangible and emotional benefits
|
@@ -278,61 +277,60 @@ ads_formulas = {
|
|
278 |
- Emphasize the contrast with the initial situation
|
279 |
- Generate desire for the promised result
|
280 |
3. Bridge:
|
281 |
-
- Present
|
282 |
- Explain the transformation process
|
283 |
- Demonstrate the viability of change
|
284 |
-
-
|
285 |
- Provide clear steps toward the result
|
286 |
""",
|
287 |
"examples": [
|
288 |
{
|
289 |
-
"title": "Curso de Cocina Saludable",
|
290 |
"target": "Profesionales sin tiempo",
|
291 |
"action": "Reservar clase prueba gratuita",
|
292 |
"story": """
|
293 |
-
|
294 |
|
295 |
-
|
296 |
|
297 |
-
|
298 |
|
299 |
-
Estas clases
|
300 |
|
301 |
-
|
302 |
"""
|
303 |
},
|
304 |
{
|
305 |
-
"title": "Mentoría de LinkedIn",
|
306 |
"target": "Profesionales buscando mejores oportunidades",
|
307 |
"action": "Agendar sesión estratégica",
|
308 |
"story": """
|
309 |
-
|
310 |
|
311 |
-
|
312 |
|
313 |
-
La diferencia entre
|
314 |
|
315 |
-
Un mentor
|
316 |
|
317 |
-
|
318 |
"""
|
319 |
},
|
320 |
{
|
321 |
-
"title": "App de Hábitos Matutinos",
|
322 |
"target": "Personas que luchan con las mañanas",
|
323 |
"action": "Descargar versión premium",
|
324 |
"story": """
|
325 |
-
El sonido del despertador
|
326 |
|
327 |
-
|
328 |
|
329 |
-
La brecha entre
|
330 |
|
331 |
-
Esta app apareció en
|
332 |
|
333 |
-
|
334 |
"""
|
335 |
-
|
336 |
}
|
337 |
]
|
338 |
},
|
@@ -341,90 +339,90 @@ ads_formulas = {
|
|
341 |
"description": """
|
342 |
The G.H.A. formula (Hook-Story-Action) is a powerful narrative structure that uses storytelling to create emotional connections and motivate action.
|
343 |
THEORY:
|
344 |
-
This formula leverages the power of stories to capture attention, generate empathy, and motivate change, based on identification with
|
345 |
STRUCTURE:
|
346 |
1. Hook:
|
347 |
-
- Opens by identifying a
|
348 |
-
-
|
349 |
-
- Generates immediate identification with
|
350 |
-
- Sets the scene from
|
351 |
2. Story:
|
352 |
-
- Develops the narrative showing the
|
353 |
-
- Explores how
|
354 |
-
- Maintains emotional
|
355 |
-
- Introduces the
|
356 |
-
- Demonstrates
|
357 |
3. Action:
|
358 |
-
- Presents the
|
359 |
-
- Emphasizes the
|
360 |
-
- Minimizes barriers to
|
361 |
-
- Reinforces
|
362 |
""",
|
363 |
"examples": [
|
364 |
{
|
365 |
-
"title": "Programa de Hábitos Productivos",
|
366 |
"target": "Emprendedores que sienten que el día no les alcanza",
|
367 |
"action": "Acceder al reto gratuito de 7 días",
|
368 |
"story": """
|
369 |
-
"
|
370 |
|
371 |
-
|
372 |
|
373 |
-
|
374 |
|
375 |
-
|
376 |
|
377 |
-
|
378 |
"""
|
379 |
},
|
380 |
{
|
381 |
-
"title": "Curso de Branding Personal",
|
382 |
"target": "Freelancers y emprendedores que quieren destacar en su industria",
|
383 |
"action": "Inscribirse hoy y acceder a una auditoría gratuita de perfil",
|
384 |
"story": """
|
385 |
-
|
386 |
|
387 |
-
|
388 |
|
389 |
-
La frustración
|
390 |
|
391 |
-
|
392 |
|
393 |
-
|
394 |
"""
|
395 |
},
|
396 |
{
|
397 |
-
"title": "Masterclass:
|
398 |
"target": "Emprendedores que quieren generar ingresos pasivos",
|
399 |
"action": "Registrarse gratis y recibir acceso a la guía de validación",
|
400 |
"story": """
|
401 |
-
|
402 |
|
403 |
-
|
404 |
|
405 |
-
|
406 |
|
407 |
-
La transformación
|
408 |
|
409 |
-
|
410 |
"""
|
411 |
},
|
412 |
{
|
413 |
-
"title": "Taller de Escritura para Redes Sociales",
|
414 |
-
"target": "Creadores y emprendedores que
|
415 |
"action": "Reservar lugar con 50% de descuento",
|
416 |
"story": """
|
417 |
-
|
418 |
|
419 |
-
Mientras
|
420 |
|
421 |
-
La frustración
|
422 |
|
423 |
-
El cambio
|
424 |
|
425 |
-
|
426 |
|
427 |
-
|
428 |
"""
|
429 |
},
|
430 |
]
|
|
|
11 |
- Pose an intriguing question that generates curiosity
|
12 |
- Create a pattern interruption that stands out among other messages
|
13 |
2. Pain:
|
14 |
+
- Describe a common situation many people face
|
15 |
- Establish an empathy bond by demonstrating understanding
|
16 |
+
- Present the consequences of unresolved challenges
|
17 |
+
- Validate common frustrations in a way readers can identify with
|
18 |
3. Desire:
|
19 |
+
- Generate hope by showing possibilities
|
20 |
+
- Create desire through an ideal solution
|
21 |
+
- Paint a scenario of transformation
|
22 |
- Intensify the longing for the promised result
|
23 |
4. Solution:
|
24 |
+
- Present your offer as an effective answer to common challenges
|
25 |
- Clearly define the differentiator to increase perceived value
|
26 |
- Demonstrate why your solution is superior to other alternatives
|
27 |
- Provide proof of effectiveness and tangible results
|
28 |
5. Action + Scarcity:
|
29 |
+
- Motivate action with a clear next step
|
30 |
+
- Incorporate elements of genuine scarcity (limited capacity, time-sensitive offers)
|
31 |
+
- Create a sense of timeliness that encourages prompt decisions
|
32 |
+
- Reduce the perceived risk of taking action
|
33 |
""",
|
34 |
"examples": [
|
|
|
35 |
{
|
36 |
+
"title": "La estrategia que está transformando agencias digitales: ¿Qué la hace diferente?",
|
37 |
"target": "Dueños de negocios insatisfechos con sus agencias digitales",
|
38 |
+
"action": "Clic aquí para acceder al descuento especial",
|
39 |
"story": """
|
40 |
+
Cuando una marca no logra despegar en el entorno digital a pesar de la inversión, es natural sentir frustración. Muchos negocios permanecen estancados mientras la competencia avanza.
|
41 |
|
42 |
+
Esta situación es más común de lo que parece. Las estrategias convencionales suelen generar resultados convencionales, creando un ciclo de inversión sin el retorno esperado.
|
43 |
|
44 |
+
Existe una alternativa. Tras analizar más de 10 millones de pesos en campañas publicitarias, hemos identificado los patrones exactos que generan contenido viral y modelos de negocio escalables.
|
45 |
|
46 |
+
Este curso online permite implementar estas estrategias desde cualquier lugar y a cualquier hora, adaptándose perfectamente a diferentes agendas y necesidades.
|
47 |
|
48 |
+
Más de 200 emprendedores han transformado sus marcas con este método, superando consistentemente a su competencia en resultados medibles.
|
49 |
|
50 |
+
Solo por 24 horas, es posible acceder a una tarifa preferencial de lanzamiento que no volverá a repetirse.
|
51 |
|
52 |
+
Clic aquí para acceder al descuento especial.
|
53 |
"""
|
54 |
},
|
55 |
{
|
56 |
+
"title": "El método que está revolucionando cómo los profesionales del fitness aumentan sus ingresos sin añadir horas de trabajo",
|
57 |
"target": "Entrenadores personales y profesionales del fitness",
|
58 |
+
"action": "Regístrate ahora para el webinar gratuito (plazas limitadas a 50 participantes)",
|
59 |
"story": """
|
60 |
+
Muchos entrenadores dedican largas horas en el gimnasio, saltando de un cliente a otro, experimentando agotamiento físico mientras los ingresos permanecen estancados.
|
61 |
|
62 |
+
Es una realidad del sector: algunos profesionales con menos experiencia están generando mayores ingresos, trabajando menos horas y disfrutando de más libertad.
|
63 |
|
64 |
+
El modelo tradicional de entrenamiento personal tiene limitaciones inherentes: más horas no siempre significan mejores resultados económicos.
|
65 |
|
66 |
+
Existe un sistema que ha permitido a más de 300 entrenadores transformar su modelo de negocio, creando programas escalables que generan ingresos recurrentes sin depender exclusivamente de horas presenciales.
|
67 |
|
68 |
+
El método de Entrenamiento Híbrido Escalable permite automatizar programas que los clientes pueden seguir desde cualquier lugar, generando ingresos incluso en horas no laborables.
|
69 |
|
70 |
+
Este jueves se revelarán las 3 estrategias clave en un webinar exclusivo. Las plazas están limitadas a 50 participantes por razones de calidad en la atención.
|
71 |
|
72 |
Regístrate ahora para asegurar tu participación.
|
73 |
"""
|
|
|
81 |
This formula follows the natural psychological process consumers go through when making purchase decisions, from initial awareness to taking action.
|
82 |
STRUCTURE:
|
83 |
1. Attention:
|
84 |
+
- Captures attention with an eye-catching statement
|
85 |
- Uses surprising facts, bold claims, or intriguing questions
|
86 |
- Stands out from competing messages in the feed
|
87 |
- Creates an immediate pattern interruption
|
88 |
+
- Focuses on a key benefit or common situation that resonates with the audience
|
89 |
2. Interest:
|
90 |
- Builds on the attention-grabbing opener with relevant information
|
91 |
+
- Demonstrates understanding of common needs or challenges
|
92 |
- Presents compelling facts, statistics, or testimonials
|
93 |
+
- Shows relevance to the audience's situation
|
94 |
- Maintains engagement through storytelling or valuable insights
|
95 |
3. Desire:
|
96 |
+
- Highlights unique features and benefits
|
97 |
- Creates emotional connection through vivid descriptions
|
98 |
+
- Emphasizes exclusivity or special opportunities
|
99 |
+
- Paints a picture of improved situations after purchase
|
100 |
+
- Addresses potential concerns proactively
|
101 |
4. Action:
|
102 |
+
- Provides a clear, compelling next step
|
103 |
+
- Creates a sense of timeliness for acting promptly
|
104 |
- Makes the next step easy and frictionless
|
105 |
- Offers incentives for immediate response
|
106 |
- Reinforces the value proposition one final time
|
107 |
""",
|
108 |
"examples": [
|
109 |
{
|
110 |
+
"title": "Inversión perfecta a solo 10 minutos de las playas más exclusivas de Sonora",
|
111 |
"target": "Inversionistas inmobiliarios buscando oportunidades de alto rendimiento",
|
112 |
"action": "Solicitar información exclusiva",
|
113 |
"story": """
|
|
|
115 |
|
116 |
Mientras otros desarrollos apenas comienzan, este proyecto ya cuenta con club de playa listo para estrenar en 2024. Ubicado en la zona de mayor apreciación inmobiliaria de México, rodeado de proyectos que han incrementado su valor hasta un 30% en solo 18 meses.
|
117 |
|
118 |
+
Este desarrollo 100% residencial ofrece:
|
119 |
✅ Gimnasio equipado con tecnología de punta
|
120 |
✅ Canchas de pádel y tenis profesionales
|
121 |
✅ Spa exclusivo con sauna y áreas de relajación
|
122 |
+
✅ Acceso al club privado de playa SIN MEMBRESÍA ANUAL
|
123 |
|
124 |
Los últimos 5 inversionistas obtuvieron un ROI del 22% en su primer año. Solo quedan 8 unidades disponibles en esta fase.
|
125 |
|
126 |
+
Solicite ahora una consulta gratuita personalizada y reciba el reporte exclusivo de proyección de plusvalía para los próximos 3 años.
|
127 |
"""
|
128 |
},
|
129 |
{
|
130 |
+
"title": "REVELADO: El método que está generando $10,000+ mensuales a emprendedores sin conocimientos técnicos",
|
131 |
"target": "Emprendedores y profesionales buscando aumentar ventas online",
|
132 |
"action": "Reservar plaza gratuita",
|
133 |
"story": """
|
134 |
+
REVELADO: El método que está generando $10,000+ mensuales a emprendedores sin conocimientos técnicos ni grandes inversiones.
|
135 |
|
136 |
Este jueves compartiremos las 3 estrategias que están revolucionando el marketing digital en 2023 y que menos del 5% de las empresas están implementando correctamente.
|
137 |
|
138 |
+
En esta masterclass se descubrirá:
|
139 |
+
✅ La fórmula para crear anuncios que convierten al 28% (el triple del promedio de la industria)
|
140 |
+
✅ Cómo automatizar sistemas de ventas para generar ingresos constantes
|
141 |
+
✅ El método de segmentación que reduce la inversión publicitaria hasta un 60%
|
142 |
|
143 |
+
Los últimos 200 participantes han multiplicado sus ventas en un promedio de 3.7x en menos de 90 días aplicando este sistema.
|
144 |
|
145 |
+
Las plazas están limitadas a 50 participantes para esta masterclass gratuita. Reserve ahora y reciba el ebook "7 Errores Fatales en Marketing Digital" valorado en $97.
|
146 |
"""
|
147 |
},
|
148 |
{
|
149 |
+
"title": "Para quienes buscan transformación física con poco tiempo disponible",
|
150 |
"target": "Personas ocupadas que quieren mejorar su condición física",
|
151 |
"action": "Comenzar prueba gratuita de 7 días",
|
152 |
"story": """
|
153 |
+
¿Los programas de fitness tradicionales exigen horas de gimnasio difíciles de encontrar? 🕒
|
154 |
|
155 |
+
Este método revolucionario está ayudando a profesionales ocupados a transformar su condición física con solo 20 minutos diarios, sin equipamiento especial ni dietas extremas.
|
156 |
|
157 |
A diferencia de otros programas:
|
158 |
✅ Entrenamientos científicamente diseñados para maximizar resultados en tiempo mínimo
|
159 |
+
✅ Plan nutricional adaptable a diferentes estilos de vida (¡incluye comida real!)
|
160 |
+
✅ Sistema de seguimiento que mantiene la motivación y ajusta el programa automáticamente
|
161 |
|
162 |
+
El 87% de los usuarios ven resultados visibles en las primeras 3 semanas, incluso aquellos que han probado múltiples métodos anteriormente.
|
163 |
|
164 |
+
Comience hoy una prueba gratuita de 7 días y reciba acceso inmediato al taller exclusivo "Metabolismo Acelerado" valorado en $149. ¡Plazas limitadas!
|
165 |
"""
|
166 |
}
|
167 |
]
|
|
|
173 |
This formula is based on the psychology of pain and relief, following the principle that people are more motivated to avoid pain than to seek pleasure.
|
174 |
STRUCTURE:
|
175 |
1. Problem:
|
176 |
+
- Identifies a common situation that many people face
|
177 |
- Must be immediately recognizable by the audience
|
178 |
+
- Presented in an empathetic and understanding manner
|
179 |
+
- Uses language that describes shared experiences
|
180 |
2. Agitation:
|
181 |
+
- Deepens the emotional consequences of the situation
|
182 |
+
- Explores future ramifications if the situation continues
|
183 |
+
- Increases psychological tension subtly
|
184 |
+
- Creates an emotional turning point that invites reflection
|
185 |
3. Solution:
|
186 |
+
- Presents the answer naturally within the narrative
|
187 |
- Focuses on transformational benefits
|
188 |
+
- Builds credibility gradually
|
189 |
+
- Demonstrates positive change through examples or testimonials
|
190 |
4. Action:
|
191 |
- Proposes the logical next step
|
192 |
- Minimizes friction and resistance
|
193 |
+
- Creates a sense of timely opportunity
|
194 |
""",
|
195 |
"examples": [
|
196 |
{
|
197 |
+
"title": "La autenticidad como ventaja competitiva en ventas: Un enfoque diferente",
|
198 |
"target": "Emprendedores y profesionales que ofrecen servicios",
|
199 |
+
"action": "Reservar sesión estratégica de 45 minutos",
|
200 |
"story": """
|
201 |
+
Muchos profesionales experimentan esa sensación durante las llamadas de ventas. La voz cambia, las palabras suenan prestadas, y esa incómoda sensación de no ser auténtico crece con cada frase.
|
202 |
|
203 |
+
Los clientes lo perciben. Sus "te llamaré después" son formas educadas de comunicar falta de conexión genuina.
|
204 |
|
205 |
+
Lo más frustrante es observar cómo otros profesionales, incluso con menos experiencia, logran cerrar ventas sin aparente esfuerzo mientras muchos se sienten atrapados en scripts que nunca resuenan naturalmente.
|
206 |
|
207 |
+
La transformación ocurre al abandonar el intento de ser el "vendedor perfecto" y permitirse mostrar autenticidad.
|
208 |
|
209 |
+
Para muchos, descubrir que su autenticidad es su ventaja competitiva más poderosa ha transformado conversaciones en conexiones genuinas, mejorando significativamente los resultados.
|
210 |
|
211 |
+
Para quienes buscan un enfoque más natural en ventas, existe un camino diferente.
|
212 |
|
213 |
+
Reserve una sesión estratégica y descubra cómo la autenticidad puede convertirse en una poderosa herramienta de ventas.
|
214 |
"""
|
215 |
},
|
216 |
{
|
217 |
+
"title": "Cuando la inversión en publicidad no se refleja en ventas: Una perspectiva diferente",
|
218 |
"target": "Emprendedores que invierten en publicidad sin resultados",
|
219 |
"action": "Reservar diagnóstico gratuito de estrategia publicitaria",
|
220 |
"story": """
|
221 |
+
Mes tras mes, las facturas de Facebook Ads llegan mientras las ventas permanecen estancadas. Una situación que muchos emprendedores conocen demasiado bien.
|
222 |
|
223 |
+
"Es cuestión de paciencia", suele ser el consejo mientras se ajustan públicos objetivos. Pero a menudo, lo único que aprende el algoritmo es a consumir presupuestos sin generar retornos proporcionales.
|
224 |
|
225 |
+
Lo más desconcertante es observar cómo la competencia consigue resultados con campañas aparentemente más sencillas.
|
226 |
|
227 |
+
Cada experto ofrece una explicación diferente y cada solución suele implicar mayor inversión que la anterior.
|
228 |
|
229 |
+
La revelación llega al comprender que el sistema está diseñado para fomentar el gasto continuo, no necesariamente para optimizar resultados.
|
230 |
|
231 |
+
Todo cambia al implementar estrategias menos conocidas: micro-segmentación efectiva, secuencias psicológicas y métricas verdaderamente relevantes.
|
232 |
|
233 |
+
Para quienes buscan transformar clics en ventas reales, existe un enfoque alternativo.
|
234 |
|
235 |
+
Reserve un diagnóstico gratuito y descubre cómo convertir la inversión publicitaria en crecimiento tangible.
|
236 |
"""
|
237 |
},
|
238 |
{
|
239 |
+
"title": "Más allá de los cursos de marketing: Encontrando estrategias que realmente funcionan",
|
240 |
"target": "Emprendedores frustrados con cursos de marketing",
|
241 |
"action": "Reservar clase gratuita",
|
242 |
"story": """
|
243 |
+
Las bandejas de entrada de muchos emprendedores se convierten en cementerios de promesas incumplidas. "Duplica tus ventas en 30 días", "El secreto para conseguir clientes sin esfuerzo"... La lista continúa.
|
244 |
|
245 |
+
Lo más desalentador no es el dinero invertido, sino las noches dedicadas a implementar estrategias que parecen funcionar para todos los demás. Cada mañana, revisar estadísticas esperando cambios que no llegan se vuelve una rutina frustrante.
|
246 |
|
247 |
+
Mientras tanto, la competencia parece crecer sin esfuerzo aparente. Sus anuncios aparecen constantemente, sus testimonios se multiplican, y la pregunta persiste: ¿qué elemento falta?
|
248 |
|
249 |
+
La frustración frecuentemente se transforma en duda sobre el propio negocio o capacidad. Cada nuevo experto promete la solución definitiva, pero los resultados siguen siendo esquivos.
|
250 |
|
251 |
+
El cambio real ocurre al comprender que no se necesita más información, sino la correcta. No otro curso genérico, sino estrategias específicas para cada negocio y audiencia particular.
|
252 |
|
253 |
+
Este enfoque comienza donde otros terminan: con un plan personalizado que considera recursos específicos, mercado actual y objetivos realistas.
|
254 |
|
255 |
+
Descubra cómo implementar un sistema de marketing efectivo para su negocio particular. Haga clic para reservar un lugar en la próxima clase gratuita.
|
256 |
"""
|
257 |
}
|
258 |
]
|
|
|
265 |
This formula is based on the contrast between the current situation and the desired outcome, using your solution as the natural bridge between both states.
|
266 |
STRUCTURE:
|
267 |
1. Before:
|
268 |
+
- Vividly describe common challenging situations
|
269 |
+
- Reflect common frustrations and concerns
|
270 |
+
- Identify obstacles that prevent achieving goals
|
271 |
- Use empathetic and descriptive language
|
272 |
+
- Create immediate connection with relatable experiences
|
273 |
2. After:
|
274 |
- Paint the ideal post-solution scenario
|
275 |
- Describe tangible and emotional benefits
|
|
|
277 |
- Emphasize the contrast with the initial situation
|
278 |
- Generate desire for the promised result
|
279 |
3. Bridge:
|
280 |
+
- Present the solution as the natural path
|
281 |
- Explain the transformation process
|
282 |
- Demonstrate the viability of change
|
283 |
+
- Address common concerns proactively
|
284 |
- Provide clear steps toward the result
|
285 |
""",
|
286 |
"examples": [
|
287 |
{
|
288 |
+
"title": "Curso de Cocina Saludable para profesionales con agenda ocupada",
|
289 |
"target": "Profesionales sin tiempo",
|
290 |
"action": "Reservar clase prueba gratuita",
|
291 |
"story": """
|
292 |
+
La nevera como museo de buenas intenciones: vegetales marchitos y tuppers con contenido irreconocible. Los servicios de delivery conociendo mejor la dirección que la propia familia. Entre el trabajo y otras actividades, cocinar parece una tarea imposible.
|
293 |
|
294 |
+
Un diagnóstico médico puede ser la llamada de atención. Surge la necesidad de cambiar, pero ¿cómo hacerlo sin sacrificar el escaso tiempo libre?
|
295 |
|
296 |
+
Muchos sueñan con disfrutar comidas nutritivas sin estrés, recuperar energía y mejorar la salud sin renunciar al ritmo de vida actual.
|
297 |
|
298 |
+
Estas clases han cambiado la perspectiva de cientos de profesionales. Han descubierto que cocinar saludable no requiere horas ni ingredientes exóticos. Ahora preparan comidas nutritivas en minutos, recuperan su energía y sus finanzas lo agradecen.
|
299 |
|
300 |
+
Únase a nuestra próxima clase gratuita este jueves y descubra cómo preparar comidas saludables que se ajusten a diferentes ritmos de vida.
|
301 |
"""
|
302 |
},
|
303 |
{
|
304 |
+
"title": "Mentoría de LinkedIn para profesionales que buscan destacar",
|
305 |
"target": "Profesionales buscando mejores oportunidades",
|
306 |
"action": "Agendar sesión estratégica",
|
307 |
"story": """
|
308 |
+
Actualizar el perfil de LinkedIn religiosamente, pero ver cómo las oportunidades siguen esquivando. Las publicaciones perdiéndose en el vacío digital mientras colegas con menos experiencia consiguen los puestos más codiciados.
|
309 |
|
310 |
+
El sueño de muchos profesionales: un perfil que atraiga oportunidades sin esfuerzo, conexiones valiosas y reconocimiento en la industria. Que los reclutadores inicien el contacto, no al revés.
|
311 |
|
312 |
+
La diferencia entre la situación actual y el escenario deseado parece un abismo imposible de cruzar. ¿Qué tienen algunos perfiles que otros no logran implementar?
|
313 |
|
314 |
+
Un mentor puede mostrar los puntos ciegos de la estrategia. No más contenido forzado, sino conexiones genuinas. En dos meses, los participantes del programa ven cómo los reclutadores comienzan a contactarlos y sus publicaciones generan conversaciones relevantes.
|
315 |
|
316 |
+
Agende su sesión estratégica hoy y aprende a convertir experiencia profesional en oportunidades reales de crecimiento.
|
317 |
"""
|
318 |
},
|
319 |
{
|
320 |
+
"title": "App de Hábitos Matutinos para transformar las mañanas",
|
321 |
"target": "Personas que luchan con las mañanas",
|
322 |
"action": "Descargar versión premium",
|
323 |
"story": """
|
324 |
+
El sonido del despertador como enemigo número uno. Cinco alarmas y tres cafés después, apenas funcionando. Las mañanas productivas parecen un privilegio reservado para algunos, mientras la creatividad y energía siempre llegan demasiado tarde para otros.
|
325 |
|
326 |
+
El ideal: despertar naturalmente, disfrutar del amanecer y comenzar el día con energía y claridad. Convertir las primeras horas en productivas, no en una batalla.
|
327 |
|
328 |
+
La brecha entre una caótica realidad matutina y ese despertar ideal parece insalvable para muchos. Después de probar múltiples métodos sin éxito, la frustración se acumula.
|
329 |
|
330 |
+
Esta app apareció en el momento preciso para muchos usuarios. Su enfoque gradual permite construir una rutina sin sentirse abrumado. Ahora disfrutan del amanecer con una taza de té y el día comienza con propósito, no con caos.
|
331 |
|
332 |
+
Descargue la app aquí y transforme sus mañanas en el momento más productivo del día.
|
333 |
"""
|
|
|
334 |
}
|
335 |
]
|
336 |
},
|
|
|
339 |
"description": """
|
340 |
The G.H.A. formula (Hook-Story-Action) is a powerful narrative structure that uses storytelling to create emotional connections and motivate action.
|
341 |
THEORY:
|
342 |
+
This formula leverages the power of stories to capture attention, generate empathy, and motivate change, based on identification with common challenges and aspirations.
|
343 |
STRUCTURE:
|
344 |
1. Hook:
|
345 |
+
- Opens by identifying a common challenge or situation many face
|
346 |
+
- Creates emotional connection with shared frustrations or needs
|
347 |
+
- Generates immediate identification with relatable scenarios
|
348 |
+
- Sets the scene from a perspective many can recognize
|
349 |
2. Story:
|
350 |
+
- Develops the narrative showing the impact of the situation
|
351 |
+
- Explores how challenges affect different aspects of life
|
352 |
+
- Maintains emotional engagement through relatable experiences
|
353 |
+
- Introduces the solution as a natural part of the narrative
|
354 |
+
- Demonstrates positive transformation through examples
|
355 |
3. Action:
|
356 |
+
- Presents the next step as a natural bridge to desired outcomes
|
357 |
+
- Emphasizes the timeliness of the opportunity
|
358 |
+
- Minimizes barriers to participation
|
359 |
+
- Reinforces specific benefits available to those who engage
|
360 |
""",
|
361 |
"examples": [
|
362 |
{
|
363 |
+
"title": "Programa de Hábitos Productivos para emprendedores con agendas saturadas",
|
364 |
"target": "Emprendedores que sienten que el día no les alcanza",
|
365 |
"action": "Acceder al reto gratuito de 7 días",
|
366 |
"story": """
|
367 |
+
La frase "no alcanza el tiempo" se convierte en el mantra diario de muchos emprendedores. Las listas de tareas crecen mientras la productividad se desploma.
|
368 |
|
369 |
+
Es común saltar de una emergencia a otra, apagando incendios constantes. Al final del día, el agotamiento revela una verdad incómoda: no se ha avanzado en lo realmente importante para el negocio.
|
370 |
|
371 |
+
Muchos han probado decenas de apps, agendas costosas y técnicas de productividad que prometen milagros. Sin embargo, el ciclo continúa: muchos pendientes, poco avance y esa sensación constante de estar fallando.
|
372 |
|
373 |
+
La transformación comienza cuando se comprende que el problema no es la falta de tiempo, sino los hábitos. Al reorganizar estratégicamente las rutinas diarias, es posible duplicar la productividad trabajando menos horas.
|
374 |
|
375 |
+
Para quienes buscan romper este ciclo, el reto gratuito de 7 días ofrece cambios pequeños pero poderosos que generan resultados tangibles.
|
376 |
"""
|
377 |
},
|
378 |
{
|
379 |
+
"title": "Curso de Branding Personal para destacar en mercados competitivos",
|
380 |
"target": "Freelancers y emprendedores que quieren destacar en su industria",
|
381 |
"action": "Inscribirse hoy y acceder a una auditoría gratuita de perfil",
|
382 |
"story": """
|
383 |
+
Muchos profesionales talentosos permanecen invisibles en sus industrias. Mientras la competencia cobra tarifas premium con menos experiencia, otros siguen luchando por cada cliente a pesar de ofrecer trabajo excepcional.
|
384 |
|
385 |
+
Al observar perfiles exitosos surge la pregunta: ¿qué elementos marcan la diferencia? Algunas personas atraen clientes constantemente a través de sus redes mientras otras dependen del agotador boca a boca.
|
386 |
|
387 |
+
La frustración crece con cada proyecto subpagado y cada cliente que cuestiona las tarifas. El talento queda invisible tras una presentación que no le hace justicia.
|
388 |
|
389 |
+
La revelación llega al comprender que no basta con ser bueno, hay que comunicarlo correctamente. Construir una marca que refleje el verdadero valor y posicionarse como experto transforma completamente la percepción del mercado.
|
390 |
|
391 |
+
Para profesionales cuyo talento no se refleja en sus ingresos, este curso ofrece estrategias probadas. Los participantes reciben una auditoría gratuita para identificar exactamente qué ajustes implementar.
|
392 |
"""
|
393 |
},
|
394 |
{
|
395 |
+
"title": "Masterclass: Cómo lanzar productos digitales exitosos",
|
396 |
"target": "Emprendedores que quieren generar ingresos pasivos",
|
397 |
"action": "Registrarse gratis y recibir acceso a la guía de validación",
|
398 |
"story": """
|
399 |
+
Las ideas de productos digitales suelen rondar la mente durante meses. Cada noche aparece el pensamiento: "mañana empiezo", pero ese mañana raramente llega.
|
400 |
|
401 |
+
La parálisis surge de creer que se necesita más conocimiento, más tiempo, más perfección. Mientras tanto, otros lanzan productos imperfectos y comienzan a generar ingresos pasivos.
|
402 |
|
403 |
+
Esta comparación resulta desalentadora. ¿Qué conocimientos o estrategias poseen quienes logran materializar sus ideas?
|
404 |
|
405 |
+
La transformación ocurre al abandonar la búsqueda del momento perfecto y comenzar a actuar con estrategia. La revelación: no se necesita un producto perfecto, sino uno que resuelva un problema real.
|
406 |
|
407 |
+
Para quienes tienen ideas estancadas, esta masterclass ofrece un camino claro. Al registrarse, los participantes reciben la guía que transforma conceptos en lanzamientos exitosos en 30 días.
|
408 |
"""
|
409 |
},
|
410 |
{
|
411 |
+
"title": "Taller de Escritura Persuasiva para Redes Sociales",
|
412 |
+
"target": "Creadores y emprendedores que buscan convertir seguidores en clientes",
|
413 |
"action": "Reservar lugar con 50% de descuento",
|
414 |
"story": """
|
415 |
+
Publicar contenido regularmente en redes sociales siguiendo recomendaciones de expertos no siempre genera resultados. Muchos creadores ven cómo sus publicaciones parecen caer en un vacío digital.
|
416 |
|
417 |
+
Mientras algunos convierten seguidores en clientes con aparente facilidad, otros reciben interacciones de cortesía pero ninguna conversión real.
|
418 |
|
419 |
+
La frustración aumenta con cada hora invertida en contenido que no genera resultados tangibles. ¿Qué elementos diferencian el contenido que conecta y convierte del que simplemente existe?
|
420 |
|
421 |
+
El cambio comienza al descubrir que escribir para redes no consiste solo en compartir información, sino en estructurarla para generar respuestas emocionales específicas.
|
422 |
|
423 |
+
Aprender a crear textos que abordan puntos de dolor precisos y motivan a la acción inmediata transforma completamente los resultados. Al aplicar estas técnicas, las ventas comienzan a llegar naturalmente.
|
424 |
|
425 |
+
Este taller ofrece ahora un 50% de descuento para quienes desean dominar el arte de escribir para vender.
|
426 |
"""
|
427 |
},
|
428 |
]
|
app.py
CHANGED
@@ -112,7 +112,7 @@ with col1:
|
|
112 |
input_prompt = st.text_area("Escribe de qué quieres que trate la historia:", placeholder="Escribe aquí tu idea...")
|
113 |
|
114 |
# Añadir cargador de archivos
|
115 |
-
uploaded_file = st.file_uploader("📄
|
116 |
type=['txt', 'pdf', 'docx', 'jpg', 'jpeg', 'png'])
|
117 |
|
118 |
file_content = ""
|
@@ -206,11 +206,18 @@ with col1:
|
|
206 |
ad_temperature = st.slider(
|
207 |
"Nivel de creatividad",
|
208 |
min_value=0.0,
|
209 |
-
max_value=2.0
|
210 |
value=1.0,
|
211 |
step=0.1,
|
212 |
label_visibility="visible"
|
213 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
|
215 |
# Mostrar el anuncio generado
|
216 |
if submit_ad:
|
|
|
112 |
input_prompt = st.text_area("Escribe de qué quieres que trate la historia:", placeholder="Escribe aquí tu idea...")
|
113 |
|
114 |
# Añadir cargador de archivos
|
115 |
+
uploaded_file = st.file_uploader("📄 Archivo o imagen de referencia",
|
116 |
type=['txt', 'pdf', 'docx', 'jpg', 'jpeg', 'png'])
|
117 |
|
118 |
file_content = ""
|
|
|
206 |
ad_temperature = st.slider(
|
207 |
"Nivel de creatividad",
|
208 |
min_value=0.0,
|
209 |
+
max_value=1.5, # Reduced from 2.0 to 1.5 for better policy compliance
|
210 |
value=1.0,
|
211 |
step=0.1,
|
212 |
label_visibility="visible"
|
213 |
)
|
214 |
+
|
215 |
+
# Add disclaimer about content review
|
216 |
+
st.markdown("""
|
217 |
+
<div style='font-size: 0.8em; color: #888;'>
|
218 |
+
Nota: Todo contenido generado debe ser revisado para asegurar cumplimiento con las políticas de Facebook antes de publicar.
|
219 |
+
</div>
|
220 |
+
""", unsafe_allow_html=True)
|
221 |
|
222 |
# Mostrar el anuncio generado
|
223 |
if submit_ad:
|
fb_policies.py
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
Facebook Advertising Policies Reference
|
3 |
+
"""
|
4 |
+
|
5 |
+
fb_policies = {
|
6 |
+
"prohibited_content": {
|
7 |
+
"description": "Content that is not allowed in Facebook ads under any circumstances",
|
8 |
+
"categories": [
|
9 |
+
"Adult products or services",
|
10 |
+
"Illegal products or services",
|
11 |
+
"Discriminatory practices",
|
12 |
+
"Tobacco and related products",
|
13 |
+
"Drugs and drug-related products",
|
14 |
+
"Unsafe supplements",
|
15 |
+
"Weapons, ammunition, or explosives",
|
16 |
+
"Adult content",
|
17 |
+
"Third-party infringement",
|
18 |
+
"Sensational content",
|
19 |
+
"Personal attributes"
|
20 |
+
],
|
21 |
+
"examples": [
|
22 |
+
"Mentioning specific body parts in a suggestive manner",
|
23 |
+
"Targeting ads based on race, religion, age, sexual orientation, etc.",
|
24 |
+
"Showing images of firearms or weapons even if legal",
|
25 |
+
"Using 'you' statements that reference personal attributes (e.g., 'Do you have diabetes?')"
|
26 |
+
]
|
27 |
+
},
|
28 |
+
"restricted_content": {
|
29 |
+
"description": "Content that requires special approval or certification from Facebook",
|
30 |
+
"categories": [
|
31 |
+
"Alcohol",
|
32 |
+
"Dating services",
|
33 |
+
"Gambling and lotteries",
|
34 |
+
"Online pharmacies",
|
35 |
+
"Financial services",
|
36 |
+
"Subscription services",
|
37 |
+
"Political content",
|
38 |
+
"Weight loss products"
|
39 |
+
],
|
40 |
+
"requirements": [
|
41 |
+
"Age restrictions must be applied",
|
42 |
+
"Special ad category selection may be required",
|
43 |
+
"Disclaimers or disclosures may be needed",
|
44 |
+
"Certification or pre-approval might be necessary"
|
45 |
+
]
|
46 |
+
},
|
47 |
+
"misleading_claims": {
|
48 |
+
"description": "Claims that could be considered deceptive or unrealistic",
|
49 |
+
"avoid": [
|
50 |
+
"Guaranteed results (e.g., 'Guaranteed to lose 20 pounds')",
|
51 |
+
"Before-and-after images with dramatic changes",
|
52 |
+
"Unrealistic income claims (e.g., 'Make $10,000 in your first week')",
|
53 |
+
"Miracle cures or treatments",
|
54 |
+
"Clickbait or false urgency (e.g., 'Only 2 spots left!')",
|
55 |
+
"Implying Facebook endorsement"
|
56 |
+
]
|
57 |
+
},
|
58 |
+
"formatting_guidelines": {
|
59 |
+
"description": "Rules about how ad text should be formatted",
|
60 |
+
"rules": [
|
61 |
+
"No excessive use of capital letters (avoid ALL CAPS)",
|
62 |
+
"Limited use of emojis (not excessive)",
|
63 |
+
"No excessive exclamation points or question marks",
|
64 |
+
"Proper grammar and spelling",
|
65 |
+
"No circumventing systems (like using symbols to replace letters)",
|
66 |
+
"Text in images must not exceed 20% of the image (historical rule, now less strict but still relevant)"
|
67 |
+
]
|
68 |
+
},
|
69 |
+
"landing_page_requirements": {
|
70 |
+
"description": "Requirements for the page users land on after clicking the ad",
|
71 |
+
"rules": [
|
72 |
+
"Must be functional (no broken links or error pages)",
|
73 |
+
"Must match the product/service advertised",
|
74 |
+
"Must not use 'bait and switch' tactics",
|
75 |
+
"Must have clear navigation",
|
76 |
+
"Must clearly state terms and conditions for offers",
|
77 |
+
"Must have a privacy policy if collecting user data"
|
78 |
+
]
|
79 |
+
},
|
80 |
+
"personal_attributes": {
|
81 |
+
"description": "Avoiding direct or implied references to personal characteristics",
|
82 |
+
"examples": [
|
83 |
+
"Instead of 'Are you diabetic?' use 'For people managing diabetes'",
|
84 |
+
"Instead of 'Fix your depression' use 'Resources for those experiencing depression'",
|
85 |
+
"Instead of 'Designed for old people' use 'Designed for seniors'"
|
86 |
+
],
|
87 |
+
"guidance": "Avoid using 'you' or 'your' when referring to sensitive personal attributes, conditions, or situations"
|
88 |
+
}
|
89 |
+
}
|
90 |
+
|
91 |
+
def get_policy_checklist():
|
92 |
+
"""Returns a simplified checklist for ad creators"""
|
93 |
+
return [
|
94 |
+
"Does the ad avoid prohibited content (adult, illegal, weapons, etc.)?",
|
95 |
+
"Does the ad avoid making unrealistic claims or guarantees?",
|
96 |
+
"Does the ad avoid excessive capitalization, punctuation, or sensationalist language?",
|
97 |
+
"Does the ad avoid using 'you' or 'your' when referring to personal attributes?",
|
98 |
+
"Does the ad avoid creating false urgency or using clickbait tactics?",
|
99 |
+
"If in a restricted category, does the ad include necessary disclaimers?",
|
100 |
+
"Does the ad avoid mentioning Facebook or Instagram directly?",
|
101 |
+
"Does the ad avoid discriminatory language or targeting?",
|
102 |
+
"Is the landing page functional and relevant to what's being advertised?",
|
103 |
+
"Does the ad avoid using before-and-after imagery that shows dramatic changes?"
|
104 |
+
]
|
manual.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
# Manual de Usuario
|
2 |
|
3 |
-
**Bienvenido
|
4 |
-
|
5 |
CopyLegend AI está diseñada para ayudarte a crear anuncios de Facebook persuasivos que conectan con tu audiencia y generan conversiones, combinando la sabiduría de los maestros del copywriting con la precisión de la inteligencia artificial.
|
6 |
|
7 |
## ¿Cómo utilizar CopyLegend AI?
|
@@ -48,6 +47,21 @@ Sigue estos pasos para sacar el máximo provecho de la herramienta:
|
|
48 |
- El análisis del avatar de CopyXpert es especialmente valioso ya que proporciona insights profundos sobre los deseos, miedos, objeciones y lenguaje de tu audiencia ideal
|
49 |
- La IA utilizará esta información para enriquecer tu anuncio y hacerlo más relevante y persuasivo
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
## Panel de Opciones Avanzadas
|
52 |
|
53 |
### Fórmulas de Anuncio
|
@@ -151,6 +165,18 @@ Sigue estos pasos para sacar el máximo provecho de la herramienta:
|
|
151 |
- Ideal para: Productos transformadores, ofertas disruptivas o soluciones revolucionarias
|
152 |
- Características: Lenguaje emocional, énfasis en la transformación, mantiene la atención
|
153 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
### Objetivos de Campaña
|
155 |
|
156 |
- **Ninguno**
|
|
|
1 |
# Manual de Usuario
|
2 |
|
3 |
+
**Bienvenido a CopyLegend AI**
|
|
|
4 |
CopyLegend AI está diseñada para ayudarte a crear anuncios de Facebook persuasivos que conectan con tu audiencia y generan conversiones, combinando la sabiduría de los maestros del copywriting con la precisión de la inteligencia artificial.
|
5 |
|
6 |
## ¿Cómo utilizar CopyLegend AI?
|
|
|
47 |
- El análisis del avatar de CopyXpert es especialmente valioso ya que proporciona insights profundos sobre los deseos, miedos, objeciones y lenguaje de tu audiencia ideal
|
48 |
- La IA utilizará esta información para enriquecer tu anuncio y hacerlo más relevante y persuasivo
|
49 |
|
50 |
+
2. **Producto**
|
51 |
+
- Describe tu producto o servicio
|
52 |
+
- Ejemplo: "Curso de gestión del tiempo", "App de productividad"
|
53 |
+
- Incluye detalles relevantes pero concisos
|
54 |
+
|
55 |
+
3. **Historia del Anuncio**
|
56 |
+
- Escribe la idea central o tema de tu anuncio
|
57 |
+
- Este tema será el hilo conductor de todo el anuncio
|
58 |
+
- Cuanto más específico, más impactante será el resultado
|
59 |
+
|
60 |
+
4. **Archivo de Referencia (Opcional)**
|
61 |
+
- Sube un archivo de texto (TXT, PDF, DOCX) o imagen (JPG, PNG)
|
62 |
+
- La IA utilizará esta información para enriquecer tu anuncio
|
63 |
+
- Ideal para incluir testimonios, datos o elementos visuales
|
64 |
+
|
65 |
## Panel de Opciones Avanzadas
|
66 |
|
67 |
### Fórmulas de Anuncio
|
|
|
165 |
- Ideal para: Productos transformadores, ofertas disruptivas o soluciones revolucionarias
|
166 |
- Características: Lenguaje emocional, énfasis en la transformación, mantiene la atención
|
167 |
|
168 |
+
- **Gary Halbert**
|
169 |
+
- Directo, conversacional y enfocado en historias persuasivas
|
170 |
+
- Ideal para ventas directas y conexión emocional
|
171 |
+
|
172 |
+
- **David Ogilvy**
|
173 |
+
- Elegante, basado en datos y con enfoque en la credibilidad
|
174 |
+
- Perfecto para productos premium o técnicos
|
175 |
+
|
176 |
+
- **Gary Bencivenga**
|
177 |
+
- Meticuloso, orientado a pruebas y enfocado en beneficios
|
178 |
+
- Excelente para audiencias escépticas que necesitan evidencia
|
179 |
+
|
180 |
### Objetivos de Campaña
|
181 |
|
182 |
- **Ninguno**
|
prompts.py
CHANGED
@@ -19,6 +19,9 @@ from emotional_angles import emotional_angles
|
|
19 |
# Importar las fórmulas de anuncios desde la carpeta ads
|
20 |
from ads_formulas import ads_formulas
|
21 |
|
|
|
|
|
|
|
22 |
def create_fb_ad_instruction(target_audience, product, selected_formula, selected_angle, selected_persona, ad_objective=None, language="español", story_prompt=""):
|
23 |
"""
|
24 |
Creates an instruction for generating Facebook ad copy
|
@@ -179,6 +182,8 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
|
|
179 |
|
180 |
{persona_instruction}
|
181 |
|
|
|
|
|
182 |
Ad Requirements for EACH of the three ads:
|
183 |
1. **Theme-Centered Headlines:** Create three bold, unexpected headlines for EACH ad that directly incorporate the story theme "{story_prompt if story_prompt else 'main benefit'}". Make them memorable, emotionally resonant, and specific to the audience's desires.
|
184 |
2. **Theme-Continuing Opening:** Begin with a smooth, conversational opening that DIRECTLY continues the exact theme from the headline. The first paragraph must expand on the SAME concept from the headline, not introduce a new idea.
|
@@ -186,6 +191,15 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
|
|
186 |
4. **Theme-Aligned Benefits:** Highlight why this product is the best solution for {target_audience}'s needs specifically in relation to the central theme.
|
187 |
5. **Theme-Connected CTA:** Integrate the call to action naturally into the narrative flow, making sure it references back to the central theme. It should feel like a logical next step rather than an abrupt command.
|
188 |
6. **Optimized for Multiple Ad Formats:** Ensure the copy works for image, video, and carousel ads while maintaining theme consistency.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
|
190 |
IMPORTANT ABOUT OPENING PARAGRAPH:
|
191 |
- The opening paragraph MUST continue the EXACT SAME THEME as the headline - they must feel like one continuous thought
|
@@ -195,6 +209,9 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
|
|
195 |
- The transition between headline and opening paragraph should be seamless, as if they are part of the same thought
|
196 |
- IMPORTANT: Do NOT begin the opening paragraph with a question that mirrors or expands the headline concept. Instead, use declarative statements that continue the narrative
|
197 |
- If the headline contains a question, the opening paragraph should provide insight or expand on the scenario rather than asking another related question
|
|
|
|
|
|
|
198 |
|
199 |
IMPORTANT ABOUT HEADLINE-STORY CONTINUITY:
|
200 |
- The headline and story must be perfectly aligned - they should feel like parts of the same narrative
|
@@ -303,6 +320,11 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
|
|
303 |
|
304 |
[Begin with a natural story opening that flows seamlessly from the headline concept. Don't force a "hook" - instead, start the narrative in a conversational and relatable way that draws the reader in. The story should feel like a natural continuation of the headline's theme, maintaining a cohesive narrative throughout the entire ad, with clear benefits and a compelling call to action at the end.]
|
305 |
|
|
|
|
|
|
|
|
|
|
|
306 |
After creating your ad, verify it meets these criteria:
|
307 |
1. Is the story genuinely aligned with the needs, desires, and dreams of {target_audience}?
|
308 |
2. Are the headlines creative and compelling enough to make the reader stop scrolling?
|
@@ -322,6 +344,9 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
|
|
322 |
16. Have you created exactly three distinct headline variations that approach the same core message from different angles?
|
323 |
17. CRITICAL CHECK: Does the opening paragraph DIRECTLY continue the EXACT concept from the headline? If not, rewrite the opening to ensure perfect continuity.
|
324 |
|
|
|
|
|
|
|
325 |
Your goal is to inspire desire and action, avoiding explanations or categories in the response.
|
326 |
"""
|
327 |
|
|
|
19 |
# Importar las fórmulas de anuncios desde la carpeta ads
|
20 |
from ads_formulas import ads_formulas
|
21 |
|
22 |
+
# Add this import at the top of the file
|
23 |
+
from fb_policies import fb_policies, get_policy_checklist
|
24 |
+
|
25 |
def create_fb_ad_instruction(target_audience, product, selected_formula, selected_angle, selected_persona, ad_objective=None, language="español", story_prompt=""):
|
26 |
"""
|
27 |
Creates an instruction for generating Facebook ad copy
|
|
|
182 |
|
183 |
{persona_instruction}
|
184 |
|
185 |
+
# Add this after the "Ad Requirements for EACH of the three ads:" section
|
186 |
+
|
187 |
Ad Requirements for EACH of the three ads:
|
188 |
1. **Theme-Centered Headlines:** Create three bold, unexpected headlines for EACH ad that directly incorporate the story theme "{story_prompt if story_prompt else 'main benefit'}". Make them memorable, emotionally resonant, and specific to the audience's desires.
|
189 |
2. **Theme-Continuing Opening:** Begin with a smooth, conversational opening that DIRECTLY continues the exact theme from the headline. The first paragraph must expand on the SAME concept from the headline, not introduce a new idea.
|
|
|
191 |
4. **Theme-Aligned Benefits:** Highlight why this product is the best solution for {target_audience}'s needs specifically in relation to the central theme.
|
192 |
5. **Theme-Connected CTA:** Integrate the call to action naturally into the narrative flow, making sure it references back to the central theme. It should feel like a logical next step rather than an abrupt command.
|
193 |
6. **Optimized for Multiple Ad Formats:** Ensure the copy works for image, video, and carousel ads while maintaining theme consistency.
|
194 |
+
7. **Facebook Policy Compliance:** Ensure all ad copy complies with Facebook's advertising policies by:
|
195 |
+
- Avoiding prohibited content (gambling, adult content, tobacco, weapons, etc.)
|
196 |
+
- Not using discriminatory language or targeting protected categories
|
197 |
+
- Avoiding excessive use of capital letters, punctuation, or sensationalist language
|
198 |
+
- Not making unrealistic claims or guarantees about results
|
199 |
+
- Ensuring appropriate disclaimers for regulated industries (finance, health, etc.)
|
200 |
+
- Not using "you" or "your" in a way that references personal attributes
|
201 |
+
- Avoiding content that could be considered misleading or creating false urgency
|
202 |
+
- Not mentioning Facebook or Instagram directly in the ad copy
|
203 |
|
204 |
IMPORTANT ABOUT OPENING PARAGRAPH:
|
205 |
- The opening paragraph MUST continue the EXACT SAME THEME as the headline - they must feel like one continuous thought
|
|
|
209 |
- The transition between headline and opening paragraph should be seamless, as if they are part of the same thought
|
210 |
- IMPORTANT: Do NOT begin the opening paragraph with a question that mirrors or expands the headline concept. Instead, use declarative statements that continue the narrative
|
211 |
- If the headline contains a question, the opening paragraph should provide insight or expand on the scenario rather than asking another related question
|
212 |
+
- For question headlines: The opening paragraph should begin answering the question or elaborating on the implied situation, creating a natural flow of thought
|
213 |
+
- When a headline poses a question, treat the opening paragraph as the beginning of the answer or exploration of that question, not as a separate thought
|
214 |
+
- Example of good flow: Headline: "¿Te has preguntado por qué otros avanzan y tú te quedas estancado?" Opening: "El inglés, esa habilidad que subestimas, podría ser la llave que abre las puertas a promociones y proyectos internacionales..."
|
215 |
|
216 |
IMPORTANT ABOUT HEADLINE-STORY CONTINUITY:
|
217 |
- The headline and story must be perfectly aligned - they should feel like parts of the same narrative
|
|
|
320 |
|
321 |
[Begin with a natural story opening that flows seamlessly from the headline concept. Don't force a "hook" - instead, start the narrative in a conversational and relatable way that draws the reader in. The story should feel like a natural continuation of the headline's theme, maintaining a cohesive narrative throughout the entire ad, with clear benefits and a compelling call to action at the end.]
|
322 |
|
323 |
+
# Add this to your verification criteria at the end of the instruction
|
324 |
+
policy_checklist = get_policy_checklist()
|
325 |
+
policy_checks = "\n".join([f"{i+18}. {check}" for i, check in enumerate(policy_checklist)])
|
326 |
+
|
327 |
+
# Then add this to your verification section
|
328 |
After creating your ad, verify it meets these criteria:
|
329 |
1. Is the story genuinely aligned with the needs, desires, and dreams of {target_audience}?
|
330 |
2. Are the headlines creative and compelling enough to make the reader stop scrolling?
|
|
|
344 |
16. Have you created exactly three distinct headline variations that approach the same core message from different angles?
|
345 |
17. CRITICAL CHECK: Does the opening paragraph DIRECTLY continue the EXACT concept from the headline? If not, rewrite the opening to ensure perfect continuity.
|
346 |
|
347 |
+
# Facebook Policy Compliance Checks:
|
348 |
+
{policy_checks}
|
349 |
+
|
350 |
Your goal is to inspire desire and action, avoiding explanations or categories in the response.
|
351 |
"""
|
352 |
|