InAppMessageCampaign is a JSON Structure definition published by Amazon Pinpoint, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-pinpoint/refs/heads/main/json-structure/amazon-pinpoint-in-app-message-campaign-structure.json",
"name": "InAppMessageCampaign",
"description": "Targeted in-app message campaign.",
"type": "object",
"properties": {
"CampaignId": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "Campaign id of the corresponding campaign."
}
]
},
"DailyCap": {
"allOf": [
{
"$ref": "#/components/schemas/__integer"
},
{
"description": "Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day."
}
]
},
"InAppMessage": {
"allOf": [
{
"$ref": "#/components/schemas/InAppMessage"
},
{
"description": "In-app message content with all fields required for rendering an in-app message."
}
]
},
"Priority": {
"allOf": [
{
"$ref": "#/components/schemas/__integer"
},
{
"description": "Priority of the in-app message."
}
]
},
"Schedule": {
"allOf": [
{
"$ref": "#/components/schemas/InAppCampaignSchedule"
},
{
"description": "Schedule of the campaign."
}
]
},
"SessionCap": {
"allOf": [
{
"$ref": "#/components/schemas/__integer"
},
{
"description": "Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session."
}
]
},
"TotalCap": {
"allOf": [
{
"$ref": "#/components/schemas/__integer"
},
{
"description": "Total cap which controls the number of times an in-app message can be shown to the endpoint."
}
]
},
"TreatmentId": {
"allOf": [
{
"$ref": "#/components/schemas/__string"
},
{
"description": "Treatment id of the campaign."
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.