Last active
October 7, 2015 09:57
-
-
Save astein/3147012 to your computer and use it in GitHub Desktop.
Engagement Servering JSON Specs
This file contains hidden or 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
{ | |
"version":"3.1", | |
"type":"AS", | |
"mobile":false, | |
"width":750, | |
"height":500, | |
"interactive_url":"http://media.socialvi.be/debug/3.1/com/socialvibe/tools/builder/BuilderEngagementModule.swf", | |
"icon_url":"http://", | |
"screenshots":[{"step":1, "url":"http://"}, {"step":2, "url":"http://"}], | |
"config_json": {"type":"wizard","foregroundLayer":{"backgroundEnabled":true,"controls":[],"foregroundEnabled":true,"panelName":"foreground"},"wizard":{"templateClass":"com.socialvibe.tools.wizard.templates::ExternalPlayerTaggedTemplate","stepTemplateMap":{"step 1":"com.socialvibe.tools.wizard.templates::ExternalPlayerTaggedStep"}},"self_serve_url":"https://zynga.socialvibe.com/","steps":[{"backgroundEnabled":true,"controls":[{"height":295,"controlClass":"com.socialvibe.core.ui.controls::SVIFrame","url":"http://player.ebuzzing.com/xtst/ifr/playern_ifr.php?parametre=723580&vielnk=getUrlAsIframe(http%3A%2F%2Fpartners.socialvi.be%2Ftags%2Ftrack_interaction%3Finteraction%3Dvideo_completed)","scrollbars":false,"name":"iframe 1","x":156,"y":100,"width":435},{"controlClass":"com.socialvibe.core.ui.controls::SVButton","width":100,"actions":[{"type":"next","name":"go to next step","step_name":"","delay":0,"controlClass":"com.socialvibe.engagement.controller.actions::NavigationAction"}],"height":32,"font_size":17,"font_color":"ffffff","curve_size":16,"name":"button 2","text":"Done","color":"9adf","x":325,"y":425},{"centered":false,"multiline":false,"controlClass":"com.socialvibe.core.ui.controls::SVText","width":127,"height":24,"bold":false,"name":"text 3","size":15,"color":"888888","x":311.5,"y":5,"text":"Click Video to Start"}],"foregroundEnabled":true,"panelName":"step 1"}],"width":750,"logic":{"completion_event":"default","controllers":[{"no_end_screen":false,"wait_for_results":false,"controlClass":"com.socialvibe.engagement.controller::BaseController","name":"base_logic","disable_share":true,"transition_style":"fade"},{"uploaded_class_url":"//media.socialvi.be/[BUILD_TYPE]/3.1/com/socialvibe/engagement/controller/ExternalPlayerController.swf","completion":"tag","duration":30,"controlClass":"com.socialvibe.engagement.controller::ExternalPlayerController","name":"external_player_logic","preload_urls":["uploaded_class_url"]}]},"height":500,"as_version_tag":"3.1","backgroundLayer":{"backgroundEnabled":true,"controls":[{"height":500,"corner_radius":0,"controlClass":"com.socialvibe.core.ui.controls::SVShape","width":750,"color":"ffffff","name":"instance80","x":0,"y":0}],"foregroundEnabled":true,"panelName":"background"}, impression_tag:"http://ad.doubleclick.net/ad/N1243.131905.SOCIALVIBE", sequence:0} | |
} |
This file contains hidden or 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":123, | |
"app_id":1, | |
"advertiser_billing_type":"initial", | |
"revenue_capped":true, | |
"revenue_amounts": [ | |
{"partner_config_hash": "e58ba788e84a8dac7cf30d66741e9f459b44cb64", "revenue_amount": 0.12}, | |
{"partner_config_hash": "7714c0e3db1a9bbb5eda526b9c17b30961ff057c", "revenue_amount": 0.3} | |
], | |
"currency_amounts": [ | |
{"partner_config_hash": "e58ba788e84a8dac7cf30d66741e9f459b44cb64", "currency_amount": 5}, | |
{"partner_config_hash": "7714c0e3db1a9bbb5eda526b9c17b30961ff057c", "currency_amount": 7} | |
], | |
"advertiser_costs": [ | |
{"partner_config_hash": "e58ba788e84a8dac7cf30d66741e9f459b44cb64", "advertiser_cost": 0.23}, | |
{"partner_config_hash": "7714c0e3db1a9bbb5eda526b9c17b30961ff057c", "advertiser_cost": 0.28} | |
], | |
"cpeplus": { | |
"child_activity_id": 42, | |
"currency_amounts": [ | |
{"partner_config_hash": "e58ba788e84a8dac7cf30d66741e9f459b44cb64", "currency_amount": 15}, | |
{"partner_config_hash": "7714c0e3db1a9bbb5eda526b9c17b30961ff057c", "currency_amount": 17} | |
] | |
}, | |
"recent_comments": [ | |
{"network_user_id": "_dNMKLvycmA0yRCZAiDhLHHt0aM", "label": "comment_input_field 19", "ago": "13 minutes ago", "body": "I <3 it!"}, | |
{"network_user_id": "asdfyRCZAiDhLHHt0asd33223ad", "label": "comment_input_field 19", "ago": "14 minutes ago", "body": "No me gusta!"} | |
], | |
"recent_photos": [ | |
{"captiion": "Look at my silly face.", "photo_url": "http://placekitten.com/200/300", "ago": "4 minutes ago"}, | |
{"captiion": "Meow! Here kitty cat.", "photo_url": "http://placekitten.com/300/300", "ago": "5 minutes ago"} | |
], | |
"vote_results": [ | |
{"label": "Going to the gym", "category": 1, "vote": 11, "vote_count": 33184}, | |
{"label": "Eating healthy", "category": 1, "vote": 12, "vote_count": 39325} | |
] | |
} |
This file contains hidden or 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
{ | |
"chrome_url":"/com/socialvibe/modules/configs/ZyngaConfig.swf", | |
"chrome_width_padding":48, | |
"chrome_height_padding":69, | |
"chrome_config_json":{"asset_args":""}, | |
"currency_label_singular":"Farm Cash", | |
"currency_label_plural":"Farm Cash", | |
"mobile":false, | |
"partner_payment_type":"completed", | |
"encrypted_partner_config_secret":"", | |
"activity_wall_width":753, | |
"activity_wall_height_padding":140, | |
"partner_id":1, | |
"partner_config_id":1, | |
"partner_config_hash":"0732bdf40c9dc75dd9c0f695fe8a737babc61c25" | |
} |
Under recent_photos
, captiion
is misspelled.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Notes:
partner_config_id and partner_config_hash are both optional params in the placement.json