I am trying to create a Facebook ad using Facebook Marketing Api.
When I try to ad a call to action button to ad Creative I get an error stating:
(
[code] => 100
[error_subcode] =>
[message] => (#100) No permission to access call_to_action
[error_user_title] =>
[error_user_msg] =>
[error_blame_field_specs] =>
[type] => OAuthException
)
The same error is produced when using graph api
Any help?
I was able to find a way around this problem by using link data, check this
https://www.facebook.com/groups/pmdcommunity/permalink/1291740050878460/
here is relevant code which can be used
obtained from here : https://developers.facebook.com/docs/marketing-api/reference/ad-creative-link-data/?hc_location=ufi