Ads APIReferences / targets / Get Genre Targets

Get Genre Targets

Returns genre information. If no query parameter is provided, all genres will be returned.

Request

  • idsarray of strings

    A list of unique identifiers for genres.

    Example: ids=rock&ids=jazz
  • qstring

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

    Example: q=query

Response

A list of genres.

    • idstring
    • namestring

Response sample

{  "genres": [    {      "id": "rock",      "name": "Rock"    }  ]}