Photo Data is one field within the creative that is used to create photo ads. The Reading section of this document outlines the specific fields within Photo Data. While you cannot create a Photo Data object on its own, you would nest the call within an ad creative creation call.
Note - image_crops is supported with link_data but not with photo_data. This is because Facebook typically renders images from photo posts in full. Facebook also automatically crops based on algoritms designed to improve feed experience. If this is not sufficient, crop your image using image editing software or use link posts.
Create a Photo Ad with utilizing branded content from another page
The specification for a photo ad
| Field | Description |
|---|---|
branded_content_shared_to_sponsor_statusstring | The branded content shared to sponsor option |
branded_content_sponsor_page_idnumeric string | The branded content sponsor page ID. If your ad promotes branded content, you must use this to indicate the sponsor page. See policy. Your sponsor will be notified and can create an ad using your post. Your sponsor can also see metrics about your ad, including total spend and CPM metrics |
branded_content_sponsor_relationshipstring | The branded content sponsor relationship option |
captionstring | The description of the image |
image_hashstring | Hash of an image in your image library with Facebook. Specify this field or |
page_welcome_messagestring | A welcome text from page to user on Messenger once a user performs send message action on an ad |
urlstring | URL of an image to use in the ad. Specify this field or |