We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://rubygems.org/gems/facebookbusiness/versions/20.0.0 facebookbusiness (20.0.0)
flexible_spec already set correctly, but when update adset targeting. result is incorrect.
targeting = {"flexible_spec": [ { "interests": [ { "id": "6003230008188" }, { "id": "6003489346995" } ], "education_schools": [ { "id": "687589164666184" } ], "work_employers": [ { "id": "687589164666184" } ] } ] }
result from facebook native "targeting": {"flexible_spec": [ { "education_schools": [ { "id": "687589164666184", "name": "MasterClass" } ] }, { "interests": [ { "id": "6003230008188", "name": "Master of Business Administration (higher education)" } ] }, { "interests": [ { "id": "6003489346995", "name": "Master class" } ] }, { "work_employers": [ { "id": "687589164666184", "name": "MasterClass" } ] } ] }
result should be :
"targeting": {"flexible_spec": [ { "interests": [ { "id": "6003230008188", "name": "Master of Business Administration (higher education)" }, { "id": "6003489346995", "name": "Master class" } ], "education_schools": [ { "id": "687589164666184", "name": "MasterClass" } ], "work_employers": [ { "id": "687589164666184", "name": "MasterClass" } ] } ] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Which SDK version are you using?
https://rubygems.org/gems/facebookbusiness/versions/20.0.0
facebookbusiness (20.0.0)
What's the issue?
flexible_spec already set correctly, but when update adset targeting. result is incorrect.
Steps/Sample code to reproduce the issue
targeting = {"flexible_spec": [
{
"interests": [
{
"id": "6003230008188"
},
{
"id": "6003489346995"
}
],
"education_schools": [
{
"id": "687589164666184"
}
],
"work_employers": [
{
"id": "687589164666184"
}
]
}
]
}
Observed Results:
result from facebook native
"targeting": {"flexible_spec": [
{
"education_schools": [
{
"id": "687589164666184",
"name": "MasterClass"
}
]
},
{
"interests": [
{
"id": "6003230008188",
"name": "Master of Business Administration (higher education)"
}
]
},
{
"interests": [
{
"id": "6003489346995",
"name": "Master class"
}
]
},
{
"work_employers": [
{
"id": "687589164666184",
"name": "MasterClass"
}
]
}
]
}
Expected Results:
result should be :
"targeting": {"flexible_spec": [
{
"interests": [
{
"id": "6003230008188",
"name": "Master of Business Administration (higher education)"
},
{
"id": "6003489346995",
"name": "Master class"
}
],
"education_schools": [
{
"id": "687589164666184",
"name": "MasterClass"
}
],
"work_employers": [
{
"id": "687589164666184",
"name": "MasterClass"
}
]
}
]
}
The text was updated successfully, but these errors were encountered: