redhotlabs/zuck — pull request #3 by fffanatics (2014-06-05 00:05:33+00:00)
Title: Account id fixes

The issue here is that we were trying to create Facebook objects with the account_id. This means we were posting to "/123456/adgroup". The API should actually post to "/act_123456/adgroup".

The Zuck::AdAccount.id_for_api() call will only add the act_ prefix if it's not already there. Since we changed the creation flow to happen AFTER the local objects are created, it exposed this issue.