Buckets:
| PLATFORM_RULES = { | |
| "META": "Max 125 chars for Primary Text, 40 for Headline. Prohibited: Sensitive personal attributes, misinformation.", | |
| "GOOGLE": "Max 30 chars for Headlines (up to 15 per RSA), 90 for Descriptions. Prohibited: Trademark violation, misleading claims.", | |
| "TIKTOK": "Vertical 9:16 video required. Max 100 chars for caption. Prohibited: Suggestive content, low-quality video." | |
| } | |
| COPYWRITING_FRAMEWORKS = { | |
| "PAS": "Problem-Agitate-Solve: Identify a pain point, make it felt, then present your product as the cure.", | |
| "AIDA": "Attention-Interest-Desire-Action: Grab the eye, build curiosity, trigger a want, then demand the click.", | |
| "QUEST": "Qualify-Understand-Educate-Stimulate-Transition: Vet the reader, show you get them, teach a lesson, excite them, move to close." | |
| } | |
| def get_platform_rules(platform: str) -> str: | |
| """Returns character limits and prohibited content rules.""" | |
| return PLATFORM_RULES.get(platform.upper(), f"Platform '{platform}' rules not found.") | |
| def list_copywriting_frameworks() -> dict: | |
| """Returns common ad copywriting frameworks.""" | |
| return COPYWRITING_FRAMEWORKS | |
| def get_hook_library(style: str = "Benefit") -> list: | |
| """Returns high-converting ad hook ideas.""" | |
| hooks = { | |
| "Benefit": ["The only tool you need to...", "How to achieve [Result] in 10 minutes.", "Stop wasting time on..."], | |
| "Curiosity": ["The secret to [Result] is finally out.", "Why 90% of people fail at...", "You won't believe what happened when we..."], | |
| "Urgency": ["Only 24 hours left to...", "Stop losing money on...", "Don't miss out on..."] | |
| } | |
| return hooks.get(style, hooks["Benefit"]) | |
Xet Storage Details
- Size:
- 1.68 kB
- Xet hash:
- c6e143641269fab2f93cf1dbb92237072287e59d0ff093132fb29ffa139c72ee
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.