Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -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="displayvideo_v1.html">Display & Video 360 API</a> . <a href="displayvideo_v1.googleAudiences.html">googleAudiences</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 78 | <code><a href="#get">get(googleAudienceId, advertiserId=None, partnerId=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 79 | <p class="firstline">Gets a Google audience.</p> |
| 80 | <p class="toc_element"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 81 | <code><a href="#list">list(filter=None, pageToken=None, pageSize=None, advertiserId=None, orderBy=None, partnerId=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 82 | <p class="firstline">Lists Google audiences.</p> |
| 83 | <p class="toc_element"> |
| 84 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 85 | <p class="firstline">Retrieves the next page of results.</p> |
| 86 | <h3>Method Details</h3> |
| 87 | <div class="method"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 88 | <code class="details" id="get">get(googleAudienceId, advertiserId=None, partnerId=None, x__xgafv=None)</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 89 | <pre>Gets a Google audience. |
| 90 | |
| 91 | Args: |
| 92 | googleAudienceId: string, Required. The ID of the Google audience to fetch. (required) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 93 | advertiserId: string, The ID of the advertiser that has access to the fetched Google audience. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 94 | partnerId: string, The ID of the partner that has access to the fetched Google audience. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 95 | x__xgafv: string, V1 error format. |
| 96 | Allowed values |
| 97 | 1 - v1 error format |
| 98 | 2 - v2 error format |
| 99 | |
| 100 | Returns: |
| 101 | An object of the form: |
| 102 | |
| 103 | { # Describes a Google audience resource. |
| 104 | # Includes Google audience lists. |
| 105 | "googleAudienceType": "A String", # Output only. The type of Google audience. |
| 106 | # . |
| 107 | "googleAudienceId": "A String", # Output only. The unique ID of the Google audience. Assigned by the system. |
| 108 | "name": "A String", # Output only. The resource name of the google audience. |
| 109 | "displayName": "A String", # Output only. The display name of the Google audience. |
| 110 | # . |
| 111 | }</pre> |
| 112 | </div> |
| 113 | |
| 114 | <div class="method"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 115 | <code class="details" id="list">list(filter=None, pageToken=None, pageSize=None, advertiserId=None, orderBy=None, partnerId=None, x__xgafv=None)</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 116 | <pre>Lists Google audiences. |
| 117 | |
| 118 | The order is defined by the order_by |
| 119 | parameter. |
| 120 | |
| 121 | Args: |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 122 | filter: string, Allows filtering by Google audience fields. |
| 123 | |
| 124 | Supported syntax: |
| 125 | |
| 126 | * Filter expressions for Google audiences currently can only contain at |
| 127 | most one restriction. |
| 128 | * A restriction has the form of `{field} {operator} {value}`. |
| 129 | * The operator must be `CONTAINS (:)`. |
| 130 | * Supported fields: |
| 131 | - `displayName` |
| 132 | |
| 133 | Examples: |
| 134 | |
| 135 | * All Google audiences for which the display name contains "Google": |
| 136 | `displayName : "Google"`. |
| 137 | |
| 138 | The length of this field should be no more than 500 characters. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 139 | pageToken: string, A token identifying a page of results the server should return. |
| 140 | Typically, this is the value of |
| 141 | next_page_token |
| 142 | returned from the previous call to `ListGoogleAudiences` method. |
| 143 | If not specified, the first page of results will be returned. |
| 144 | pageSize: integer, Requested page size. Must be between `1` and `100`. If unspecified will |
| 145 | default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value |
| 146 | is specified. |
| 147 | advertiserId: string, The ID of the advertiser that has access to the fetched Google audiences. |
| 148 | orderBy: string, Field by which to sort the list. |
| 149 | Acceptable values are: |
| 150 | |
| 151 | * `googleAudienceId` (default) |
| 152 | * `displayName` |
| 153 | |
| 154 | The default sorting order is ascending. To specify descending order for |
| 155 | a field, a suffix "desc" should be added to the field name. Example: |
| 156 | `displayName desc`. |
| 157 | partnerId: string, The ID of the partner that has access to the fetched Google audiences. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 158 | x__xgafv: string, V1 error format. |
| 159 | Allowed values |
| 160 | 1 - v1 error format |
| 161 | 2 - v2 error format |
| 162 | |
| 163 | Returns: |
| 164 | An object of the form: |
| 165 | |
| 166 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 167 | "googleAudiences": [ # The list of Google audiences. |
| 168 | # |
| 169 | # This list will be absent if empty. |
| 170 | { # Describes a Google audience resource. |
| 171 | # Includes Google audience lists. |
| 172 | "googleAudienceType": "A String", # Output only. The type of Google audience. |
| 173 | # . |
| 174 | "googleAudienceId": "A String", # Output only. The unique ID of the Google audience. Assigned by the system. |
| 175 | "name": "A String", # Output only. The resource name of the google audience. |
| 176 | "displayName": "A String", # Output only. The display name of the Google audience. |
| 177 | # . |
| 178 | }, |
| 179 | ], |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 180 | "nextPageToken": "A String", # A token to retrieve the next page of results. |
| 181 | # Pass this value in the |
| 182 | # page_token |
| 183 | # field in the subsequent call to `ListGoogleAudiences` method to retrieve |
| 184 | # the next page of results. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 185 | }</pre> |
| 186 | </div> |
| 187 | |
| 188 | <div class="method"> |
| 189 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 190 | <pre>Retrieves the next page of results. |
| 191 | |
| 192 | Args: |
| 193 | previous_request: The request for the previous page. (required) |
| 194 | previous_response: The response from the request for the previous page. (required) |
| 195 | |
| 196 | Returns: |
| 197 | A request object that you can call 'execute()' on to request the next |
| 198 | page. Returns None if there are no more items in the collection. |
| 199 | </pre> |
| 200 | </div> |
| 201 | |
| 202 | </body></html> |