facebook.ads Plugin

Export Lytics audiences to Facebook Ads

facebook.ads plugin

The Facebook Ads plugin is for exporting Lytics audiences to Facebook Ads.

Facebook Ads
namespace facebook.ads
audience push
disabled by default

Configuration

facebook: {
  ads: {
    audiencePush: {
      disabled: true,
      eventName: "Lytics Audiences"
    }
  }
}

facebook.ads.audiencePush.disabled

  • Type boolean
  • Optional
  • Defaults to true

Set disabled to false to enable this plugin.

facebook.ads.audiencePush.eventName

  • Type string
  • Optional
  • Defaults to "Lytics Audiences"

The name of the event to send into Facebook.

Learn more about configuration

Mechanism

This plugin works by integrating with the Facebook JavaScript SDK. It loads audiences from Lytics and transmits them to Facebook.

Events

EventFires whenPayload
facebook.ads.audiencePush.doneafter transmitting the audiences to the Facebook SDKA hash of segments

Learn more about events