Create Collection Ads using local image/Ad Image (not from an image uploaded to the page)
1

I am trying to create a CPAS Ads using Marketing API, having successfully created the campaign and Ad Set with my preferred settings.

Referring to this documentation : https://developers.facebook.com/docs/marketing-api/guides/collection#creating-ads ; In order to create a collection Ad, it seems like i need to create a Instant Experience (canvas) consisting of Image, Product set, and a Footer.

The issue that i'm having is creating the image, from this reference (https://developers.facebook.com/docs/graph-api/reference/canvas-photo/) seems like it's only possible to create the image using a photo_id, that could only retrieved from a photo uploaded on the page.

Is it possible to use an image uploaded from my local machine? As it is possible in the interface.

i tried to use image hash generated from adimages endpoint to create a canvas_photo, but it doesn't work.

Anybody got a solution for this?

Kemal
Asked about a week ago