---
title: /v2/advertisers/{advertiserId}/campaigns/{campaignId}/ad-groups/{adGroupId}/bid-modifiers/{bidModifierId}
slug: campaign-reporting-apis/CnYQ-v2advertisersadvertiseridcampaignscampaignidad-groupsadgroupidbid-modifiersbidmodifierid
docTags: 
createdAt: 2026-03-25T10:57:30.256Z
---

{
  "id": "KV5d7GLL4sadtcn_0V0Q7",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://<pcm-domain>/v2/advertisers/{advertiserId}/campaigns/{campaignId}/ad-groups/{adGroupId}/bid-modifiers/{bidModifierId}",
    "servers": [
      {
        "url": "https://<pcm-domain>/v2/advertisers/{advertiserId}/campaigns/{campaignId}/ad-groups/{adGroupId}/bid-modifiers/{bidModifierId}",
        "description": "Generated server url"
      }
    ],
    "name": "",
    "description": "Retrieves the bid modifier specified by id.",
    "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": "bidModifierId",
          "type": "integer<int32>",
          "description": "",
          "format": "int32"
        }
      ],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "BidModifierResponse",
            "schema": [
              {
                "name": "id",
                "kind": "optional",
                "type": "integer<int32>",
                "description": "",
                "example": 0,
                "format": "int32"
              },
              {
                "name": "type",
                "kind": "optional",
                "type": "string<SEARCH_TERMS | AUDIENCES>",
                "description": "",
                "example": "",
                "enum": [
                  "SEARCH_TERMS",
                  "AUDIENCES"
                ]
              },
              {
                "name": "targets",
                "kind": "optional",
                "type": "array",
                "description": "",
                "example": "",
                "itemType": "string",
                "customType": "string[]",
                "itemExample": "",
                "itemDefault": ""
              },
              {
                "name": "audiences",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/AudienceResponse",
                "customType": "AudienceResponse[]",
                "schema": [
                  {
                    "name": "audienceGroup",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "audiences",
                    "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": "value",
                "kind": "optional",
                "type": "integer<int32>",
                "description": "",
                "example": 0,
                "format": "int32"
              }
            ],
            "modelRef": "#/components/schemas/BidModifierResponse",
            "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
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "zOMcbngJqVBYhWAlo7rVa",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://<pcm-domain>/v2/advertisers/{advertiserId}/campaigns/{campaignId}/ad-groups/{adGroupId}/bid-modifiers/{bidModifierId} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "S4REb5-8D-6RJc7rtGot-",
          "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: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://<pcm-domain>/v2/advertisers/{advertiserId}/campaigns/{campaignId}/ad-groups/{adGroupId}/bid-modifiers/{bidModifierId}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "cCx3ICFGiSdPDkTDzF0sC",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://<pcm-domain>/v2/advertisers/{advertiserId}/campaigns/{campaignId}/ad-groups/{adGroupId}/bid-modifiers/{bidModifierId}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "zck4vny3xiz1mv-BxJefz",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://<pcm-domain>/v2/advertisers/{advertiserId}/campaigns/{campaignId}/ad-groups/{adGroupId}/bid-modifiers/{bidModifierId}\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "zOMcbngJqVBYhWAlo7rVa"
    },
    "results": {
      "languages": [
        {
          "id": "N8y1wVkz2ZSevpbELw7En",
          "language": "200",
          "code": "// OK\n{\n  \"id\": \"\",\n  \"type\": \"\",\n  \"targets\": [\n    \"\"\n  ],\n  \"audiences\": [\n    {\n      \"audienceGroup\": \"\",\n      \"audiences\": [\n        {\n          \"id\": \"\",\n          \"name\": \"\"\n        }\n      ]\n    }\n  ],\n  \"value\": \"\"\n}"
        },
        {
          "id": "3dx0Lg-Pg4UjTMv4rXbMn",
          "language": "401",
          "code": "// Unauthorized\n"
        },
        {
          "id": "9nFKVkVIFKxrjODNzdEzb",
          "language": "403",
          "code": "// Forbidden\n"
        },
        {
          "id": "e_3yN1xnq-VQLCwuC6X1A",
          "language": "404",
          "code": "// Not Found\n{\n  \"messages\": [\n    \"\"\n  ]\n}"
        }
      ],
      "selectedLanguageId": "N8y1wVkz2ZSevpbELw7En"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}