metaAds.onObjectUpdated starts for OBJECT_UPDATED events from a configured ad-account subscription.
automations/meta-ads-on-object-updated.automation.ts
metaAds.createSubscription. Optional account selects a static project account binding.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Starts for OBJECT_UPDATED events from a configured ad-account subscription.
metaAds.onObjectUpdated starts for OBJECT_UPDATED events from a configured ad-account subscription.
import { automation } from "automate.ax"
import { metaAds } from "automate.ax/meta-ads"
export default automation("On object updated", () => {
const event = metaAds.onObjectUpdated({ adAccountId: "123456789" })
metaAds.getAdAccount({ adAccountId: event.accountId })
})
metaAds.createSubscription. Optional account selects a static project account binding.