You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

95 lines
2.8 KiB

  1. {
  2. "kind": "discovery#restDescription",
  3. "etag": "\"DGgqtFnjgu83tuwvvVNNUhOiHWk/1UCG4CqfTBrxPN0MRjUm7GaLJ7Y\"",
  4. "discoveryVersion": "v1",
  5. "id": "adexchangebuyer:v1.1",
  6. "name": "adexchangebuyer",
  7. "version": "v1.1",
  8. "title": "Ad Exchange Buyer API",
  9. "description": "Lets you manage your Ad Exchange Buyer account.",
  10. "ownerDomain": "google.com",
  11. "ownerName": "Google",
  12. "icons": {
  13. "x16": "http://www.google.com/images/icons/product/doubleclick-16.gif",
  14. "x32": "http://www.google.com/images/icons/product/doubleclick-32.gif"
  15. },
  16. "documentationLink": "https://developers.google.com/ad-exchange/buyer-rest",
  17. "protocol": "rest",
  18. "baseUrl": "https://www.googleapis.com/adexchangebuyer/v1.1/",
  19. "basePath": "/adexchangebuyer/v1.1/",
  20. "rootUrl": "https://www.googleapis.com/",
  21. "servicePath": "adexchangebuyer/v1.1/",
  22. "batchPath": "batch",
  23. "parameters": {
  24. "alt": {
  25. "type": "string",
  26. "description": "Data format for the response.",
  27. "default": "json",
  28. "enum": [
  29. "json"
  30. ],
  31. "enumDescriptions": [
  32. "Responses with Content-Type of application/json"
  33. ],
  34. "location": "query"
  35. },
  36. "fields": {
  37. "type": "string",
  38. "description": "Selector specifying which fields to include in a partial response.",
  39. "location": "query"
  40. },
  41. "key": {
  42. "type": "string",
  43. "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
  44. "location": "query"
  45. },
  46. "oauth_token": {
  47. "type": "string",
  48. "description": "OAuth 2.0 token for the current user.",
  49. "location": "query"
  50. },
  51. "prettyPrint": {
  52. "type": "boolean",
  53. "description": "Returns response with indentations and line breaks.",
  54. "default": "true",
  55. "location": "query"
  56. },
  57. "quotaUser": {
  58. "type": "string",
  59. "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
  60. "location": "query"
  61. },
  62. "userIp": {
  63. "type": "string",
  64. "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
  65. "location": "query"
  66. }
  67. },
  68. "auth": {
  69. "oauth2": {
  70. "scopes": {
  71. "https://www.googleapis.com/auth/adexchange.buyer": {
  72. "description": "Manage your Ad Exchange buyer account configuration"
  73. }
  74. }
  75. }
  76. },
  77. "schemas": {
  78. "Creative": {
  79. "id": "Creative",
  80. "type": "object",
  81. "description": "A creative and its classification data.",
  82. "properties": {
  83. "advertiserId": {
  84. "type": "array",
  85. "description": "Detected advertiser id, if any. Read-only. This field should not be set in requests.",
  86. "items": {
  87. "type": "string",
  88. "format": "int64"
  89. }
  90. }
  91. }
  92. }
  93. }
  94. }