Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 1 | |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 3 | <html><head><title>Python: class Resource</title> |
| 4 | </head><body bgcolor="#f0f0f8"> |
| 5 | <p> |
| 6 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 7 | <tr bgcolor="#ffc8d8"> |
| 8 | <td colspan=3 valign=bottom> <br> |
| 9 | <font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> |
| 10 | |
| 11 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 12 | <td colspan=2><tt>A class for interacting with a resource.<br> </tt></td></tr> |
| 13 | <tr><td> </td> |
| 14 | <td width="100%">Methods defined here:<br> |
| 15 | <dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl> |
| 16 | |
| 17 | <dl><dt><a name="Resource-get"><strong>get</strong></a> = method(self, **kwargs)</dt><dd><tt>Gets one account by ID.<br> |
| 18 | <br> |
| 19 | Args:<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 20 | pp: string, A parameter<br> |
| 21 | trace: string, A parameter<br> |
| 22 | strict: string, A parameter<br> |
| 23 | userip: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 24 | id: integer, The account id (required)<br> |
| 25 | <br> |
| 26 | Returns:<br> |
| 27 | An object of the form<br> |
| 28 | <br> |
| 29 | {<br> |
| 30 | "kind": "adexchangebuyer#account", # Resource type.<br> |
| 31 | "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.<br> |
| 32 | "bidderLocation": [ # Your bidder locations that have distinct URLs.<br> |
| 33 | {<br> |
| 34 | "url": "A String", # The URL to which the Ad Exchange will send bid requests.<br> |
| 35 | "maximumQps": 42, # The maximum queries per second the Ad Exchange will send.<br> |
| 36 | },<br> |
| 37 | ],<br> |
| 38 | "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.<br> |
| 39 | "id": 42, # Account id.<br> |
| 40 | "cookieMatchingUrl": "A String", # The base URL used in cookie match requests.<br> |
| 41 | }</tt></dd></dl> |
| 42 | |
| 43 | <dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Retrieves the authenticated user's list of accounts.<br> |
| 44 | <br> |
| 45 | Args:<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 46 | pp: string, A parameter<br> |
| 47 | trace: string, A parameter<br> |
| 48 | strict: string, A parameter<br> |
| 49 | userip: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 50 | <br> |
| 51 | Returns:<br> |
| 52 | An object of the form<br> |
| 53 | <br> |
| 54 | {<br> |
| 55 | "items": [ # A list of accounts.<br> |
| 56 | {<br> |
| 57 | "kind": "adexchangebuyer#account", # Resource type.<br> |
| 58 | "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.<br> |
| 59 | "bidderLocation": [ # Your bidder locations that have distinct URLs.<br> |
| 60 | {<br> |
| 61 | "url": "A String", # The URL to which the Ad Exchange will send bid requests.<br> |
| 62 | "maximumQps": 42, # The maximum queries per second the Ad Exchange will send.<br> |
| 63 | },<br> |
| 64 | ],<br> |
| 65 | "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.<br> |
| 66 | "id": 42, # Account id.<br> |
| 67 | "cookieMatchingUrl": "A String", # The base URL used in cookie match requests.<br> |
| 68 | },<br> |
| 69 | ],<br> |
| 70 | "kind": "adexchangebuyer#accountsList", # Resource type.<br> |
| 71 | }</tt></dd></dl> |
| 72 | |
| 73 | <dl><dt><a name="Resource-patch"><strong>patch</strong></a> = method(self, **kwargs)</dt><dd><tt>Updates an existing account. This method supports patch semantics.<br> |
| 74 | <br> |
| 75 | Args:<br> |
| 76 | body: object, The request body. (required)<br> |
| 77 | The object takes the form of:<br> |
| 78 | <br> |
| 79 | {<br> |
| 80 | "kind": "adexchangebuyer#account", # Resource type.<br> |
| 81 | "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.<br> |
| 82 | "bidderLocation": [ # Your bidder locations that have distinct URLs.<br> |
| 83 | {<br> |
| 84 | "url": "A String", # The URL to which the Ad Exchange will send bid requests.<br> |
| 85 | "maximumQps": 42, # The maximum queries per second the Ad Exchange will send.<br> |
| 86 | },<br> |
| 87 | ],<br> |
| 88 | "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.<br> |
| 89 | "id": 42, # Account id.<br> |
| 90 | "cookieMatchingUrl": "A String", # The base URL used in cookie match requests.<br> |
| 91 | }<br> |
| 92 | <br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 93 | pp: string, A parameter<br> |
| 94 | trace: string, A parameter<br> |
| 95 | strict: string, A parameter<br> |
| 96 | userip: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 97 | id: integer, The account id (required)<br> |
| 98 | <br> |
| 99 | Returns:<br> |
| 100 | An object of the form<br> |
| 101 | <br> |
| 102 | {<br> |
| 103 | "kind": "adexchangebuyer#account", # Resource type.<br> |
| 104 | "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.<br> |
| 105 | "bidderLocation": [ # Your bidder locations that have distinct URLs.<br> |
| 106 | {<br> |
| 107 | "url": "A String", # The URL to which the Ad Exchange will send bid requests.<br> |
| 108 | "maximumQps": 42, # The maximum queries per second the Ad Exchange will send.<br> |
| 109 | },<br> |
| 110 | ],<br> |
| 111 | "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.<br> |
| 112 | "id": 42, # Account id.<br> |
| 113 | "cookieMatchingUrl": "A String", # The base URL used in cookie match requests.<br> |
| 114 | }</tt></dd></dl> |
| 115 | |
| 116 | <dl><dt><a name="Resource-update"><strong>update</strong></a> = method(self, **kwargs)</dt><dd><tt>Updates an existing account.<br> |
| 117 | <br> |
| 118 | Args:<br> |
| 119 | body: object, The request body. (required)<br> |
| 120 | The object takes the form of:<br> |
| 121 | <br> |
| 122 | {<br> |
| 123 | "kind": "adexchangebuyer#account", # Resource type.<br> |
| 124 | "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.<br> |
| 125 | "bidderLocation": [ # Your bidder locations that have distinct URLs.<br> |
| 126 | {<br> |
| 127 | "url": "A String", # The URL to which the Ad Exchange will send bid requests.<br> |
| 128 | "maximumQps": 42, # The maximum queries per second the Ad Exchange will send.<br> |
| 129 | },<br> |
| 130 | ],<br> |
| 131 | "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.<br> |
| 132 | "id": 42, # Account id.<br> |
| 133 | "cookieMatchingUrl": "A String", # The base URL used in cookie match requests.<br> |
| 134 | }<br> |
| 135 | <br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 136 | pp: string, A parameter<br> |
| 137 | trace: string, A parameter<br> |
| 138 | strict: string, A parameter<br> |
| 139 | userip: string, A parameter<br> |
Joe Gregorio | 4189954 | 2012-04-23 09:02:05 -0400 | [diff] [blame] | 140 | id: integer, The account id (required)<br> |
| 141 | <br> |
| 142 | Returns:<br> |
| 143 | An object of the form<br> |
| 144 | <br> |
| 145 | {<br> |
| 146 | "kind": "adexchangebuyer#account", # Resource type.<br> |
| 147 | "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.<br> |
| 148 | "bidderLocation": [ # Your bidder locations that have distinct URLs.<br> |
| 149 | {<br> |
| 150 | "url": "A String", # The URL to which the Ad Exchange will send bid requests.<br> |
| 151 | "maximumQps": 42, # The maximum queries per second the Ad Exchange will send.<br> |
| 152 | },<br> |
| 153 | ],<br> |
| 154 | "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.<br> |
| 155 | "id": 42, # Account id.<br> |
| 156 | "cookieMatchingUrl": "A String", # The base URL used in cookie match requests.<br> |
| 157 | }</tt></dd></dl> |
| 158 | |
| 159 | <hr> |
| 160 | Data descriptors defined here:<br> |
| 161 | <dl><dt><strong>__dict__</strong></dt> |
| 162 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 163 | </dl> |
| 164 | <dl><dt><strong>__weakref__</strong></dt> |
| 165 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 166 | </dl> |
| 167 | </td></tr></table> |
| 168 | </body></html> |