Skip to content
New issue

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

API/Function through which I can get the Call to Actions Options #674

Open
usama-hameed opened this issue Jun 20, 2024 · 2 comments
Open

Comments

@usama-hameed
Copy link

Is there any API/Function through which I can get the Call to Actions availible for every objectives. I want to pass the name of the objectives and it return me all the Call to action options available rather then hardcord these values.

@Just1B
Copy link

Just1B commented Jun 20, 2024

Hi Usama:

I think you can find the enum in the adobjects :

EX : https://github.com/facebook/facebook-python-business-sdk/blob/main/facebook_business/adobjects/adcreative.py#L103

@usama-hameed
Copy link
Author

Hi Justin,

Thanks for your reply, Yeah I alreday know about this enum but if I am not wrong it will return me all the Call to action options. CTAs depend on the Objectives. For example if objectives is awarenes options for Call to actions will be differne and differnet from traffic. What I want is that I can get the CTA options on the basis of objectives not all CTA options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants