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

AdCreatives Endpoint is incorrect #643

Open
MarthinusBosman opened this issue Jul 12, 2023 · 1 comment
Open

AdCreatives Endpoint is incorrect #643

MarthinusBosman opened this issue Jul 12, 2023 · 1 comment

Comments

@MarthinusBosman
Copy link

All endpoints in to api.call point to "/" in ./facebook_business/adobjects/adcreative.py, when it should be "adcreatives". This causes any api_get or api.call functions to return a (#100) Tried accessing nonexisting field (field) on node type (Ad) error when fields are added.

@sjara11
Copy link

sjara11 commented Sep 20, 2023

@MarthinusBosman I checked your issue and I think that the behavior you described is not wrong. That's how it should be because the Cursor (class) gets the correct endpoint name through target_objects_class. in this case, the AdCreatives (class) with the method get_endpoint => adcreatives.

Let me know if this helps you.

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