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="dfareporting_v3_4.html">Campaign Manager 360 API</a> . <a href="dfareporting_v3_4.accountUserProfiles.html">accountUserProfiles</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(profileId, id, x__xgafv=None)</a></code></p> 82<p class="firstline">Gets one account user profile by ID.</p> 83<p class="toc_element"> 84 <code><a href="#insert">insert(profileId, body=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Inserts a new account user profile.</p> 86<p class="toc_element"> 87 <code><a href="#list">list(profileId, active=None, ids=None, maxResults=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, subaccountId=None, userRoleId=None, x__xgafv=None)</a></code></p> 88<p class="firstline">Retrieves a list of account user profiles, possibly filtered. This method supports paging.</p> 89<p class="toc_element"> 90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 91<p class="firstline">Retrieves the next page of results.</p> 92<p class="toc_element"> 93 <code><a href="#patch">patch(profileId, id, body=None, x__xgafv=None)</a></code></p> 94<p class="firstline">Updates an existing account user profile. This method supports patch semantics.</p> 95<p class="toc_element"> 96 <code><a href="#update">update(profileId, body=None, x__xgafv=None)</a></code></p> 97<p class="firstline">Updates an existing account user profile.</p> 98<h3>Method Details</h3> 99<div class="method"> 100 <code class="details" id="close">close()</code> 101 <pre>Close httplib2 connections.</pre> 102</div> 103 104<div class="method"> 105 <code class="details" id="get">get(profileId, id, x__xgafv=None)</code> 106 <pre>Gets one account user profile by ID. 107 108Args: 109 profileId: string, User profile ID associated with this request. (required) 110 id: string, User profile ID. (required) 111 x__xgafv: string, V1 error format. 112 Allowed values 113 1 - v1 error format 114 2 - v2 error format 115 116Returns: 117 An object of the form: 118 119 { # AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API. 120 "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank. 121 "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable. 122 "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile. 123 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 124 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 125 "A String", 126 ], 127 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 128 }, 129 "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile. 130 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 131 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 132 "A String", 133 ], 134 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 135 }, 136 "comments": "A String", # Comments for this user profile. 137 "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion. 138 "id": "A String", # ID of the user profile. This is a read-only, auto-generated field. 139 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile". 140 "locale": "A String", # Locale of the user profile. This is a required field. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional) 141 "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;<>"#%,". 142 "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile. 143 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 144 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 145 "A String", 146 ], 147 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 148 }, 149 "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank. 150 "traffickerType": "A String", # Trafficker type of this user profile. This is a read-only field. 151 "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank. 152 "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile. 153 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 154 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 155 "A String", 156 ], 157 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 158 }, 159 "userRoleId": "A String", # User role ID of the user profile. This is a required field. 160}</pre> 161</div> 162 163<div class="method"> 164 <code class="details" id="insert">insert(profileId, body=None, x__xgafv=None)</code> 165 <pre>Inserts a new account user profile. 166 167Args: 168 profileId: string, User profile ID associated with this request. (required) 169 body: object, The request body. 170 The object takes the form of: 171 172{ # AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API. 173 "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank. 174 "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable. 175 "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile. 176 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 177 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 178 "A String", 179 ], 180 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 181 }, 182 "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile. 183 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 184 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 185 "A String", 186 ], 187 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 188 }, 189 "comments": "A String", # Comments for this user profile. 190 "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion. 191 "id": "A String", # ID of the user profile. This is a read-only, auto-generated field. 192 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile". 193 "locale": "A String", # Locale of the user profile. This is a required field. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional) 194 "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;<>"#%,". 195 "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile. 196 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 197 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 198 "A String", 199 ], 200 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 201 }, 202 "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank. 203 "traffickerType": "A String", # Trafficker type of this user profile. This is a read-only field. 204 "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank. 205 "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile. 206 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 207 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 208 "A String", 209 ], 210 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 211 }, 212 "userRoleId": "A String", # User role ID of the user profile. This is a required field. 213} 214 215 x__xgafv: string, V1 error format. 216 Allowed values 217 1 - v1 error format 218 2 - v2 error format 219 220Returns: 221 An object of the form: 222 223 { # AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API. 224 "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank. 225 "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable. 226 "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile. 227 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 228 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 229 "A String", 230 ], 231 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 232 }, 233 "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile. 234 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 235 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 236 "A String", 237 ], 238 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 239 }, 240 "comments": "A String", # Comments for this user profile. 241 "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion. 242 "id": "A String", # ID of the user profile. This is a read-only, auto-generated field. 243 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile". 244 "locale": "A String", # Locale of the user profile. This is a required field. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional) 245 "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;<>"#%,". 246 "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile. 247 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 248 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 249 "A String", 250 ], 251 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 252 }, 253 "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank. 254 "traffickerType": "A String", # Trafficker type of this user profile. This is a read-only field. 255 "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank. 256 "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile. 257 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 258 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 259 "A String", 260 ], 261 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 262 }, 263 "userRoleId": "A String", # User role ID of the user profile. This is a required field. 264}</pre> 265</div> 266 267<div class="method"> 268 <code class="details" id="list">list(profileId, active=None, ids=None, maxResults=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, subaccountId=None, userRoleId=None, x__xgafv=None)</code> 269 <pre>Retrieves a list of account user profiles, possibly filtered. This method supports paging. 270 271Args: 272 profileId: string, User profile ID associated with this request. (required) 273 active: boolean, Select only active user profiles. 274 ids: string, Select only user profiles with these IDs. (repeated) 275 maxResults: integer, Maximum number of results to return. 276 pageToken: string, Value of the nextPageToken from the previous result page. 277 searchString: string, Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, "user profile*2015" will return objects with names like "user profile June 2015", "user profile April 2015", or simply "user profile 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "user profile" will match objects with name "my user profile", "user profile 2015", or simply "user profile". 278 sortField: string, Field by which to sort the list. 279 Allowed values 280 ID - 281 NAME - 282 sortOrder: string, Order of sorted results. 283 Allowed values 284 ASCENDING - 285 DESCENDING - 286 subaccountId: string, Select only user profiles with the specified subaccount ID. 287 userRoleId: string, Select only user profiles with the specified user role ID. 288 x__xgafv: string, V1 error format. 289 Allowed values 290 1 - v1 error format 291 2 - v2 error format 292 293Returns: 294 An object of the form: 295 296 { # Account User Profile List Response 297 "accountUserProfiles": [ # Account user profile collection. 298 { # AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API. 299 "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank. 300 "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable. 301 "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile. 302 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 303 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 304 "A String", 305 ], 306 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 307 }, 308 "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile. 309 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 310 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 311 "A String", 312 ], 313 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 314 }, 315 "comments": "A String", # Comments for this user profile. 316 "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion. 317 "id": "A String", # ID of the user profile. This is a read-only, auto-generated field. 318 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile". 319 "locale": "A String", # Locale of the user profile. This is a required field. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional) 320 "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;<>"#%,". 321 "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile. 322 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 323 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 324 "A String", 325 ], 326 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 327 }, 328 "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank. 329 "traffickerType": "A String", # Trafficker type of this user profile. This is a read-only field. 330 "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank. 331 "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile. 332 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 333 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 334 "A String", 335 ], 336 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 337 }, 338 "userRoleId": "A String", # User role ID of the user profile. This is a required field. 339 }, 340 ], 341 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfilesListResponse". 342 "nextPageToken": "A String", # Pagination token to be used for the next list operation. 343}</pre> 344</div> 345 346<div class="method"> 347 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 348 <pre>Retrieves the next page of results. 349 350Args: 351 previous_request: The request for the previous page. (required) 352 previous_response: The response from the request for the previous page. (required) 353 354Returns: 355 A request object that you can call 'execute()' on to request the next 356 page. Returns None if there are no more items in the collection. 357 </pre> 358</div> 359 360<div class="method"> 361 <code class="details" id="patch">patch(profileId, id, body=None, x__xgafv=None)</code> 362 <pre>Updates an existing account user profile. This method supports patch semantics. 363 364Args: 365 profileId: string, User profile ID associated with this request. (required) 366 id: string, AccountUserProfile ID. (required) 367 body: object, The request body. 368 The object takes the form of: 369 370{ # AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API. 371 "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank. 372 "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable. 373 "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile. 374 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 375 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 376 "A String", 377 ], 378 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 379 }, 380 "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile. 381 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 382 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 383 "A String", 384 ], 385 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 386 }, 387 "comments": "A String", # Comments for this user profile. 388 "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion. 389 "id": "A String", # ID of the user profile. This is a read-only, auto-generated field. 390 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile". 391 "locale": "A String", # Locale of the user profile. This is a required field. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional) 392 "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;<>"#%,". 393 "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile. 394 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 395 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 396 "A String", 397 ], 398 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 399 }, 400 "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank. 401 "traffickerType": "A String", # Trafficker type of this user profile. This is a read-only field. 402 "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank. 403 "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile. 404 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 405 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 406 "A String", 407 ], 408 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 409 }, 410 "userRoleId": "A String", # User role ID of the user profile. This is a required field. 411} 412 413 x__xgafv: string, V1 error format. 414 Allowed values 415 1 - v1 error format 416 2 - v2 error format 417 418Returns: 419 An object of the form: 420 421 { # AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API. 422 "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank. 423 "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable. 424 "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile. 425 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 426 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 427 "A String", 428 ], 429 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 430 }, 431 "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile. 432 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 433 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 434 "A String", 435 ], 436 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 437 }, 438 "comments": "A String", # Comments for this user profile. 439 "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion. 440 "id": "A String", # ID of the user profile. This is a read-only, auto-generated field. 441 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile". 442 "locale": "A String", # Locale of the user profile. This is a required field. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional) 443 "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;<>"#%,". 444 "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile. 445 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 446 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 447 "A String", 448 ], 449 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 450 }, 451 "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank. 452 "traffickerType": "A String", # Trafficker type of this user profile. This is a read-only field. 453 "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank. 454 "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile. 455 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 456 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 457 "A String", 458 ], 459 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 460 }, 461 "userRoleId": "A String", # User role ID of the user profile. This is a required field. 462}</pre> 463</div> 464 465<div class="method"> 466 <code class="details" id="update">update(profileId, body=None, x__xgafv=None)</code> 467 <pre>Updates an existing account user profile. 468 469Args: 470 profileId: string, User profile ID associated with this request. (required) 471 body: object, The request body. 472 The object takes the form of: 473 474{ # AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API. 475 "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank. 476 "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable. 477 "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile. 478 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 479 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 480 "A String", 481 ], 482 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 483 }, 484 "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile. 485 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 486 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 487 "A String", 488 ], 489 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 490 }, 491 "comments": "A String", # Comments for this user profile. 492 "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion. 493 "id": "A String", # ID of the user profile. This is a read-only, auto-generated field. 494 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile". 495 "locale": "A String", # Locale of the user profile. This is a required field. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional) 496 "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;<>"#%,". 497 "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile. 498 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 499 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 500 "A String", 501 ], 502 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 503 }, 504 "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank. 505 "traffickerType": "A String", # Trafficker type of this user profile. This is a read-only field. 506 "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank. 507 "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile. 508 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 509 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 510 "A String", 511 ], 512 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 513 }, 514 "userRoleId": "A String", # User role ID of the user profile. This is a required field. 515} 516 517 x__xgafv: string, V1 error format. 518 Allowed values 519 1 - v1 error format 520 2 - v2 error format 521 522Returns: 523 An object of the form: 524 525 { # AccountUserProfiles contains properties of a Campaign Manager user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API. 526 "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank. 527 "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable. 528 "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile. 529 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 530 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 531 "A String", 532 ], 533 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 534 }, 535 "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile. 536 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 537 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 538 "A String", 539 ], 540 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 541 }, 542 "comments": "A String", # Comments for this user profile. 543 "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion. 544 "id": "A String", # ID of the user profile. This is a read-only, auto-generated field. 545 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile". 546 "locale": "A String", # Locale of the user profile. This is a required field. Acceptable values are: - "cs" (Czech) - "de" (German) - "en" (English) - "en-GB" (English United Kingdom) - "es" (Spanish) - "fr" (French) - "it" (Italian) - "ja" (Japanese) - "ko" (Korean) - "pl" (Polish) - "pt-BR" (Portuguese Brazil) - "ru" (Russian) - "sv" (Swedish) - "tr" (Turkish) - "zh-CN" (Chinese Simplified) - "zh-TW" (Chinese Traditional) 547 "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;<>"#%,". 548 "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile. 549 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 550 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 551 "A String", 552 ], 553 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 554 }, 555 "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank. 556 "traffickerType": "A String", # Trafficker type of this user profile. This is a read-only field. 557 "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank. 558 "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile. 559 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter". 560 "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs. 561 "A String", 562 ], 563 "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list. 564 }, 565 "userRoleId": "A String", # User role ID of the user profile. This is a required field. 566}</pre> 567</div> 568 569</body></html>