Data Destination - Facebook Conversions API
  • 07 Dec 2022
  • Dark
    Light
  • PDF

Data Destination - Facebook Conversions API

  • Dark
    Light
  • PDF

Article Summary

Note

This is a machine-translated version of the original Japanese article.
Please understand that some of the information contained on this page may be inaccurate.

summary

  • This is the help page for setting up data transfer to the Facebook Conversions API.
  • You can extract data from any source and send it to the Conversions API.
    To match the Facebook Conversions API format, you need to map column names and types in trocco.

Transfer destination setting items

Iteminput exampleexplanation
Facebook connection information
Select the connection information you created in the access token.
Business Account ID111111111(trocco)You can get your business account ID from the page linked below.
Link:https://business.facebook.com/settings/info
image.png
Pixel ID242300000000(trocco)Enter the Pixel ID that corresponds to your Facebook Business Events Manager.
image.png

Column Mapping

You can send data to the Facebook Conversion API by mapping column names and types in the column definition in STEP2 of trocco.
Match the column names and types as shown in the table in the "Supplements" section below.
All of the following parameters in the Conversions API documentation are available (*except for data_processing_options):
https://developers.facebook.com/docs/marketing-api/conversions-api/parameters

Create a Facebook pixel

Add a new data source from Facebook Business Manager.

Checking the Transfer Results

Check the results of your event in Facebook Events Manager.
Even if the transfer is successful, the event may be played by Facebook's processing in cases such as missing parameters.
Make sure the numbers match.
image.png

supplement

Column mapping table

column nametyperequired
descriptioninputexamplecategory
action_sourcestringYESSource of conversion origin
Enterable fields
・Email
・Website
・APP
・phone_call
・Chat
・physical_store
・system_generated
・Other
website
event_namestringYESEnterable fields
・Purchase
・Lead
・AddToCart
etc

https://developers.facebook.com/docs/facebook-pixel/reference#standard-events
Conform to
Lead
event_timetimestampYESEvent occurrence time
Please enter a value that is 7 days before the trocco transfer execution date and time.
2020-01-01 00:00:00 +00:00
emstringYES※Emailtrocco@trocco.iouser_data
phstringYES※Phone080-0000-0000user_data
gestringYES※Genderfuser_data
.dbstringYES※Date of Birth19971226user_data
lnstringYES※Last NameTroccouser_data
fnstringYES※First NameTarouser_data
ctstringYES※CityTokyouser_data
ststringYES※StateMeguro-kuuser_data
zpstringYES※Zip1234567user_data
countrystringYES※Countryjpuser_data
external_idstringYES※External ID
user_data
client_ip_addressstringYES※Client IP address
user_data
client_user_agentstringYES※Client user agent
user_data
fbcstringYES※Click ID
user_data
fbpstringYES※Browser ID
user_data
subscription_idstringYES※Subscription ID
user_data
lead_idstringYES※Lead ID
user_data
fb_login_idstringYES※FB Login ID
user_data
custom_datajsonNOYou can pass custom data in JSON format.
The items that can be set are as follows.
https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/custom-data


event_source_urlstringRequired if the action_source is a website


opt_outbooleanNO


event_idstringNO


* At least one column of the user_data is required.

* Among the combinations of column mapping tables, if they contain only parameters consisting of one of the following or a subset of them, it is considered invalid.

  • ct + country + st + zp + ge + client_user_agent
  • db + client_user_agent
  • fn + ge
  • ln + ge

Was this article helpful?