CampaignTemplate
¶
Source code in docs_src/capo_partnercentral_marketing/types/campaign_template.py
asset_templates
instance-attribute
¶
asset_templates: NotRequired[CampaignAssetTemplateList]
The ordered asset blueprints. One call serves both template browsing and server-side copy-at-create.
aws_services
instance-attribute
¶
aws_services: NotRequired[AwsServicesList]
AWS services the template promotes.
collection
instance-attribute
¶
collection: CampaignTemplateCollection
The browsing context the template is listed in. Every template has exactly one.
customer_segments
instance-attribute
¶
customer_segments: NotRequired[CustomerSegmentList]
The customer segments the template is written for. Absent when the template names none, in which case it matches every CustomerSegments search filter.
description
instance-attribute
¶
description: NotRequired[CampaignTemplateDescription]
A short overview of the campaign, as plain text in the template's language: no HTML and no character entities. Absent when the template has none; never an empty string.
effective_date_begin
instance-attribute
¶
effective_date_begin: NotRequired[Timestamp]
The instant the template becomes available to partners. Until then the template does not exist to a partner: SearchCampaignTemplates omits it and GetCampaignTemplate returns ResourceNotFoundException.
industry
instance-attribute
¶
industry: NotRequired[Industry]
Target industry for filtering or categorization.
language_code
instance-attribute
¶
language_code: NotRequired[AssetLanguage]
Language the template is authored in, which a campaign created from it takes. A template has one language; the same content in another language is another template.
reference_materials
instance-attribute
¶
reference_materials: NotRequired[ReferenceMaterialList]
The template's reference materials: guides, briefs, copy blocks and other files a partner downloads and uses in their own channels. Kept apart from AssetTemplates because none of them can become a campaign asset — they have no editable field and nothing to activate — and listing them beside the blueprints invited a BatchCreateCampaignAsset that could only fail. Absent when the template has none.