facebook / facebook-php-business-sdk

PHP SDK for Meta Marketing API
https://developers.facebook.com/docs/business-sdk
Other
818 stars 514 forks source link

FacebookAds\Object\AdAccount::createCampaign() undefined #462

Closed kenarsuleyman closed 5 years ago

kenarsuleyman commented 5 years ago

When i try to use api i get this error. Call to undefined method FacebookAds\Object\AdAccount::createCampaign() I searched whole src directory for "createCampaign" function with notepad++ couldn't find any match. Does this function removed somehow or something is wrong with my composer?

jingping2015 commented 5 years ago

Looks like the function define here : https://github.com/facebook/facebook-php-business-sdk/blob/2673ea6fb41c833d2fda36f6ccab24781a03341e/src/FacebookAds/Object/AdAccount.php#L1351

jingping2015 commented 5 years ago

We've been unable to reproduce this bug, and are unable to investigate further. We are closing the issue for now, if you identify a test case we can use to reproduce your bug feel free to re-open.