dfareporting.subaccounts.list

GET {{baseUrl}}/userprofiles/:profileId/subaccounts?ids=<string>&ids=<string>&maxResults=<integer>&pageToken=<string>&searchString=<string>&sortField=<string>&sortOrder=<string>&$.xgafv=<string>&access_token=<string>&alt=<string>&callback=<string>&fields=<string>&key=<string>&oauth_token=<string>&prettyPrint=<boolean>&quotaUser=<string>&upload_protocol=<string>&uploadType=<string>

Gets a list of subaccounts, possibly filtered. This method supports paging.

Request Params

KeyDatatypeRequiredDescription
idsstringSelect only subaccounts with these IDs.
idsstringSelect only subaccounts with these IDs.
maxResultsstringMaximum number of results to return.
pageTokenstringValue of the nextPageToken from the previous result page.
searchStringstringAllows searching for objects by name or ID. Wildcards () are allowed. For example, "subaccount2015" will return objects with names like "subaccount June 2015", "subaccount April 2015", or simply "subaccount 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 "subaccount" will match objects with name "my subaccount", "subaccount 2015", or simply "subaccount" .
sortFieldstringField by which to sort the list.
sortOrderstringOrder of sorted results.
$.xgafvstringV1 error format.
access_tokenstringOAuth access token.
altstringData format for response.
callbackstringJSONP
fieldsstringSelector specifying which fields to include in a partial response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
oauth_tokenstringOAuth 2.0 token for the current user.
prettyPrintstringReturns response with indentations and line breaks.
quotaUserstringAvailable to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
upload_protocolstringUpload protocol for media (e.g. "raw", "multipart").
uploadTypestringLegacy upload protocol for media (e.g. "media", "multipart").

RESPONSES

status: OK

{&quot;kind&quot;:&quot;voluptate Ut do&quot;,&quot;nextPageToken&quot;:&quot;nulla ut&quot;,&quot;subaccounts&quot;:[{&quot;accountId&quot;:&quot;aute occaecat anim&quot;,&quot;availablePermissionIds&quot;:[&quot;reprehenderit sint mollit in&quot;,&quot;sed in in minim incididunt&quot;],&quot;id&quot;:&quot;et &quot;,&quot;kind&quot;:&quot;ad nulla&quot;,&quot;name&quot;:&quot;Lorem non irure adipisicing rep&quot;},{&quot;accountId&quot;:&quot;in ut laborum&quot;,&quot;availablePermissionIds&quot;:[&quot;culpa voluptate&quot;,&quot;eu elit nisi Lore&quot;],&quot;id&quot;:&quot;deserunt cillum&quot;,&quot;kind&quot;:&quot;sit mollit aliquip&quot;,&quot;name&quot;:&quot;laborum anim in ut non&quot;}]}