Custom platform examples
If you want to add a third-party advertising platform to Facebook Attribution that doesn't appear in the list of available platforms, you can add a custom platform. If supported, you can build your own dynamic tags with the tag builder by manually inserting macros into the click and impression tags. If not supported, you'll need to hard code values into the click or impression tags, or create multiple site-served tags, and then install the tags on your platform or send them to your publishers.
Below are some common custom platform types and tag examples:
Dynamic macros only
For platforms that support dynamic macros, you can automatically track all campaigns using macro-enabled dynamic tags. Facebook Attribution provides click and impression tags for you to add to the platform.
Example tag:
https://ad.atdmt.com/c/img;adv=111222333444555;ec=11122233344455;c.a={external_campaign_macro};s.a={external_site_macro};p.a={external_placement_macro};a.a={external_ad_macro};qpb=1;?h=
You'll have the opportunity to create site-served tags after you build the dynamic tags.
Combination of dynamic macros and hard coded values
For platforms that only support some dynamic macros, the unsupported values need to be hard coded, such as campaign and publisher values.
Example tag 1:
https://ad.atdmt.com/c/img;adv=111222333444555;ec=11122233344456;c.a=Campaign1;s.a=Publisher1;p.a={external_placement_macro};a.a={external_ad_macro};qpb=1;?h=
Example tag 2 (same campaign, different publisher):
https://ad.atdmt.com/c/img;adv=111222333444555;ec=11122233344456;c.a=Campaign1;s.a=Publisher2;p.a={external_placement_macro};a.a={external_ad_macro};qpb=1;?h=
Hard coded values for campaign and publisher only
If adding tags at the campaign or publisher level is sufficient (and you don't need to add tags at the placement or ad levels), use the tag builder to create click and impression tags for each campaign you'd like to add tags to. The campaign name will also be hard coded for placement name and ad name.
Example tag:
https://ad.atdmt.com/c/img;adv=111222333444555;ec=11122233344457;c.a=Campaign1;s.a=Publisher1;p.a=Campaign1;a.a=Campaign1;qpb=1;?h=
You'll need to repeat this process for each new campaign and publisher.
Hard coded values for campaign, publisher, placement and ad
If you'd like to add tags at the placement or ad level on platforms that don't support dynamic macros, you'll need to use the bulk import feature. Facebook Attribution provides click and impression tags for each individual ad that you want to add tags to, which you can then send to your publishers to implement on each ad.
Example tag 1:
https://ad.atdmt.com/c/img;adv=111222333444555;ec=11122233344458;c.a=Campaign1;s.a=Publisher1;p.a=Placement1;a.a=Ad1;qpb=1;?h=
Example tag 2 (different placement):
https://ad.atdmt.com/c/img;adv=111222333444555;ec=11122233344458;c.a=Campaign1;s.a=Publisher1;p.a=Placement2;a.a=Ad1;qpb=1;?h>=
Example tag 3 (different publisher and different placement):
https://ad.atdmt.com/c/img;adv=111222333444555;ec=11122233344458;c.a=Campaign1;s.a=Publisher2;p.a=Placement3;a.a=Ad1;qpb=1;?h=
You'll need to repeat this process for each new campaign, site, placement and ad.
Learn more about adding a custom platform to Facebook Attribution.
* Nguồn: Facebook