Last active
June 30, 2016 01:59
-
-
Save jpotts/352369d5996248f3896da5feac537dd7 to your computer and use it in GitHub Desktop.
Example content service object and response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "someid", | |
"name": "globalNavSpecialOffersPromo", | |
"description": "", | |
"crDate": 1452112197971, | |
"modDate": 1457469890414, | |
"pubDate": 1457469840000, | |
"metadata": { | |
"pageId": [ | |
"air-flight-some-other-page", | |
"air-flight-yet-another-page", | |
"air-flight-status" | |
], | |
"placementId": [ | |
"globalNavSpecialOffersPromo" | |
], | |
"geoCode": [ | |
"all" | |
], | |
"origin": [ | |
"all" | |
], | |
"destination": [ | |
"all" | |
], | |
"loginState": [ | |
"all" | |
], | |
"isDefault": false, | |
"isBootstrapped": false, | |
"source": "templatedata/ads/global_nav_promo/data/globalNavSpecialOffersPromo", | |
"segment": [ | |
"" | |
], | |
"permutationFilter": [ | |
"" | |
] | |
}, | |
"contentItem": { | |
"lang": "en", | |
"content": { | |
"displayType": "promotion-ad", | |
"adText": [{ | |
"block": true, | |
"font": "font-22", | |
"value": "<strong>Subscribe</strong>" | |
}, { | |
"block": false, | |
"font": "font-32", | |
"url": "/html/email/click_n_save_signup.html?clk=GSUBNAV-OFFERS-AD1-CNS", | |
"ariaLabel": "Click 'N Save", | |
"newWindow": false, | |
"value": "<strong>Click ‘N Save<sup>®</sup></strong>" | |
}, { | |
"block": true, | |
"font": "font-13", | |
"value": "Get our biggest deals on flights, hotel stays, car rentals, vacation packages, and more." | |
}], | |
"callToAction": { | |
"newWindow": false, | |
"elementType": "cta-button", | |
"linkType": "tertiary", | |
"linkSize": "large", | |
"value": "Sign up and save", | |
"ariaLabel": "Sign up to Click 'N Save.", | |
"url": "/html/email/click_n_save_signup.html?clk=GSUBNAV-OFFERS-AD1-CNS" | |
}, | |
"background": { | |
"color": "neutral-gray2" | |
} | |
}, | |
"type": "promotion-ad" | |
}, | |
"translations": [] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"success": true, | |
"errors": [], | |
"results": { | |
"globalNavSpecialOffersPromo": { | |
"lang": "en", | |
"content": { | |
"displayType": "promotion-ad", | |
"adText": [{ | |
"block": true, | |
"font": "font-22", | |
"value": "<strong>Subscribe</strong>" | |
}, { | |
"block": false, | |
"font": "font-32", | |
"url": "/html/email/click_n_save_signup.html?clk=GSUBNAV-OFFERS-AD1-CNS", | |
"ariaLabel": "Click 'N Save", | |
"newWindow": false, | |
"value": "<strong>Click ‘N Save<sup>®</sup></strong>" | |
}, { | |
"block": true, | |
"font": "font-13", | |
"value": "Get our biggest deals on flights, hotel stays, car rentals, vacation packages, and more." | |
}], | |
"callToAction": { | |
"newWindow": false, | |
"elementType": "cta - button ", | |
"linkType": "tertiary", | |
"linkSize": "large", | |
"value": "Sign up and save", | |
"ariaLabel": "Sign up to Click 'N Save.", | |
"url": "/html/email/click_n_save_signup.html?clk=GSUBNAV-OFFERS-AD1-CNS" | |
}, | |
"background": { | |
"color": "neutral - gray2" | |
} | |
}, | |
"type": "promotion - ad" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment