facebook / facebook-java-business-sdk

Java SDK for Meta Marketing APIs
https://developers.facebook.com/docs/business-sdk
Other
402 stars 332 forks source link

Missing `targeting_automation` field in Targeting #451

Closed fanpucheng closed 8 months ago

fanpucheng commented 9 months ago

Which SDK version are you using?

v19.0.0

What's the issue?

The ariticle published on facebook developer blog metained that Advantage+ audience API has been introduced (https://developers.facebook.com/blog/post/2024/01/23/introducing-facebook-graph-and-marketing-api-v19/).

image

But I cannot find the way how to set targeting_automation field using v19.0.0 sdk Targeting Object. I tried to set this field using json string, and I got an error like this:

{
  "error": {
    "message": "(#100) Unsupported targeting option: targeting_automation",
    "type": "OAuthException",
    "code": 100,
    "fbtrace_id": "AsHzy7rAC0eiVhPt05U2KnF"
  }
}
stcheng commented 9 months ago

thanks for reporting. we will have this addressed very soon.

mkrul commented 9 months ago

@stcheng seeing the same issue on our rails app. Any updates on this?