facebook/facebook-php-ads-sdk — pull request #38 by cornernote (2014-11-25 22:33:21+00:00)
Title: AdSet::bid_type is required

https://developers.facebook.com/docs/reference/ads-api/adset/v2.2