CampaignResponse
- campaign
- activationType: null
_date - allowType: boolean
_return _later - audienceType: integer
_id Integer numbers.
- channelType: integer
_id Integer numbers.
- channelType: string
_name - codeType: string
_count - codeType: string
_ref - customType: array object[]
_fields Custom field values to attach to the campaign. Each entry identifies the custom field definition by
key. Use the standalone/v1.0/campaigns/{campaign_id}/custom_fieldsendpoints when working with custom field IDs. Omittingkeyyields a 422. - descriptionType: string
- descriptionType: string
_template _id - dynamicType: string
_expiration - eligibleType: array object[]
_channel _tags Empty object - eligibleType: array object[]
_store _ids Empty object - eligibleType: array object[]
_store _numbers Empty object - eligibleType: array object[]
_storelist _ids Empty object - eligibleType: array object[]
_storelist _numbers Empty object - expirationType: string
_date - expirationType: string enum
_rule How the resolved offer expiration is interpreted. "default" is the legacy behavior: the date portion is interpreted at midnight Pacific and the entire expiry day stays redeemable, through 11:59:59 PM Pacific. "specified_time" honors the expires_at timestamp exactly as sent, in UTC, with no additional day. Resolution is asymmetric: a campaign set to "specified_time" overrides the offer, while a campaign left at "default" inherits the offer's rule. An unrecognized value returns 400.
values- default
- specified
_time
- externalType: string
_id - fundingType: string
_source - landingType: string
_page _image _template _id - landingType: object
_page _urls - maxType: string
_redemptions _per _member - memberType: boolean
_required - nameType: string
- offerType: integer
_id Integer numbers.
- onlineType: string
_offer _code - posType: string
_offer _code - redemptionType: integer Format: int32
_grace _period greater than:0multiple of:60Signed 32-bit integers (commonly used integer type).
- redemptionType: integer
_identifier _type Integer numbers.
- securityType: string
- startType: string
_display _at - statusType: string
- subType: integer
_audience _id Integer numbers.
- termsType: string
_and _conditions - termsType: string
_and _conditions _template _id - xidType: string
- errorsType: object · errors
- errorsType: object · ResponseBodyErrors
{
"errors": [],
"campaign": {
"id": 0,
"xid": "string",
"name": "string",
"code_ref": "string",
"code_count": "string",
"external_id": "string",
"offer_id": 0,
"channel_id": 0,
"channel_name": "string",
"pos_offer_code": "string",
"online_offer_code": "string",
"activation_date": null,
"expiration_date": "string",
"start_display_at": "string",
"funding_source": "string",
"eligible_channel_tags": [],
"eligible_store_ids": [],
"eligible_store_numbers": [],
"eligible_storelist_ids": [],
"eligible_storelist_numbers": [],
"landing_page_image_template_id": "string",
"description_template_id": "string",
"description": "string",
"terms_and_conditions_template_id": "string",
"terms_and_conditions": "string",
"security": "string",
"landing_page_urls": {},
"allow_return_later": true,
"redemption_identifier_type": 0,
"member_required": true,
"max_redemptions_per_member": "string",
"dynamic_expiration": "string",
"sub_audience_id": 0,
"audience_id": 0,
"status": "string"
}
}