List

Retrieves a list of content categories, possibly filtered

7 variables
7 variables

Retrieves a list of content categories, possibly filtered. This method supports paging

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns

Input

This building block consumes 7 input parameters

  = Parameter name
  = Format

profileId INTEGER Required

User profile ID associated with this request

ids INTEGER

Select only content categories with these IDs

maxResults INTEGER

Maximum number of results to return

pageToken STRING

Value of the nextPageToken from the previous result page

searchString STRING

Allows 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"

sortField ENUMERATION

Field by which to sort the list

sortOrder ENUMERATION

Order of sorted results

Output

This building block provides 7 output parameters

  = Parameter name
  = Format

contentCategories[] OBJECT

Organizes placements according to the contents of their associated webpages

contentCategories[].accountId INTEGER

Account ID of this content category. This is a read-only field that can be left blank

contentCategories[].id INTEGER

ID of this content category. This is a read-only, auto-generated field

contentCategories[].kind STRING

Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategory"

contentCategories[].name STRING

Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account

kind STRING

Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategoriesListResponse"

nextPageToken STRING

Pagination token to be used for the next list operation