Skip to content

Instantly share code, notes, and snippets.

@antwatkins
Created July 12, 2012 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antwatkins/3098447 to your computer and use it in GitHub Desktop.
Save antwatkins/3098447 to your computer and use it in GitHub Desktop.
Sample Avro Ad Request
{
"protocol": "AvroAdRequest", "namespace": "com.flurry.avroserver.protocol.v1",
"types": [
{"name": "Location", "type": "record",
"fields": [
{"name": "lat", "type": "float", "default":0.0},
{"name": "lon", "type": "float", "default":0.0}
]
},
{"name": "AdRequest", "type": "record",
"fields": [
{"name": "adSpaceName", "type": "string"},
{"name": "location", "type": "Location", "default": "null"}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment