CData Python Connector for Facebook Ads

Build 25.0.9454

CreateAdPreview

Creates a schema file for an app insight.

Input

Name Type Description
AdCreativeId String An ID of the ad creative to use for creating the preview from.
AdFormat String The format of the ad to use.

The allowed values are AUDIENCE_NETWORK_INSTREAM_VIDEO, AUDIENCE_NETWORK_INSTREAM_VIDEO_MOBILE, AUDIENCE_NETWORK_OUTSTREAM_VIDEO, AUDIENCE_NETWORK_REWARDED_VIDEO, DESKTOP_FEED_STANDARD, FACEBOOK_STORY_MOBILE, INSTAGRAM_STANDARD, INSTAGRAM_STORY, INSTANT_ARTICLE_STANDARD, INSTREAM_VIDEO_DESKTOP, INSTREAM_VIDEO_MOBILE, MARKETPLACE_MOBILE, MESSENGER_MOBILE_INBOX_MEDIA, MOBILE_BANNER, MOBILE_FEED_BASIC, MOBILE_FEED_STANDARD, MOBILE_FULLWIDTH, MOBILE_INTERSTITIAL, MOBILE_MEDIUM_RECTANGLE, MOBILE_NATIVE, RIGHT_COLUMN_STANDARD, SUGGESTED_VIDEO_DESKTOP, SUGGESTED_VIDEO_MOBILE, WATCH_FEED_MOBILE.

CreativeFeature String Name of a creative features to preview. Only applies to Marketing API versions 22.0 and above. Supported features include image_templates, image_touchups, video_auto_crop, enhance_cta, text_optimizations, image_background_gen, image_uncrop, and description_automation.
ApplyStandardEnhancements Boolean If set to true, standard enhancements are applied to automatically create multiple variations of your ad and show a personalized variation to each Account Center account based on what they're most likely to respond to. Only applies to Marketing API versions 21.0 and below.

The default value is false.

Result Set Columns

Name Type Description
Url String A url to the preview.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454