How ad networks are structured
PNLight uses three levels for paid acquisition setup:- Network: a provider such as Facebook or a custom traffic source.
- Account: a connected Facebook ad account or a custom account inside that network.
- Campaign: a synced or manual campaign that appears under the selected network or account.
Before you start
For a Facebook connection, prepare access in Meta before you add the account in PNLight.- You need admin access to the Meta business portfolio that owns the ad account.
- You need access to the ad account that runs the campaigns.
- You need a Meta dataset or pixel if you want PNLight to send events through Meta Conversions API.
- You need an app link or landing URL for click redirects.
Connect a Facebook account
Open Networks
Connect Facebook
Enter Marketing API settings
Enter Conversions API settings
Set the default redirect URL
Create the account
Get the Facebook credentials
You need a Facebook ad account ID and a Marketing API access token to connect a Facebook account. Add the pixel ID and pixel access token only when you want PNLight to send mapped events to Meta Conversions API.Get the ad account ID
Open Meta Ads Manager
Copy the account ID
Keep the ID format
act_123456789 or 123456789.Get the Marketing API access token
Create a system user token for PNLight. Do not use a short-lived Graph API Explorer token.Open the business portfolio
Create a system user for PNLight
PNLight or another clear service name.Give the system user ad account access
Choose the Meta app
Select Marketing API permissions
ads_management. Select ads_read too if Meta shows it for your app.Copy the token
Get the pixel ID and pixel access token
Use these values only when you want PNLight to send mapped events to Meta Conversions API.Open Events Manager
Copy the pixel ID
Generate the access token
Copy the token
Add a custom network or account
Use a custom setup when the traffic source is not connected through Facebook sync.Create the network
Add aliases
Add an account
Enter account details
Configure network settings
Open a network from the table when you need to manage shared delivery settings. Use the network page to:- Rename the network.
- Update attribution network aliases.
- Define default system event postbacks.
- Define default app event postbacks.
- Map PNLight events to Facebook standard events when you use Facebook Conversions API.
Configure account settings
Open an account when you need account-specific click and delivery settings. Use the account page to:- Set or change the default redirect URL.
- Copy URL for your Ad for Facebook campaign destinations.
- Update Facebook access tokens.
- Update Facebook pixel credentials.
- Turn Send events to Facebook Conversions API on or off.
After setup
- Open Campaigns and sync or review the campaigns for that account.
- Use ad network and ad campaign filters across Analytics, Customers, and Events.
- Keep attribution aliases current when your provider sends a new network label.
- Turn on Conversions API only after the pixel credentials and event mapping are ready.