Handover Protocol on Click to Messenger Ads

Click to Messenger Ad support Hand Over Protocol. This easily allows advertisers to select the app that's prepared to handle a particular ad.

The use case for this feature is when a Pages messaging is set with one Primary app, let's say the customer support app. The business then wants to run a particular campaign and for it they have a second app that is coded to handle the automation for the flow that the ad refers to. By indicating the app as part of the ad definition, the system will assign the mentioned app as the thread owner when the customer clicks on the ad.

Creating an ad with and app

For this example shows the creation of and Ad that clicks to Messenger using Ads Manager. For this types of ads you can define the content that will be first sent to Messenger to engage with the user and additionally we are setting the preference to make app id 263902037430900 the thread owner for the thread so this app is in control when the user sends a message or clicks on any of the click-to-action buttons.

Example json

{
  "receiving_app_id": 263902037430900,
  "message": {
      "attachment": {
          "type": "template",
          "payload": {
              "template_type": "generic",
              "elements": [
                  {
                      "title": "Fall Collection",
                      "image_url": "https://url-image.com",
                      "subtitle": "20% Off on everything",
                      "buttons": [
                          {
                              "type": "postback",
                              "title": "Redeem Offer",
                              "payload": "USER_DEFINED_PAYLOAD"
                          }
                      ]
                  }
              ]
          }
      },
      "quick_replies": [
          {
              "content_type": "text",
              "title": "Other Deals",
              "payload": "other_deals_payload"
          },
          {
              "content_type": "text",
              "title": "Learn More",
              "payload": "learn_more_payload"
          }
      ]
  }
}