1<html><body> 2<style> 3 4body, 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 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, 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_3.html">Ad Exchange Buyer API</a> . <a href="adexchangebuyer_v1_3.budget.html">budget</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#get">get(accountId, billingId)</a></code></p> 82<p class="firstline">Returns the budget information for the adgroup specified by the accountId and billingId.</p> 83<p class="toc_element"> 84 <code><a href="#patch">patch(accountId, billingId, body=None)</a></code></p> 85<p class="firstline">Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.</p> 86<p class="toc_element"> 87 <code><a href="#update">update(accountId, billingId, body=None)</a></code></p> 88<p class="firstline">Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.</p> 89<h3>Method Details</h3> 90<div class="method"> 91 <code class="details" id="close">close()</code> 92 <pre>Close httplib2 connections.</pre> 93</div> 94 95<div class="method"> 96 <code class="details" id="get">get(accountId, billingId)</code> 97 <pre>Returns the budget information for the adgroup specified by the accountId and billingId. 98 99Args: 100 accountId: string, The account id to get the budget information for. (required) 101 billingId: string, The billing id to get the budget information for. (required) 102 103Returns: 104 An object of the form: 105 106 { # The configuration data for Ad Exchange RTB - Budget API. 107 "accountId": "A String", # The id of the account. This is required for get and update requests. 108 "billingId": "A String", # The billing id to determine which adgroup to provide budget information for. This is required for get and update requests. 109 "budgetAmount": "A String", # The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests. 110 "currencyCode": "A String", # The currency code for the buyer. This cannot be altered here. 111 "id": "A String", # The unique id that describes this item. 112 "kind": "adexchangebuyer#budget", # The kind of the resource, i.e. "adexchangebuyer#budget". 113}</pre> 114</div> 115 116<div class="method"> 117 <code class="details" id="patch">patch(accountId, billingId, body=None)</code> 118 <pre>Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics. 119 120Args: 121 accountId: string, The account id associated with the budget being updated. (required) 122 billingId: string, The billing id associated with the budget being updated. (required) 123 body: object, The request body. 124 The object takes the form of: 125 126{ # The configuration data for Ad Exchange RTB - Budget API. 127 "accountId": "A String", # The id of the account. This is required for get and update requests. 128 "billingId": "A String", # The billing id to determine which adgroup to provide budget information for. This is required for get and update requests. 129 "budgetAmount": "A String", # The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests. 130 "currencyCode": "A String", # The currency code for the buyer. This cannot be altered here. 131 "id": "A String", # The unique id that describes this item. 132 "kind": "adexchangebuyer#budget", # The kind of the resource, i.e. "adexchangebuyer#budget". 133} 134 135 136Returns: 137 An object of the form: 138 139 { # The configuration data for Ad Exchange RTB - Budget API. 140 "accountId": "A String", # The id of the account. This is required for get and update requests. 141 "billingId": "A String", # The billing id to determine which adgroup to provide budget information for. This is required for get and update requests. 142 "budgetAmount": "A String", # The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests. 143 "currencyCode": "A String", # The currency code for the buyer. This cannot be altered here. 144 "id": "A String", # The unique id that describes this item. 145 "kind": "adexchangebuyer#budget", # The kind of the resource, i.e. "adexchangebuyer#budget". 146}</pre> 147</div> 148 149<div class="method"> 150 <code class="details" id="update">update(accountId, billingId, body=None)</code> 151 <pre>Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. 152 153Args: 154 accountId: string, The account id associated with the budget being updated. (required) 155 billingId: string, The billing id associated with the budget being updated. (required) 156 body: object, The request body. 157 The object takes the form of: 158 159{ # The configuration data for Ad Exchange RTB - Budget API. 160 "accountId": "A String", # The id of the account. This is required for get and update requests. 161 "billingId": "A String", # The billing id to determine which adgroup to provide budget information for. This is required for get and update requests. 162 "budgetAmount": "A String", # The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests. 163 "currencyCode": "A String", # The currency code for the buyer. This cannot be altered here. 164 "id": "A String", # The unique id that describes this item. 165 "kind": "adexchangebuyer#budget", # The kind of the resource, i.e. "adexchangebuyer#budget". 166} 167 168 169Returns: 170 An object of the form: 171 172 { # The configuration data for Ad Exchange RTB - Budget API. 173 "accountId": "A String", # The id of the account. This is required for get and update requests. 174 "billingId": "A String", # The billing id to determine which adgroup to provide budget information for. This is required for get and update requests. 175 "budgetAmount": "A String", # The daily budget amount in unit amount of the account currency to apply for the billingId provided. This is required for update requests. 176 "currencyCode": "A String", # The currency code for the buyer. This cannot be altered here. 177 "id": "A String", # The unique id that describes this item. 178 "kind": "adexchangebuyer#budget", # The kind of the resource, i.e. "adexchangebuyer#budget". 179}</pre> 180</div> 181 182</body></html>