---
title: /v2/advertisers/{advertiserId}/eligible/products/search
slug: campaign-reporting-apis/v2advertisersadvertiserideligibleproductssearch
docTags: 
createdAt: 2026-03-25T10:57:30.256Z
---

{
  "id": "f7s-03-F_zcWR2ST38NOj",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "https://<pcm-domain>/v2/advertisers/{advertiserId}/eligible/products/search",
    "servers": [
      {
        "url": "https://<pcm-domain>/v2/advertisers/{advertiserId}/eligible/products/search",
        "description": "Generated server url"
      }
    ],
    "name": "",
    "description": "Retrieves filtered and paginated products that the advertiser has access to.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "advertiserId",
          "type": "integer<int32>",
          "description": "",
          "format": "int32"
        }
      ],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "body",
          "type": "object",
          "description": "",
          "customType": "ProductSearchRequest",
          "schema": [
            {
              "name": "filters",
              "kind": "optional",
              "type": "array",
              "description": "",
              "modelRef": "#/components/schemas/FilterValuesProductFilterField",
              "customType": "FilterValuesProductFilterField[]",
              "schema": [
                {
                  "name": "field",
                  "kind": "optional",
                  "type": "string<GTIN | BRAND | CATEGORY_ID | REMOVED>",
                  "description": "",
                  "example": "",
                  "enum": [
                    "GTIN",
                    "BRAND",
                    "CATEGORY_ID",
                    "REMOVED"
                  ]
                },
                {
                  "name": "values",
                  "kind": "optional",
                  "type": "array",
                  "description": "",
                  "example": "",
                  "itemType": "object",
                  "customType": "object[]",
                  "itemExample": "",
                  "itemDefault": ""
                }
              ]
            },
            {
              "name": "page",
              "kind": "required",
              "type": "integer<int32>",
              "description": "",
              "example": 0,
              "format": "int32",
              "minimum": 0,
              "maximum": 1000
            },
            {
              "name": "limit",
              "kind": "required",
              "type": "integer<int32>",
              "description": "",
              "example": 0,
              "format": "int32",
              "minimum": 1,
              "maximum": 10000
            },
            {
              "name": "sortType",
              "kind": "optional",
              "type": "string<ASC | DESC>",
              "description": "",
              "example": "",
              "enum": [
                "ASC",
                "DESC"
              ]
            },
            {
              "name": "publisherId",
              "kind": "required",
              "type": "integer<int32>",
              "description": "",
              "example": 0,
              "format": "int32"
            },
            {
              "name": "marketId",
              "kind": "required",
              "type": "integer<int32>",
              "description": "",
              "example": 0,
              "format": "int32"
            },
            {
              "name": "orderBy",
              "kind": "required",
              "type": "string<TITLE | BRAND | GTIN | AVAILABILITY>",
              "description": "",
              "example": "",
              "enum": [
                "TITLE",
                "BRAND",
                "GTIN",
                "AVAILABILITY"
              ]
            }
          ],
          "modelRef": "#/components/schemas/ProductSearchRequest",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "ProductListResponse",
            "schema": [
              {
                "name": "detailed",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/ProductResponse",
                "customType": "ProductResponse[]",
                "schema": [
                  {
                    "name": "gtin",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "productGroupId",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "title",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "brand",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "imageUrl",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "price",
                    "kind": "optional",
                    "type": "number",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "priceSale",
                    "kind": "optional",
                    "type": "number",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "priceCurrency",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "availability",
                    "kind": "optional",
                    "type": "string<IN_STOCK | IN_STOCK_REGIONAL | OUT_OF_STOCK | REMOVED>",
                    "description": "",
                    "example": "",
                    "enum": [
                      "IN_STOCK",
                      "IN_STOCK_REGIONAL",
                      "OUT_OF_STOCK",
                      "REMOVED"
                    ]
                  },
                  {
                    "name": "productCategories",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "modelRef": "#/components/schemas/IdNameResponse",
                    "customType": "IdNameResponse[]",
                    "schema": [
                      {
                        "name": "id",
                        "kind": "optional",
                        "type": "integer<int32>",
                        "description": "",
                        "example": 0,
                        "format": "int32"
                      },
                      {
                        "name": "name",
                        "kind": "optional",
                        "type": "string",
                        "description": "",
                        "example": ""
                      }
                    ]
                  },
                  {
                    "name": "removed",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "",
                    "example": ""
                  }
                ]
              },
              {
                "name": "aggregated",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/AggregatedVoid",
                "customType": "AggregatedVoid",
                "schema": [
                  {
                    "name": "count",
                    "kind": "optional",
                    "type": "integer<int64>",
                    "description": "",
                    "example": 0,
                    "format": "int64"
                  },
                  {
                    "name": "metrics",
                    "kind": "optional",
                    "type": "",
                    "description": "",
                    "example": ""
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/ProductListResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "Unauthorized",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "403",
        "description": "Forbidden",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "Not Found",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "ExceptionResponse",
            "schema": [
              {
                "name": "messages",
                "kind": "optional",
                "type": "array",
                "description": "",
                "example": "",
                "itemType": "string",
                "customType": "string[]",
                "itemExample": "",
                "itemDefault": ""
              }
            ],
            "modelRef": "#/components/schemas/ExceptionResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "422",
        "description": "Unprocessable Entity",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "ExceptionResponse",
            "schema": [
              {
                "name": "messages",
                "kind": "optional",
                "type": "array",
                "description": "",
                "example": "",
                "itemType": "string",
                "customType": "string[]",
                "itemExample": "",
                "itemDefault": ""
              }
            ],
            "modelRef": "#/components/schemas/ExceptionResponse",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "CXzp1xFdqBSKM2ZnRTdur",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url https://<pcm-domain>/v2/advertisers/{advertiserId}/eligible/products/search \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '{\n     \"page\": 0,\n     \"limit\": 0,\n     \"publisherId\": 0,\n     \"marketId\": 0,\n     \"orderBy\": \"\"\n     }'"
        },
        {
          "id": "7mvOALq6_5Junc6-MegU4",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"page\": 0,\n   \"limit\": 0,\n   \"publisherId\": 0,\n   \"marketId\": 0,\n   \"orderBy\": \"\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://<pcm-domain>/v2/advertisers/{advertiserId}/eligible/products/search\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "YrDSfedFa-Q2NRpyot6fk",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://<pcm-domain>/v2/advertisers/{advertiserId}/eligible/products/search\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"page\": 0,\n   \"limit\": 0,\n   \"publisherId\": 0,\n   \"marketId\": 0,\n   \"orderBy\": \"\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "zTKGxVCdlZgfyJYR8bU6f",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://<pcm-domain>/v2/advertisers/{advertiserId}/eligible/products/search\"\n\npayload = json.dumps({\n   \"page\": 0,\n   \"limit\": 0,\n   \"publisherId\": 0,\n   \"marketId\": 0,\n   \"orderBy\": \"\"\n})\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "CXzp1xFdqBSKM2ZnRTdur"
    },
    "results": {
      "languages": [
        {
          "id": "-nkAgiu8R8P2YT3u6h3ls",
          "language": "200",
          "code": "// OK\n{\n  \"detailed\": [\n    {\n      \"gtin\": \"\",\n      \"productGroupId\": \"\",\n      \"title\": \"\",\n      \"brand\": \"\",\n      \"imageUrl\": \"\",\n      \"price\": 0,\n      \"priceSale\": 0,\n      \"priceCurrency\": \"\",\n      \"availability\": \"\",\n      \"productCategories\": [\n        {\n          \"id\": \"\",\n          \"name\": \"\"\n        }\n      ],\n      \"removed\": false\n    }\n  ],\n  \"aggregated\": {\n    \"count\": \"\",\n    \"metrics\": \"\"\n  }\n}"
        },
        {
          "id": "BBkaKVMxhv38Dh0y6jwBF",
          "language": "401",
          "code": "// Unauthorized\n"
        },
        {
          "id": "OHSg1BdupOvcoERcumoeM",
          "language": "403",
          "code": "// Forbidden\n"
        },
        {
          "id": "agSdo-LwUHuB6B28fxpFd",
          "language": "404",
          "code": "// Not Found\n{\n  \"messages\": [\n    \"\"\n  ]\n}"
        },
        {
          "id": "lB0N-rXj1Ju-aHnp0y_nT",
          "language": "422",
          "code": "// Unprocessable Entity\n{\n  \"messages\": [\n    \"\"\n  ]\n}"
        }
      ],
      "selectedLanguageId": "-nkAgiu8R8P2YT3u6h3ls"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}