dfareporting.accounts.list

GET {{baseUrl}}/userprofiles/:profileId/accounts?active=<boolean>&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>

Retrieves the list of accounts, possibly filtered. This method supports paging.

Request Params

KeyDatatypeRequiredDescription
activestringSelect only active accounts. Don't set this field to select both active and non-active accounts.
idsstringSelect only accounts with these IDs.
idsstringSelect only accounts 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, "account2015" will return objects with names like "account June 2015", "account April 2015", or simply "account 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 "account" will match objects with name "my account", "account 2015", or simply "account".
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;accounts&quot;:[{&quot;accountPermissionIds&quot;:[&quot;consectetur in&quot;,&quot;labore in incididunt et&quot;],&quot;accountProfile&quot;:&quot;ACCOUNT_PROFILE_STANDARD&quot;,&quot;active&quot;:false,&quot;activeAdsLimitTier&quot;:&quot;ACTIVE_ADS_TIER_1M&quot;,&quot;activeViewOptOut&quot;:true,&quot;availablePermissionIds&quot;:[&quot;Lorem voluptate&quot;,&quot;deserunt eiusmod ut&quot;],&quot;countryId&quot;:&quot;dolor sed&quot;,&quot;currencyId&quot;:&quot;ipsum ea nulla dolore&quot;,&quot;defaultCreativeSizeId&quot;:&quot;ad eiusmod proident consequat cupidatat&quot;,&quot;description&quot;:&quot;in ut&quot;,&quot;id&quot;:&quot;ipsum cupidatat esse dolor&quot;,&quot;kind&quot;:&quot;ei&quot;,&quot;locale&quot;:&quot;i&quot;,&quot;maximumImageSize&quot;:&quot;eiusmod laborum&quot;,&quot;name&quot;:&quot;anim ut in officia&quot;,&quot;nielsenOcrEnabled&quot;:false,&quot;reportsConfiguration&quot;:{&quot;exposureToConversionEnabled&quot;:true,&quot;lookbackConfiguration&quot;:{&quot;clickDuration&quot;:-89315924,&quot;postImpressionActivitiesDuration&quot;:4080895},&quot;reportGenerationTimeZoneId&quot;:&quot;est anim consectetur sint&quot;},&quot;shareReportsWithTwitter&quot;:false,&quot;teaserSizeLimit&quot;:&quot;deserunt sint l&quot;},{&quot;accountPermissionIds&quot;:[&quot;aliqua esse dolor in&quot;,&quot;magna occaecat velit&quot;],&quot;accountProfile&quot;:&quot;ACCOUNT_PROFILE_STANDARD&quot;,&quot;active&quot;:true,&quot;activeAdsLimitTier&quot;:&quot;ACTIVE_ADS_TIER_75K&quot;,&quot;activeViewOptOut&quot;:false,&quot;availablePermissionIds&quot;:[&quot;est officia cupidatat do cillum&quot;,&quot;id&quot;],&quot;countryId&quot;:&quot;cillum&quot;,&quot;currencyId&quot;:&quot;Ut exercitation&quot;,&quot;defaultCreativeSizeId&quot;:&quot;magna&quot;,&quot;description&quot;:&quot;consequat cupidatat non&quot;,&quot;id&quot;:&quot;mollit&quot;,&quot;kind&quot;:&quot;adipisicing labore anim deserunt&quot;,&quot;locale&quot;:&quot;velit laborum&quot;,&quot;maximumImageSize&quot;:&quot;in magna Duis veniam&quot;,&quot;name&quot;:&quot;dolore&quot;,&quot;nielsenOcrEnabled&quot;:false,&quot;reportsConfiguration&quot;:{&quot;exposureToConversionEnabled&quot;:true,&quot;lookbackConfiguration&quot;:{&quot;clickDuration&quot;:-93758188,&quot;postImpressionActivitiesDuration&quot;:66884757},&quot;reportGenerationTimeZoneId&quot;:&quot;aliqua irure nulla anim&quot;},&quot;shareReportsWithTwitter&quot;:true,&quot;teaserSizeLimit&quot;:&quot;labore est Du&quot;}],&quot;kind&quot;:&quot;reprehenderit minim sint&quot;,&quot;nextPageToken&quot;:&quot;commodo amet culpa reprehenderit Ut&quot;}