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
I got my first $159 in sales after realizing I was building in silence User Avatar 53 comments Three Days Before Launch, I Let My Own Tool Tear Me Apart User Avatar 37 comments I thought I was building a news visualization tool. Users thought it was a catch-up tool. User Avatar 32 comments I got tired of rewriting the same content for 9 different platforms. So I built Repostify. User Avatar 30 comments A pattern I keep seeing in EdTech: traffic isn't usually the problem. User Avatar 23 comments I Rejected a $15K Acquisition Offer for My Multi-Agent IDE — Here's the Full Breakdown User Avatar 19 comments