facebook / facebook-ruby-business-sdk

Ruby SDK for Meta Marketing API
https://developers.facebook.com/docs/business-sdk
Other
210 stars 159 forks source link

Unsupported targeting option: targeting_automation #209

Closed mkrul closed 9 months ago

mkrul commented 9 months ago

Which SDK version are you using?

v19.0

What's the issue?

We have updated our facebook specs to opt-out of advantage audiences in accordance with the documentation:

targeting:
  targeting_automation:
    advantage_audience: 0

This is causing a 400 error to be raised:

Koala::Facebook::ClientError:
       type: OAuthException, 
       code: 100, 
       message: (#100) Unsupported targeting option: targeting_automation, x-fb-trace-id: AXCkFH06WAb [HTTP 400]

This appears to be a known bug that is also impacting the facebook-java-business-sdk.

mkrul commented 9 months ago

This appears to have been resolved. Closing this issue.