title: How to create a custom audience using facebook api and sandbox ad account?
body: <p>I am trying to create a custom audience using sandbox ad account. Following request:</p>
  
  <pre><code>curl \
   -F 'name=My new CA' \
   -F 'subtype=CUSTOM' \
   -F 'description=People who bought from my website' \
   -F 'access_token=&lt;&lt;my_token&gt;&gt;' \
   https://graph.facebook.com/v2.8/act_&lt;&lt;my_account_id&gt;&gt;/customaudiences
  </code></pre>
  
  <p>fails with:</p>
  
  <pre><code>{
    "error": {
      "message": "(#2655) Terms of service has not been accepted. To accept, go to https://www.facebook.com/ads/manage/customaudiences/tos.php?act=&lt;&lt;my_account_id&gt;&gt;",
      "type": "OAuthException",
      "code": 2655
    }
  }
  </code></pre>
  
  <p>But the link with Terms of service page is invalid. Moreover, I cannot accept ToS using Ads Manager, because only non sandbox account are available there.</p>