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
Your SaaS Isn’t Failing — Your Copy Is. User Avatar 61 comments Build AI Agents & SaaS Apps Visually : Powered by Simplita ai User Avatar 27 comments The Future of Automation: Why Agents + Frontend Matter More Than Workflow Automation User Avatar 23 comments No Install, No Cost, Just Code User Avatar 20 comments AI Turned My $0 Idea into $10K/Month in 45 Days – No Code, Just This One Trick User Avatar 14 comments 15 Years of Designmodo User Avatar 13 comments