title: How to set the tracking_specs when creating Facebook ads?
body: <p>I am trying to create an ad using the Facebook Marketing API. In order to create an ad inside a conversion based campaign, I am required to set proper <code>tracking_specs</code> values.</p>
  
  <p>Querying existing ads (on other similar campaigns) I see the tracking spec is generally defined as follows:</p>
  
  <pre><code>"tracking_specs": [
      {
          "action.type": ["offsite_conversion"],
          "fb_pixel": [&lt;pixel ID&gt;]
      },
      {
          "action.type": ["post_engagement"],
          "page": [&lt;page ID&gt;],
          "post": [&lt;post ID&gt;]
      },
      {
          "action.type": ["link_click"],
          "post": [&lt;post ID&gt;],
          "post.wall": [&lt;post.wall ID&gt;]
      } 
  ]
  </code></pre>
  
  <p>How do I find the required <code>tracking_specs</code> values? More specifically, how do I find the <code>post</code> ID and the <code>post.wall</code> ID accordingly for <code>post_engagement</code> and <code>link_click</code> action types?</p>