Skip to main content

Scenario

Your top-performing ad campaigns reveal what messaging resonates with your audience, but that intelligence stays siloed in Ads Manager. This job pulls the highest-CTR campaigns, extracts winning themes and copy patterns, establishes a Brand Voice from ad copy, then generates long-form content (blog posts, social posts) that extends those proven themes across channels.

Architecture

Code

Example Output

Error Handling

Meta returns ctr as a string like "2.345". Always parse with float() / parseFloat() before comparing.
Use level=campaign param. Without it, you get ad-account-level aggregates which won’t have campaign_id.
Under 5 copy samples produces a generic voice. The code caps at 15 samples from top campaigns — aim for 8+ distinct pieces.

All Meta Ads Jobs

Browse all Meta Ads integration jobs

Brand Voices

Full guide to creating and managing Brand Voices