Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
| 75 | <h1><a href="adexchangebuyer_v1_2.html">Ad Exchange Buyer API</a> . <a href="adexchangebuyer_v1_2.accounts.html">accounts</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 81 | <code><a href="#get">get(id)</a></code></p> |
| 82 | <p class="firstline">Gets one account by ID.</p> |
| 83 | <p class="toc_element"> |
| 84 | <code><a href="#list">list()</a></code></p> |
| 85 | <p class="firstline">Retrieves the authenticated user's list of accounts.</p> |
| 86 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 87 | <code><a href="#patch">patch(id, body=None)</a></code></p> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 88 | <p class="firstline">Updates an existing account. This method supports patch semantics.</p> |
| 89 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 90 | <code><a href="#update">update(id, body=None)</a></code></p> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 91 | <p class="firstline">Updates an existing account.</p> |
| 92 | <h3>Method Details</h3> |
| 93 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 94 | <code class="details" id="close">close()</code> |
| 95 | <pre>Close httplib2 connections.</pre> |
| 96 | </div> |
| 97 | |
| 98 | <div class="method"> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 99 | <code class="details" id="get">get(id)</code> |
| 100 | <pre>Gets one account by ID. |
| 101 | |
| 102 | Args: |
| 103 | id: integer, The account id (required) |
| 104 | |
| 105 | Returns: |
| 106 | An object of the form: |
| 107 | |
| 108 | { # Configuration data for an Ad Exchange buyer account. |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 109 | "bidderLocation": [ # Your bidder locations that have distinct URLs. |
| 110 | { |
| 111 | "maximumQps": 42, # The maximum queries per second the Ad Exchange will send. |
| 112 | "region": "A String", # The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: |
| 113 | # - ASIA |
| 114 | # - EUROPE |
| 115 | # - US_EAST |
| 116 | # - US_WEST |
| 117 | "url": "A String", # The URL to which the Ad Exchange will send bid requests. |
| 118 | }, |
| 119 | ], |
| 120 | "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this. |
| 121 | "cookieMatchingUrl": "A String", # The base URL used in cookie match requests. |
| 122 | "id": 42, # Account id. |
| 123 | "kind": "adexchangebuyer#account", # Resource type. |
| 124 | "maximumActiveCreatives": 42, # The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this. |
| 125 | "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this. |
| 126 | "numberActiveCreatives": 42, # The number of creatives that this account inserted or bid with in the last 30 days. |
| 127 | }</pre> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 128 | </div> |
| 129 | |
| 130 | <div class="method"> |
| 131 | <code class="details" id="list">list()</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 132 | <pre>Retrieves the authenticated user's list of accounts. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 133 | |
| 134 | Args: |
| 135 | |
| 136 | Returns: |
| 137 | An object of the form: |
| 138 | |
| 139 | { # An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account. |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 140 | "items": [ # A list of accounts. |
| 141 | { # Configuration data for an Ad Exchange buyer account. |
| 142 | "bidderLocation": [ # Your bidder locations that have distinct URLs. |
| 143 | { |
| 144 | "maximumQps": 42, # The maximum queries per second the Ad Exchange will send. |
| 145 | "region": "A String", # The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: |
| 146 | # - ASIA |
| 147 | # - EUROPE |
| 148 | # - US_EAST |
| 149 | # - US_WEST |
| 150 | "url": "A String", # The URL to which the Ad Exchange will send bid requests. |
| 151 | }, |
| 152 | ], |
| 153 | "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this. |
| 154 | "cookieMatchingUrl": "A String", # The base URL used in cookie match requests. |
| 155 | "id": 42, # Account id. |
| 156 | "kind": "adexchangebuyer#account", # Resource type. |
| 157 | "maximumActiveCreatives": 42, # The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this. |
| 158 | "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this. |
| 159 | "numberActiveCreatives": 42, # The number of creatives that this account inserted or bid with in the last 30 days. |
| 160 | }, |
| 161 | ], |
| 162 | "kind": "adexchangebuyer#accountsList", # Resource type. |
| 163 | }</pre> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 164 | </div> |
| 165 | |
| 166 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 167 | <code class="details" id="patch">patch(id, body=None)</code> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 168 | <pre>Updates an existing account. This method supports patch semantics. |
| 169 | |
| 170 | Args: |
| 171 | id: integer, The account id (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 172 | body: object, The request body. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 173 | The object takes the form of: |
| 174 | |
| 175 | { # Configuration data for an Ad Exchange buyer account. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 176 | "bidderLocation": [ # Your bidder locations that have distinct URLs. |
| 177 | { |
| 178 | "maximumQps": 42, # The maximum queries per second the Ad Exchange will send. |
| 179 | "region": "A String", # The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: |
| 180 | # - ASIA |
| 181 | # - EUROPE |
| 182 | # - US_EAST |
| 183 | # - US_WEST |
| 184 | "url": "A String", # The URL to which the Ad Exchange will send bid requests. |
| 185 | }, |
| 186 | ], |
| 187 | "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this. |
| 188 | "cookieMatchingUrl": "A String", # The base URL used in cookie match requests. |
| 189 | "id": 42, # Account id. |
| 190 | "kind": "adexchangebuyer#account", # Resource type. |
| 191 | "maximumActiveCreatives": 42, # The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this. |
| 192 | "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this. |
| 193 | "numberActiveCreatives": 42, # The number of creatives that this account inserted or bid with in the last 30 days. |
| 194 | } |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 195 | |
| 196 | |
| 197 | Returns: |
| 198 | An object of the form: |
| 199 | |
| 200 | { # Configuration data for an Ad Exchange buyer account. |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 201 | "bidderLocation": [ # Your bidder locations that have distinct URLs. |
| 202 | { |
| 203 | "maximumQps": 42, # The maximum queries per second the Ad Exchange will send. |
| 204 | "region": "A String", # The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: |
| 205 | # - ASIA |
| 206 | # - EUROPE |
| 207 | # - US_EAST |
| 208 | # - US_WEST |
| 209 | "url": "A String", # The URL to which the Ad Exchange will send bid requests. |
| 210 | }, |
| 211 | ], |
| 212 | "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this. |
| 213 | "cookieMatchingUrl": "A String", # The base URL used in cookie match requests. |
| 214 | "id": 42, # Account id. |
| 215 | "kind": "adexchangebuyer#account", # Resource type. |
| 216 | "maximumActiveCreatives": 42, # The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this. |
| 217 | "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this. |
| 218 | "numberActiveCreatives": 42, # The number of creatives that this account inserted or bid with in the last 30 days. |
| 219 | }</pre> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 220 | </div> |
| 221 | |
| 222 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 223 | <code class="details" id="update">update(id, body=None)</code> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 224 | <pre>Updates an existing account. |
| 225 | |
| 226 | Args: |
| 227 | id: integer, The account id (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 228 | body: object, The request body. |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 229 | The object takes the form of: |
| 230 | |
| 231 | { # Configuration data for an Ad Exchange buyer account. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 232 | "bidderLocation": [ # Your bidder locations that have distinct URLs. |
| 233 | { |
| 234 | "maximumQps": 42, # The maximum queries per second the Ad Exchange will send. |
| 235 | "region": "A String", # The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: |
| 236 | # - ASIA |
| 237 | # - EUROPE |
| 238 | # - US_EAST |
| 239 | # - US_WEST |
| 240 | "url": "A String", # The URL to which the Ad Exchange will send bid requests. |
| 241 | }, |
| 242 | ], |
| 243 | "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this. |
| 244 | "cookieMatchingUrl": "A String", # The base URL used in cookie match requests. |
| 245 | "id": 42, # Account id. |
| 246 | "kind": "adexchangebuyer#account", # Resource type. |
| 247 | "maximumActiveCreatives": 42, # The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this. |
| 248 | "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this. |
| 249 | "numberActiveCreatives": 42, # The number of creatives that this account inserted or bid with in the last 30 days. |
| 250 | } |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 251 | |
| 252 | |
| 253 | Returns: |
| 254 | An object of the form: |
| 255 | |
| 256 | { # Configuration data for an Ad Exchange buyer account. |
Yoshi Automation Bot | cc94ec8 | 2021-01-15 07:10:04 -0800 | [diff] [blame] | 257 | "bidderLocation": [ # Your bidder locations that have distinct URLs. |
| 258 | { |
| 259 | "maximumQps": 42, # The maximum queries per second the Ad Exchange will send. |
| 260 | "region": "A String", # The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values: |
| 261 | # - ASIA |
| 262 | # - EUROPE |
| 263 | # - US_EAST |
| 264 | # - US_WEST |
| 265 | "url": "A String", # The URL to which the Ad Exchange will send bid requests. |
| 266 | }, |
| 267 | ], |
| 268 | "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this. |
| 269 | "cookieMatchingUrl": "A String", # The base URL used in cookie match requests. |
| 270 | "id": 42, # Account id. |
| 271 | "kind": "adexchangebuyer#account", # Resource type. |
| 272 | "maximumActiveCreatives": 42, # The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this. |
| 273 | "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this. |
| 274 | "numberActiveCreatives": 42, # The number of creatives that this account inserted or bid with in the last 30 days. |
| 275 | }</pre> |
Sai Cheemalapati | df61397 | 2016-10-21 13:59:49 -0700 | [diff] [blame] | 276 | </div> |
| 277 | |
| 278 | </body></html> |