facebook / facebook-python-business-sdk

Python SDK for Meta Marketing APIs
https://developers.facebook.com/docs/business-sdk
Other
1.27k stars 629 forks source link

Any function to get Call to Action options? #673

Closed usama-hameed closed 2 weeks ago

usama-hameed commented 2 weeks ago

Hello,

When creating ads we have different Call to action depending on the type of media uploded, videos and Images have different CTAs. My question is there any function in the sdk which return me the CTAs on the basis of media? I don't want to hardcord the values and let's say if meta at somepoint add new CTA for image, I want to autamitaclly update my webapp with new values rather then doing it manually in code everytime.

Is there a way to achieve it?