You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned under version changelog document for 10.0 that "The location_spec and country parameters will be removed from lookalike audience creation." I have made changes in my application to not pass location_spec and country while creating Lookalike audience. But while testing this functionality I am getting error '(#2654) Missing Locations in Lookalike Spec: The lookalike spec must contain one of location_spec or country field to create a lookalike.'
Steps/Sample code to reproduce the issue
Update to Facebook SDK v10.0.
Create Lookalike audience using endpoint "POST /<ad_account_id>/customaudiences" without setting location_spec and country parameters into the request.
Observed Results:
Error is retuned in the response: '(#2654) Missing Locations in Lookalike Spec: The lookalike spec must contain one of location_spec or country field to create a lookalike.', type='OAuthException', code=2654, error_subcode='1713159'
What happened? This could be a description, log output, etc.
Expected Results:
Lookalike audience should be created without passing location_spec and country parameters with SDK v10.0
What did you expect to happen?
Because Facebook has released SDK v10.0 and it has mentioned to not pass location_spec and country parameters to endpoint "POST /<ad_account_id>/customaudiences", So I should be able to create the Lookalike audience without passing these and without any error.
Please let me know if I am missing something.
The text was updated successfully, but these errors were encountered:
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
Which SDK version are you using?
SDK v10.0
What's the issue?
As mentioned under version changelog document for 10.0 that "The location_spec and country parameters will be removed from lookalike audience creation." I have made changes in my application to not pass location_spec and country while creating Lookalike audience. But while testing this functionality I am getting error '(#2654) Missing Locations in Lookalike Spec: The lookalike spec must contain one of location_spec or country field to create a lookalike.'
Steps/Sample code to reproduce the issue
Update to Facebook SDK v10.0.
Create Lookalike audience using endpoint "POST /<ad_account_id>/customaudiences" without setting location_spec and country parameters into the request.
Observed Results:
Error is retuned in the response: '(#2654) Missing Locations in Lookalike Spec: The lookalike spec must contain one of location_spec or country field to create a lookalike.', type='OAuthException', code=2654, error_subcode='1713159'
Expected Results:
Lookalike audience should be created without passing location_spec and country parameters with SDK v10.0
Because Facebook has released SDK v10.0 and it has mentioned to not pass location_spec and country parameters to endpoint "POST /<ad_account_id>/customaudiences", So I should be able to create the Lookalike audience without passing these and without any error.
Please let me know if I am missing something.
The text was updated successfully, but these errors were encountered: