Create a new Pixel
A Facebook pixel is a small piece of JavaScript code that an advertiser places on every page of their website. This piece of code provides a set of lightweight functionalities for sending user-specific events and event-specific custom data to Facebook. Advertisers can use the Facebook pixel to capture intent information about how people are using their website. A single Facebook pixel is added to all pages of a website, and is then used to create website custom audiences
POST
https://us-central1-appgregator.cloudfunctions.net/facebook/adpixel/
Query Parameters
Name
Type
Description
name*
String
ft-4
connection_name*
String
fbads-01
adaccount_id*
String
act_1217648562383717
Headers
Name
Type
Description
x-api-key*
String
U2Fsd...
{
"id": "814765166375068"
}
curl --location --request POST 'https://us-central1-appgregator.cloudfunctions.net/facebook/adpixel?name=ft-4&connection_name=fbads-01&adaccount_id=act_1217648562383717' \
--header 'x-api-key: U2Fsd...' \
--header 'Content-Type: application/json' \
--data-raw '{
"name" : "WCA Pixel-1",
"app_id" : "600957674560496",
"app_secret" : "7459f5c27e9a0482cf62879ba5723fbd"
}'
Last updated