Ads With Mixed Placements

You can create an ad set with "mixed placement" that runs on Facebook placements and Instagram Stream. All ad creatives used by ads in that set work on both platforms. Provide different image crop specs for the same image, with 100x100 or 191x100 for Instagram, and 100x100 for Facebook. Or you can use different images for Facebook and Instagram.

Instagram ignores the image crop spec 191x100 in ad creative, but only takes it in case you use platform_customizations.

Get Started

Create the ad creative with the image you want to use on Facebook, including Facebook desktop, mobile, audience network, etc. Then provide a different image as the override for Instagram only, using the platform_customizations parameter.

use FacebookAds\Object\AdCreative;
use FacebookAds\Object\AdCreativeLinkData;
use FacebookAds\Object\Fields\AdCreativeLinkDataFields;
use FacebookAds\Object\AdCreativeObjectStorySpec;
use FacebookAds\Object\Fields\AdCreativeObjectStorySpecFields;
use FacebookAds\Object\Fields\AdCreativeFields;

$link_data = new AdCreativeLinkData();
AdCreativeLinkDataFields::MESSAGE => 'Great looking SXT handbags in store. #prettybag',
AdCreativeLinkDataFields::LINK => '',
AdCreativeLinkDataFields::IMAGE_HASH => '<IMAGE_HASH>',
AdCreativeLinkDataFields::CAPTION => '',
AdCreativeLinkDataFields::CALL_TO_ACTION => array(
  'type' => 'LEARN_MORE',
  'value' =>array(
    'link' => '',

$object_story_spec = new AdCreativeObjectStorySpec();
AdCreativeObjectStorySpecFields::PAGE_ID => <PAGE_ID>,
AdCreativeObjectStorySpecFields::INSTAGRAM_ACTOR_ID => <IG_ACCOUNT_FBID>,
AdCreativeObjectStorySpecFields::LINK_DATA => $link_data,

$platform_customizations = array(
  'instagram' => array(
    'image_url' => '', 
    'image_crops' => array(
      '100x100'=> array(array(200,90),array(900,790))

$creative = new AdCreative(null, 'act_<AD_ACCOUNT_ID>');

AdCreativeFields::NAME => 'Instagram only creative',
AdCreativeFields::OBJECT_STORY_SPEC => $object_story_spec,
'platform_customizations' => $platform_customizations,

from facebookads.objects import AdCreative
from facebookads.specs import ObjectStorySpec, LinkData

link_data = LinkData()
link_data[LinkData.Field.message] = 'Great looking SXT handbags in store. #prettybag'
link_data[] = ''
link_data[LinkData.Field.caption] = ''
link_data[LinkData.Field.image_hash] = '<IMAGE_HASH>'

call_to_action = {
  'type': 'LEARN_MORE',
call_to_action['value'] = {

link_data[LinkData.Field.call_to_action] = call_to_action

object_story_spec = ObjectStorySpec()
object_story_spec[ObjectStorySpec.Field.page_id] = <PAGE_ID>
object_story_spec[ObjectStorySpec.Field.instagram_actor_id] = <IG_ACCOUNT_FBID>
object_story_spec[ObjectStorySpec.Field.link_data] = link_data

platform_customizations = {
  'instagram': {
      'image_url': '',
      'image_crops': {'100x100':[[200,90],[900,790]],}

creative = AdCreative(parent_id='act_<AD_ACCOUNT_ID>')
creative[] = 'Instagram only creative'
creative[AdCreative.Field.object_story_spec] = object_story_spec
creative['platform_customizations'] = platform_customizations
curl \
-F 'name=Instagram only creative' \
-F 'object_story_spec={
        "message":"Great looking SXT handbags in store. #prettybag",
        }}' \
-F 'platform_customizations={
   "instagram": {
        "image_url": "", 
        "image_crops": {"100x100": [[0, 0],[800, 800]]}},
  }' \
-F 'access_token=<ACCESS_TOKEN>' \<API_VERSION>/act_<AD_ACCOUNT_ID>/adcreatives

platform_customizations parameter may contain only one instagram key. With that, you can specify an alternate image using image_url or image_hash, and an optional image crop spec. You can also specify a different video using video_id.

You can use this to override images and videos for Instagram ads. You can use it for link_data, photo_data and video_data. You cannot use it to override text, or to provide overrides for Facebook ads. If the original image for Facebook is specified in a post with object_story_id, you can also use this option to display an image or video, instead of the one included in the object_story_spec.

This feature does not work with Dynamic Ads.