Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [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-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>List all URL channels in the specified ad client for this AdSense account.<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> |
Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [diff] [blame] | 22 | pageToken: string, A continuation token, used to page through URL channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.<br> |
| 23 | adClientId: string, Ad client for which to list URL channels. (required)<br> |
| 24 | maxResults: integer, The maximum number of URL channels to include in the response, used for paging.<br> |
Joe Gregorio | 6621203 | 2012-06-14 09:10:14 -0400 | [diff] [blame] | 25 | strict: string, A parameter<br> |
| 26 | userip: string, A parameter<br> |
Joe Gregorio | 2401bd6 | 2011-12-15 09:18:49 -0500 | [diff] [blame] | 27 | <br> |
| 28 | Returns:<br> |
| 29 | An object of the form<br> |
| 30 | <br> |
| 31 | {<br> |
| 32 | "nextPageToken": "A String", # Continuation token used to page through URL channels. To retrieve the next page of results, set the next request's "pageToken" value to this.<br> |
| 33 | "items": [ # The URL channels returned in this list response.<br> |
| 34 | {<br> |
| 35 | "kind": "adsense#urlChannel", # Kind of resource this is, in this case adsense#urlChannel.<br> |
| 36 | "id": "A String", # Unique identifier of this URL channel. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.<br> |
| 37 | "urlPattern": "A String", # URL Pattern of this URL channel. Does not include "http://" or "https://". Example: www.example.com/home<br> |
| 38 | },<br> |
| 39 | ],<br> |
| 40 | "kind": "adsense#urlChannels", # Kind of list this is, in this case adsense#urlChannels.<br> |
| 41 | "etag": "A String", # ETag of this response for caching purposes.<br> |
| 42 | }</tt></dd></dl> |
| 43 | |
| 44 | <dl><dt><a name="Resource-list_next"><strong>list_next</strong></a> = methodNext(self, previous_request, previous_response)</dt><dd><tt>Retrieves the next page of results.<br> |
| 45 | <br> |
| 46 | Args:<br> |
| 47 | previous_request: The request for the previous page.<br> |
| 48 | previous_response: The response from the request for the previous page.<br> |
| 49 | <br> |
| 50 | Returns:<br> |
| 51 | A request object that you can call 'execute()' on to request the next<br> |
| 52 | page. Returns None if there are no more items in the collection.</tt></dd></dl> |
| 53 | |
| 54 | <hr> |
| 55 | Data descriptors defined here:<br> |
| 56 | <dl><dt><strong>__dict__</strong></dt> |
| 57 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
| 58 | </dl> |
| 59 | <dl><dt><strong>__weakref__</strong></dt> |
| 60 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 61 | </dl> |
| 62 | </td></tr></table> |
| 63 | </body></html> |