When you create destination ads, use these template tags in the ad creative and deep-link URLs. When Facebook displays your ad, we replace the template tags with that person's travel selections.
You should provide template tags in double curly brackets: {{....}}
Before using template tags, make sure you provide all required details through your Destination Events.
For example, the title of your ad could be:
Book your travel to
{{destination.city}}
today!
And the template URL of your ad could deep link people straight to the destination page they were interested in, with the right travel dates:
https://www.(...).com/destinations?id={{destination.destination_id}}&start={{trip.travel_start date_format:Y-m-d}}&end={{trip.travel_end date_format:Y-m-d}}
Dynamic dates for template tags enable you to continuously update the dates that appear in your ad, without having to re-upload the data in feed. You can use these for Advantage+ catalog ads used in a particular vertical, such as for hotels, flights, destinations, automotive and so on.
Template tag | Description |
---|---|
| The ISO-4217 currency code (for example, "USD") passed by the advertiser in dynamic events (for example, pixel events) using the key currency. If no currency code has been passed for an item, we show the product's feed's default currency. |
| The trip start date that Facebook has collected for the user from the advertiser. If there was no trip start date collected, this template tag will default to tomorrow. We support most of the date formats provided here. Example:
|
| The trip end date that Facebook has collected for the user from the advertiser. If there was no trip end date collected, this template tag will default to the day after tomorrow. We support most of the date formats provided here. Example:
|
| Number of adult travelers, based on intent signals Facebook collects about the user. Currently defaults to 1, subject to change. |
| Number of children travelers, based on intent signals Facebook collects about the user. Currently defaults to 0, subject to change. |
| Sum of adult and children travelers, based on intent signals Facebook collects about the user. Currently defaults to 1, subject to change. |
| Destination name provided in catalog. |
| Destination description provided in catalog. |
| City provided in catalog. |
| Country provided in catalog. |
| Destination URL provided in catalog. |
| ID of the destination provided by advertiser in catalog. |
| Price of the destination provided in catalog. |