Skip to content
Ads API •References / ad-categories / Get Ad Categories

Get Ad Categories

Returns ad category information based on given query parameter. If no query parameter is provided, all categories will be returned.

Request

  • q
    string

    Query to search by keyword via case-insensitive wildcard matching.

    Example: q=query

Response

A list of ad categories.

    • id
      string

      The ID of a given ad category. IDs with a 0 value are parent categories.

      Example: "ADV_1_8"
    • parent_category
      string

      The name of the parent category.

      Example: "Automotive"
    • name
      string

      A string concatenation of category and sub category names with a " - " delimiter. The name here will be only the category name for parent categories.

      Example: "Automotive - Auto Towing and Repair"

Response sample

{  "categories": [    {      "id": "ADV_1_8",      "parent_category": "Automotive",      "name": "Automotive - Auto Towing and Repair"    }  ]}