Ads setup for custom tracking

Configuring Ad custom tracking

It is necessary to add within the Ad, inside the Tracking section, in the URL Parameters field the following information:

ref=ctref-campaignName-campaignContent-campaignKeyword

Or said differently:

ref=ctref-adCampaign-adSetName-adName

Ej: ref=ctref-clicktomessenger-proyecto-ad1

Configuring the Ad type

It is up to the user to choose how to show the Ad within Facebook

Configuring the Messenger button within the Ad

In the section Create Ad, inside Destination you'll have to select Messenger Setup and the the option for JSON using one of the below templates to customize the start experience:

Example Ad with an image, text and button

{
  "message": {
    "attachment": {
      "type": "template",
      "payload": {
        "template_type": "generic",
        "elements": [{
          "title": "Conseguí hasta $2.000 en 30 minutos",
          "image_url": "https://s3.amazonaws.com/mobile-tonic.com/images/demo.gif",
          "buttons": [{
            "type": "postback",
            "title": "Comenzar",
            "payload": "payload"
          }]
        }]
      }
    }
  }
}

Example Ad with text and button

{
  "message": {
    "attachment": {
      "type": "template",
      "payload": {
        "template_type": "generic",
        "elements": [{
          "title": "Conseguí hasta $2.000 en 30 minutos",
          "buttons": [{
            "type": "postback",
            "title": "Comenzar",
            "payload": "payload"
          }]
        }]
      }
    }
  }
}

Example Ad with text and quick reply button

{
  "message": {
    "text": "Conseguí hasta $2.000 en 30 minutos",
    "quick_replies": [{
      "content_type": "text",
      "title": "Comenzar",
      "payload": "payload"
    }]
  }
}

Example Ad with just text

{
  "message": {
    "text": "Conseguí hasta $2.000 en 30 minutos"
  }
}