1
0 Comments

Any FB Marketing API experts?

I am working on a web application that programmatically creates Facebook campaigns on behalf of a users business.

I am following the Facebook Marketing API - Get Started documentation to launch a campaign.

However, when I get to Step 4 of the process I am unable to create an AdImage object. This doesn’t allow me to finish the process of creating the entire campaign.

I am getting an error 100 and error sub-code 33 with the message: “Unsupported post request. Object with ID ‘act_xxxxxxxx’ does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at Graph API - Documentation - Facebook for Developers” and the Type: “GraphMethodException”.

However, this is the same ad account ID I am using to create the campaign and the ad set successfully in previous steps so I’m not sure why it’s saying it doesn’t exist?

The permissions I am requesting for my app are: Email, Page_show_list, ads_management, ads_read, business_management.

and my POST call looks like this:

https://graph.facebook.com/v10.0/act_xxxxxx/adimages?filename=https://s3.amazonaws.com/appforest_uf/f1615213254535x326516476089562240/pexels-canva-studio-3153198.jpg&acess_token=xxxxxxxxxxxxx

Any suggestions? Happy to provide more details if needed.

posted to Icon for group Developers
Developers
on March 10, 2021
Trending on Indie Hackers
6 weeks solo, 2 rejections, finally live but nobody told me marketing would be this hard User Avatar 135 comments Building ExpenseSpy solo, no funding — launching June 17 on iOS & Android User Avatar 56 comments I spent more time setting up cold email than actually selling. Here is what fixed it. User Avatar 26 comments I just wanted to taste AI coding tools. A week passed. User Avatar 20 comments Building LinkCover – Day 3: Payment is live. No more building, time to sell. User Avatar 15 comments I built a PDF API because every team I know has a haunted corner of their codebase they never want to open User Avatar 12 comments