---
title: /v2/advertisers/{advertiserId}/reports/spa/product.csv
slug: campaign-reporting-apis/v2advertisersadvertiseridreportsspaproductcsv
docTags: 
createdAt: 2026-03-25T10:57:30.256Z
---

{
  "id": "Yv2gaAO7P8YIeKzg5XkYz",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "https://<pcm-domain>/v2/advertisers/{advertiserId}/reports/spa/product.csv",
    "servers": [
      {
        "url": "https://<pcm-domain>/v2/advertisers/{advertiserId}/reports/spa/product.csv",
        "description": "Generated server url"
      }
    ],
    "name": "",
    "description": "<p>Download CSV of SPA product performance report. For description, see the\n<a href=\"#/Advertiser-Reporting/spaProductReport\" target=\"_blank\">SPA product performance report</a> endpoint.</p>\n<p><strong>Rules:</strong></p>\n<ul>\n<li><code>page</code> and <code>limit</code> are optional</li>\n</ul>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "advertiserId",
          "type": "integer<int32>",
          "description": "",
          "format": "int32"
        }
      ],
      "headerParameters": [],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "locale",
          "type": "string",
          "description": ""
        }
      ],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "body",
          "type": "object",
          "description": "",
          "customType": "V2AdvertiserSpaProductReportRequest",
          "schema": [
            {
              "name": "filters",
              "kind": "optional",
              "type": "array",
              "description": "",
              "modelRef": "#/components/schemas/FilterValuesSpaProductReportFilterField",
              "customType": "FilterValuesSpaProductReportFilterField[]",
              "schema": [
                {
                  "name": "field",
                  "kind": "optional",
                  "type": "string<GTIN | PRODUCT_TITLE | BRAND | MARKET>",
                  "description": "",
                  "example": "",
                  "enum": [
                    "GTIN",
                    "PRODUCT_TITLE",
                    "BRAND",
                    "MARKET"
                  ]
                },
                {
                  "name": "values",
                  "kind": "optional",
                  "type": "array",
                  "description": "",
                  "example": "",
                  "itemType": "object",
                  "customType": "object[]",
                  "itemExample": "",
                  "itemDefault": ""
                }
              ]
            },
            {
              "name": "startDate",
              "kind": "required",
              "type": "string<date>",
              "description": "",
              "example": "",
              "format": "date"
            },
            {
              "name": "endDate",
              "kind": "required",
              "type": "string<date>",
              "description": "",
              "example": "",
              "format": "date"
            },
            {
              "name": "attributionProfile",
              "kind": "optional",
              "type": "string<IMP_1_DAY_CLK_14_DAYS | IMP_1_DAY | CLK_14_DAYS>",
              "description": "",
              "example": "",
              "enum": [
                "IMP_1_DAY_CLK_14_DAYS",
                "IMP_1_DAY",
                "CLK_14_DAYS"
              ]
            },
            {
              "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": "dateBreakdown",
              "kind": "optional",
              "type": "boolean",
              "description": "",
              "example": ""
            },
            {
              "name": "orderBy",
              "kind": "optional",
              "type": "string<GTIN | PRODUCT_TITLE | BRAND | MARKET | PUBLISHER_ID | PUBLISHER_NAME | CAMPAIGN_ID | CAMPAIGN_NAME | AD_GROUP_ID | AD_GROUP_NAME | DATE | IMPRESSIONS | CLICKS | LOADS | CONVERSIONS | UNITS_SOLD | CLICK_THROUGH_RATE | CONVERSION_RATE | CONVERSION_VALUE | AD_SPEND_REVENUE | COST_PER_CLICK | RETURN_ON_AD_SPEND>",
              "description": "",
              "example": "",
              "enum": [
                "GTIN",
                "PRODUCT_TITLE",
                "BRAND",
                "MARKET",
                "PUBLISHER_ID",
                "PUBLISHER_NAME",
                "CAMPAIGN_ID",
                "CAMPAIGN_NAME",
                "AD_GROUP_ID",
                "AD_GROUP_NAME",
                "DATE",
                "IMPRESSIONS",
                "CLICKS",
                "LOADS",
                "CONVERSIONS",
                "UNITS_SOLD",
                "CLICK_THROUGH_RATE",
                "CONVERSION_RATE",
                "CONVERSION_VALUE",
                "AD_SPEND_REVENUE",
                "COST_PER_CLICK",
                "RETURN_ON_AD_SPEND"
              ]
            }
          ],
          "modelRef": "#/components/schemas/V2AdvertiserSpaProductReportRequest",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "StreamingResponseBody",
            "schema": [],
            "modelRef": "#/components/schemas/StreamingResponseBody",
            "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": "HODTLaWm0qy8T_v1jMlrX",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url https://<pcm-domain>/v2/advertisers/{advertiserId}/reports/spa/product.csv \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '{\n     \"startDate\": \"\",\n     \"endDate\": \"\",\n     \"page\": 0,\n     \"limit\": 0\n     }'"
        },
        {
          "id": "XXACKCsqtzcnVAX3IUXAI",
          "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   \"startDate\": \"\",\n   \"endDate\": \"\",\n   \"page\": 0,\n   \"limit\": 0\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}/reports/spa/product.csv\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "aIJUQmMoYVMEfzl63fAOX",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://<pcm-domain>/v2/advertisers/{advertiserId}/reports/spa/product.csv\")\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   \"startDate\": \"\",\n   \"endDate\": \"\",\n   \"page\": 0,\n   \"limit\": 0\n})\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "-ZAFFX_nptEXN1eDyapAN",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://<pcm-domain>/v2/advertisers/{advertiserId}/reports/spa/product.csv\"\n\npayload = json.dumps({\n   \"startDate\": \"\",\n   \"endDate\": \"\",\n   \"page\": 0,\n   \"limit\": 0\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": "HODTLaWm0qy8T_v1jMlrX"
    },
    "results": {
      "languages": [
        {
          "id": "JKbT1g-I-87D6OmiK8Jag",
          "language": "200",
          "code": "// OK\n{}"
        },
        {
          "id": "Kr-f2pQ7EULfp_Ie0aIUG",
          "language": "401",
          "code": "// Unauthorized\n"
        },
        {
          "id": "9wI0QMZvSV-UnJSKkyB-8",
          "language": "403",
          "code": "// Forbidden\n"
        },
        {
          "id": "0AfMslcduLTpGhujXQiSk",
          "language": "404",
          "code": "// Not Found\n{\n  \"messages\": [\n    \"\"\n  ]\n}"
        },
        {
          "id": "XXhm6kMra1-zKgSw2B_7p",
          "language": "422",
          "code": "// Unprocessable Entity\n{\n  \"messages\": [\n    \"\"\n  ]\n}"
        }
      ],
      "selectedLanguageId": "JKbT1g-I-87D6OmiK8Jag"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}