{"_id":"56fd42e5caad892200847c2f","category":{"_id":"56fd3956caad892200847bce","__v":0,"project":"56c35c56c0c4630d004e864c","version":"56c35c56c0c4630d004e864f","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-31T14:51:02.977Z","from_sync":false,"order":1,"slug":"buzz-json-objects","title":"Buzz JSON Objects"},"user":"56c39c05bc41330d009f25d7","version":{"_id":"56c35c56c0c4630d004e864f","project":"56c35c56c0c4630d004e864c","__v":8,"createdAt":"2016-02-16T17:28:54.864Z","releaseDate":"2016-02-16T17:28:54.864Z","categories":["56c35c57c0c4630d004e8650","56c7b9e5379b311700ed8fe3","56c7bab4606ee717003c4766","56c7bb3613e5400d001e8cbd","56cf3f5a5267d70b00494c4b","56cf3f866c5d7a13005ee894","56fd3956caad892200847bce","599da256e7742b002588bb02"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"0.5.0","version":"0.5"},"__v":0,"githubsync":"","parentDoc":null,"project":"56c35c56c0c4630d004e864c","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-03-31T15:31:49.427Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"When [Creative Assets or Video Assets](doc:creative-assets) are uploaded to Buzz they are analyzed and metadata about those creatives are stored in the `metadata` field of that object. While this metadata is created automatically, the system allows you to use the field to store other data as long as it is JSON formatted and in a simple key-value format (no nests, or arrays).\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"JSON Structure\"\n}\n[/block]\nThe Creative metadata JSON has the following fields:\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Key\",\n    \"h-1\": \"Example value\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"key\",\n    \"0-1\": \"width\",\n    \"0-2\": \"Currently Buzz supports width, height, and mime. Additional video-related metadata is automatically added to the creative after a video is transcoded.\",\n    \"1-0\": \"values\",\n    \"1-1\": \"468\",\n    \"1-2\": \"A simple value, either string or integer\"\n  },\n  \"cols\": 3,\n  \"rows\": 2\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Example JSON\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n \\\"width\\\": 468,\\n \\\"height\\\": 60,\\n \\\"mime\\\": \\\"image/jpeg\\\"\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"creative-and-video-metadata","type":"basic","title":"Creative and Video Metadata"}

Creative and Video Metadata


When [Creative Assets or Video Assets](doc:creative-assets) are uploaded to Buzz they are analyzed and metadata about those creatives are stored in the `metadata` field of that object. While this metadata is created automatically, the system allows you to use the field to store other data as long as it is JSON formatted and in a simple key-value format (no nests, or arrays). [block:api-header] { "type": "basic", "title": "JSON Structure" } [/block] The Creative metadata JSON has the following fields: [block:parameters] { "data": { "h-0": "Key", "h-1": "Example value", "h-2": "Description", "0-0": "key", "0-1": "width", "0-2": "Currently Buzz supports width, height, and mime. Additional video-related metadata is automatically added to the creative after a video is transcoded.", "1-0": "values", "1-1": "468", "1-2": "A simple value, either string or integer" }, "cols": 3, "rows": 2 } [/block] [block:api-header] { "type": "basic", "title": "Example JSON" } [/block] [block:code] { "codes": [ { "code": "{\n \"width\": 468,\n \"height\": 60,\n \"mime\": \"image/jpeg\"\n}", "language": "json" } ] } [/block]