Title: Deprecated Ads API Call error
Last modified: August 3, 2020

---

# Deprecated Ads API Call error

 *  [JST](https://wordpress.org/support/users/jstav/)
 * (@jstav)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/deprecated-ads-api-call-error/)
 * getting a server side php error, referring to an Ads API deprecated call.
 * `AH01071: Got error 'PHP message: FacebookAds\\Http\\Exception\\AuthorizationException:(#
   2635) You are calling a deprecated version of the Ads API. Please update to the
   latest version: v7.0. in /wp-content/plugins/official-facebook-pixel/vendor/facebook/
   php-business-sdk/src/FacebookAds/Http/Exception/RequestException.php:165\nStack
   trace:\n#0 /wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-
   sdk/src/FacebookAds/Http/Client.php(215): FacebookAds\\Http\\Exception\\RequestException::
   create(Object(FacebookAds\\Http\\Response))\n#1 /wp-content/plugins/official-
   facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Http/Request.
   php(286): FacebookAds\\Http\\Client->sendRequest(Object(FacebookAds\\Http\\Request))\
   n#2 /wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-
   sdk/src/FacebookAds/Api.php(165): FacebookAds\\Http\\Reque...', referer: https://
   example.com/wp-admin/admin-post.php`

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [coccoinomane](https://wordpress.org/support/users/coccoinomane/)
 * (@coccoinomane)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/deprecated-ads-api-call-error/#post-13714516)
 * Any news on this bug? It is spamming my website debug.log.
    Thanks, Guido
 *  Thread Starter [JST](https://wordpress.org/support/users/jstav/)
 * (@jstav)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/deprecated-ads-api-call-error/#post-13714730)
 * yup, it’s a joke. their OWN plugin, with official WooCommerce support – is calling
   deprecated functions that may soon turn into critical errors.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Deprecated Ads API Call error’ is closed to new replies.

 * ![](https://ps.w.org/official-facebook-pixel/assets/icon.svg?rev=3158868)
 * [Meta pixel for WordPress](https://wordpress.org/plugins/official-facebook-pixel/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/official-facebook-pixel/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/official-facebook-pixel/)
 * [Active Topics](https://wordpress.org/support/plugin/official-facebook-pixel/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/official-facebook-pixel/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/official-facebook-pixel/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [JST](https://wordpress.org/support/users/jstav/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/deprecated-ads-api-call-error/#post-13714730)
 * Status: not resolved