https://linen.dev logo
METAADS_CREATE_AD routing and creative serializati...
# 🖥│support-forum
d
Hey guys, running into an issue with
METAADS_CREATE_AD
and wanted to check if this is expected or a bug. I am passing a valid payload with: * ad_set_id * page_id * image_url From the behavior and logs, it looks like: 1. The request is being sent to: POST /{ad_set_id}/ads Instead of: POST /act_{ad_account_id}/ads (as per Meta docs) 2. The creative is being transformed so that image_url ends up inside object_story_spec.link_data Meta rejects this with: "image_url is not supported in link_data" From Meta docs, it seems: * adset_id should stay in the body, not be used as the endpoint * ads should be created under the ad account * I already have a valid creative_id, but METAADS_CREATE_AD does not seem to support passing that directly and instead rebuilds the creative Because of this, ad creation is failing consistently. Is this expected behavior from the tool, or is this a bug in how the request is being constructed? Happy to share full logs if helpful 🙏
t
m
I'm seeing the same issue @User
u
Hey @m4044, @Dough_Nut, this is a know issue and we'll be working on a fix for the same. I'll keep you updated. Thanks for flagging this!
d
Thanks alot @Uday 🙌
Hey @Uday any updates on this issue?
u
Hey, we are in process of getting production ready OAuth app to test and fix. We'll keep you updated!
d
Okay thanks alot
m
@Uday Just to clarify the issue isn't necessarily with OAuth; It's with how ads are formatted on the Meta API via composio's connector. Is the change in production only for OAuth or does it include the fix for the issue mentioned above?
d
@Uday Any updates on the issue?
Hi @Uday , we’ve been facing a significant bottleneck in our development workflow for nearly two weeks due to this bug. Could you provide a definitive timeline for when a patch might be released?
m
@Uday any updates on this?
@Uday ??
u
Hey @Dough_Nut, @m4044, sorry for the drag but we are in process of getting permissions for our OAuth app. Let me get latest updates and ETA for the same. Thanks for understanding 🙂
m
Not sure I understand the above message. Permission from Meta or internally at Composio? @Uday
u
Hi @m4044, to use the METAADS_CREATE_AD tool, we need our Meta Ads OAuth app to be in published/live mode, whereas our OAuth app is currently in development mode. To do a proper fix and QA, we need the OAuth app in published/live mode.
Hi guys, we've fixed the issue with the fields and it should work as expected now. Could you try and lmk if you face any issues? Thanks!
m
Will try and get back to you