By the end of this guide you’ll have knowledge of the following:
What standard events you need to be tracking to initiate dynamic ads.
The required parameters for those events that must be in place
Required FB Events for DPAs
In order to run DPA’s on Facebook, there are 3 standard events which you must be reporting - View Content, Add to Cart and Purchase.
Below there is a table outlining Facebook’s recommendations for which customer actions should be assigned to these events as well as additional events across the funnel.
You also need to include a parameter object with specific object properties for each of the 3 standard events, these can also be found in the table below with further detail on the object properties following that.
Required Object Properties
content_ids:
This is the catalogue product id. In most cases you should use either the event id or market id - please ask a member of the CS team what you should be using.
Values can be single ID’s or an array.
content_type:
Literal string product
Value should be set to either ‘product’ or ‘product_group’.
If you’re tracking events correlating with individual products set value to product.
If tracking events relating to product groups, set it to product_group instead.
currency
3-letter ISO currency code
value
Numeric value of conversion (bet) amount
FACEBOOK MOBILE SDK EVENTS (iOS/Android)
In order to run App Dynamic Ads, the same three events and parameters that have been detailed for the Pixel also need to be added to your App via your preferred App Event SDK. Which SDK you use depends if you are using a Mobile Measurement Partner (e.g. AppsFlyer, Adjust, Kochava) to track your events. If you are not using a Mobile Measurement Partner, you can implement App Events via Facebook Mobile SDK.
If you currently have Hybrid Applications (HTML 5 and Web Views) there are also ways to convert Pixel events into App Events via the Facebook SDK (Hybrid Mobile App Events).
These are detailed again below:
Best Practices:
Create your products and product sets in the catalogues as soon as possible (aim for at least 3 days ahead of the event).
Always have ‘in stock’ items that have existed for at least 3 days.
Have fewer than 200 products available per product set.
References
Facebook Pixel Reference: https://developers.facebook.com/docs/facebook-pixel/reference/
Facebook Implementation - Pixel - Dynamic Ads: https://developers.facebook.com/docs/facebook-pixel/implementation/dynamic-ads
Facebook App Events: https://developers.facebook.com/docs/app-events/
General - Required Facebook SDK app events for dynamic ads: https://www.facebook.com/business/help/892811264497819
Facebook Dynamic Ads for Mobile - Developer Docs: https://developers.facebook.com/docs/marketing-api/dynamic-product-ads/mobile-app-events/



