title: How to filter facebook adaccount campaigns with specfic objective in marketing api?
body: <p>I am building and Facebook ads manager application. I need to filter the campaigns with specific objectives like &quot;Reach&quot; etc.
  I am not able to find any parameter in the Facebook marketing API doc.</p>
  <p><a href="https://developers.facebook.com/docs/marketing-api/reference/ad-account/campaigns/#Reading" rel="nofollow noreferrer">https://developers.facebook.com/docs/marketing-api/reference/ad-account/campaigns/#Reading</a></p>
  <p>This is the reading example from Facebook.</p>
  <pre><code>/* PHP SDK v5.0.0 */
  /* make the API call */
  try {
    // Returns a `Facebook\FacebookResponse` object
    $response = $fb-&gt;get(
      '/act_&lt;AD_ACCOUNT_ID&gt;/campaigns?effective_status=%5B%22ACTIVE%22%2C%22PAUSED%22%5D&amp;fields=name%2Cobjective',
      '{access-token}'
    );
  } catch(Facebook\Exceptions\FacebookResponseException $e) {
    echo 'Graph returned an error: ' . $e-&gt;getMessage();
    exit;
  } catch(Facebook\Exceptions\FacebookSDKException $e) {
    echo 'Facebook SDK returned an error: ' . $e-&gt;getMessage();
    exit;
  }
  $graphNode = $response-&gt;getGraphNode();
  /* handle the result */
  </code></pre>
  <p>is there any parameter that I am missing here? thanks in advance.</p>