dfareporting.content Categories.list

GET {{baseUrl}}/userprofiles/:profileId/contentCategories?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 a list of content categories, possibly filtered. This method supports paging.

Request Params

KeyDatatypeRequiredDescription
idsstringSelect only content categories with these IDs.
idsstringSelect only content categories 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, "contentcategory2015" will return objects with names like "contentcategory June 2015", "contentcategory April 2015", or simply "contentcategory 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 "contentcategory" will match objects with name "my contentcategory", "contentcategory 2015", or simply "contentcategory".
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;contentCategories&quot;:[{&quot;accountId&quot;:&quot;aliquip eiusmod exercitation laborum commodo&quot;,&quot;id&quot;:&quot;dolore irure eu aliq&quot;,&quot;kind&quot;:&quot;deserunt elit laboris qui sit&quot;,&quot;name&quot;:&quot;esse sint anim&quot;},{&quot;accountId&quot;:&quot;voluptate do ad commodo&quot;,&quot;id&quot;:&quot;ut ex elit quis sit&quot;,&quot;kind&quot;:&quot;cupidatat&quot;,&quot;name&quot;:&quot;elit ea sint id&quot;}],&quot;kind&quot;:&quot;&quot;,&quot;nextPageToken&quot;:&quot;in non id&quot;}