CampaignAssetTemplate
¶
Source code in docs_src/capo_partnercentral_marketing/types/campaign_asset_template.py
display_order
instance-attribute
¶
display_order: NotRequired[int]
Ordering for preview and instantiation.
fields
instance-attribute
¶
fields: NotRequired[CampaignAssetTemplateFieldList]
The editable-field schema, copied and pinned onto each campaign asset at create. Fields the service fills itself are not listed.
layout_previews
instance-attribute
¶
layout_previews: NotRequired[LayoutPreviewList]
Previews of the AWS-authored layout skeleton.
prerequisite_asset_template_ids
instance-attribute
¶
prerequisite_asset_template_ids: NotRequired[CampaignAssetTemplateIdList]
The asset templates this one embeds output from, such as an email's landing page. Each must be in the same BatchCreateCampaignAsset request or already an asset on the campaign, else the create is refused PREREQUISITE_ASSET_MISSING; include them when the partner picks this one. Absent when there are none. A link the partner chooses, such as a landing page's download button, is not listed here: it is an AssetLink field and needs nothing at create.
social_platform
instance-attribute
¶
social_platform: NotRequired[Platform]
SOCIAL_POST only: the platform an asset made from this blueprint posts to, which the asset reports as SocialPlatform. Fixed by the template, so a client can show which social connection the post needs before it is created. Absent for every other type.
type
instance-attribute
¶
The kind of asset this blueprint instantiates as.