title: Accept lead generation TOS for a page using Facebook API
body: <p>We are able to create Facebook leads ads using Marketing API.
  But for some pages who has not accepted lead generation TOS, the following error is displayed.</p>
  <p><em>&quot;You can't run lead ads until your Facebook Page accepts Facebook's Lead Generation Terms of Service&quot;</em></p>
  <p>The URL below is used to review and accept the TOS manually,
  <a href="https://www.facebook.com/ads/leadgen/tos" rel="nofollow noreferrer">https://www.facebook.com/ads/leadgen/tos</a></p>
  <p>Is there any way to accept lead generation TOS for a page using Facebook API?</p>
  <p>Kindly help.</p>