---
title: /display/v2/advertisers/{advertiserId}/campaigns/{campaignId}/display/ad-groups/{adGroupId}/assets/{assetId}
slug: campaign-reporting-apis/an8H-displayv2advertisersadvertiseridcampaignscampaigniddisplayad-groupsadgroupidassetsassetid
docTags: 
createdAt: 2026-03-25T11:01:52.241Z
---

{
  "id": "U2OFDp_HA9AYD3Z9WFCb9",
  "type": "api-oas-v2",
  "data": {
    "method": "PUT",
    "url": "https://<pcm-domain>/display/v2/advertisers/{advertiserId}/campaigns/{campaignId}/display/ad-groups/{adGroupId}/assets/{assetId}",
    "servers": [
      {
        "url": "https://<pcm-domain>/display/v2/advertisers/{advertiserId}/campaigns/{campaignId}/display/ad-groups/{adGroupId}/assets/{assetId}",
        "description": "Generated server url"
      }
    ],
    "name": "",
    "description": "<p>Update the status, alt-text, background color, call to action, and ad copy of a display ad-group asset.</p>\n<p><strong>Rules</strong></p>\n<ul>\n<li>Editing the <em>altText</em>, <em>backgroundColor</em>, <em>callToAction</em>, or <em>adCopy</em> of an asset of an ad-group will require\nthe ad-group to be approved again.</li>\n<li>Toggling the advertised property of an asset does not affect its approval status.</li>\n</ul>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "advertiserId",
          "type": "integer<int32>",
          "description": "",
          "format": "int32"
        },
        {
          "kind": "required",
          "name": "campaignId",
          "type": "integer<int32>",
          "description": "",
          "format": "int32"
        },
        {
          "kind": "required",
          "name": "adGroupId",
          "type": "integer<int32>",
          "description": "",
          "format": "int32"
        },
        {
          "kind": "required",
          "name": "assetId",
          "type": "string<uuid>",
          "description": "",
          "format": "uuid"
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "body",
          "type": "object",
          "description": "",
          "customType": "DisplayAdGroupAssetUpdateRequest",
          "schema": [
            {
              "name": "advertised",
              "kind": "optional",
              "type": "boolean",
              "description": ""
            },
            {
              "name": "altText",
              "kind": "optional",
              "type": "string",
              "description": "",
              "minLength": 0,
              "maxLength": 500
            },
            {
              "name": "backgroundColor",
              "kind": "optional",
              "type": "string",
              "description": "",
              "pattern": "^$|^#([0-9a-fA-F]{6})$"
            },
            {
              "name": "callToAction",
              "kind": "optional",
              "type": "string",
              "description": "",
              "minLength": 0,
              "maxLength": 500
            },
            {
              "name": "adCopy",
              "kind": "optional",
              "type": "string",
              "description": "",
              "minLength": 0,
              "maxLength": 5000
            }
          ],
          "modelRef": "#/components/schemas/DisplayAdGroupAssetUpdateRequest",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "DisplayAdGroupAssetResponse",
            "schema": [
              {
                "name": "creativeSizeId",
                "kind": "optional",
                "type": "integer<int32>",
                "description": "",
                "format": "int32"
              },
              {
                "name": "width",
                "kind": "optional",
                "type": "integer<int32>",
                "description": "",
                "format": "int32"
              },
              {
                "name": "height",
                "kind": "optional",
                "type": "integer<int32>",
                "description": "",
                "format": "int32"
              },
              {
                "name": "fileName",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "assetId",
                "kind": "optional",
                "type": "string<uuid>",
                "description": "",
                "format": "uuid"
              },
              {
                "name": "assetUrl",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "advertised",
                "kind": "optional",
                "type": "boolean",
                "description": ""
              },
              {
                "name": "altText",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "backgroundColor",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "callToAction",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "adCopy",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "type",
                "kind": "optional",
                "type": "string<IMAGE | HTML_IMAGE_LINK | HTML_VIDEO_LINK>",
                "description": "",
                "enum": [
                  "IMAGE",
                  "HTML_IMAGE_LINK",
                  "HTML_VIDEO_LINK"
                ]
              },
              {
                "name": "link",
                "kind": "optional",
                "type": "string",
                "description": ""
              }
            ],
            "modelRef": "#/components/schemas/DisplayAdGroupAssetResponse",
            "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": "MessageResponse",
            "schema": [
              {
                "name": "messages",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/Message",
                "customType": "Message[]",
                "schema": [
                  {
                    "name": "text",
                    "kind": "optional",
                    "type": "string",
                    "description": ""
                  },
                  {
                    "name": "level",
                    "kind": "optional",
                    "type": "string<ERROR | WARNING>",
                    "description": "",
                    "enum": [
                      "ERROR",
                      "WARNING"
                    ]
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/MessageResponse",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "Eg5zieg8nxxwSvKAGaP7e",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request PUT \\\n     --url https://<pcm-domain>/display/v2/advertisers/{advertiserId}/campaigns/{campaignId}/display/ad-groups/{adGroupId}/assets/{assetId} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "tRZ-bRlFRq-sK9K72q22G",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'PUT',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://<pcm-domain>/display/v2/advertisers/{advertiserId}/campaigns/{campaignId}/display/ad-groups/{adGroupId}/assets/{assetId}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "IMx2QGJ4XXPy2ot6WgrDA",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://<pcm-domain>/display/v2/advertisers/{advertiserId}/campaigns/{campaignId}/display/ad-groups/{adGroupId}/assets/{assetId}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "YQ7QKg8_R_4CWxdRj-kmd",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://<pcm-domain>/display/v2/advertisers/{advertiserId}/campaigns/{campaignId}/display/ad-groups/{adGroupId}/assets/{assetId}\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"PUT\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "Eg5zieg8nxxwSvKAGaP7e"
    },
    "results": {
      "languages": [
        {
          "id": "NkaGEwVfN__Coc8aao2B3",
          "language": "200",
          "code": "// OK\n{\n  \"creativeSizeId\": \"\",\n  \"width\": \"\",\n  \"height\": \"\",\n  \"fileName\": \"\",\n  \"assetId\": \"\",\n  \"assetUrl\": \"\",\n  \"advertised\": false,\n  \"altText\": \"\",\n  \"backgroundColor\": \"\",\n  \"callToAction\": \"\",\n  \"adCopy\": \"\",\n  \"type\": \"\",\n  \"link\": \"\"\n}"
        },
        {
          "id": "i8YgfmQ8WuqFOjsVCX5bd",
          "language": "401",
          "code": "// Unauthorized\n"
        },
        {
          "id": "2LQUSGwkEmj2xqKr_2tBm",
          "language": "403",
          "code": "// Forbidden\n"
        },
        {
          "id": "OVUDb5THWAtw5JPIGYzGE",
          "language": "404",
          "code": "// Not Found\n{\n  \"messages\": [\n    {\n      \"text\": \"\",\n      \"level\": \"\"\n    }\n  ]\n}"
        }
      ],
      "selectedLanguageId": "NkaGEwVfN__Coc8aao2B3"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}