Automate Meta Ads with TypeScript
Manage campaign delivery, creative, audiences, leads, conversions, and insights. Trigger automations from ad-account changes and new Lead Ads submissions.
import { automation } from "automate.ax"
import { metaAds } from "automate.ax/meta-ads"
export default automation("Inspect Meta delivery", () => {
const change = metaAds.onCampaignEffectiveStatusChanged({
adAccountId: "123456789",
})
metaAds.getCampaign({ id: change.value.objectId })
})What you can do
Actions
- Manage campaigns, ad sets, ads, and creative
- Build custom audiences and send conversions
- Read insights, accounts, pixels, forms, and leads
- Manage filtered ad-account event subscriptions
Triggers
- Campaign, ad-set, and ad status changes
- Object, insights, recommendation, and issue events
- Creative fatigue and processing completion
- New Lead Ads submissions