---
title: "POST /app/create/g/p-max/{draftId}/campaign-name"
method: POST
path: "/app/create/g/p-max/{draftId}/campaign-name"
tags: ["App/Create/GoogleAds/PMaxCreation"]
---

# POST /app/create/g/p-max/{draftId}/campaign-name

`POST /app/create/g/p-max/{draftId}/campaign-name`

## Request

- Base URL: `https://api.optimyzee.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optimyzee.com/app/create/g/p-max/{draftId}/campaign-name`
- Auth: API key in header `authorization`
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/app/create/g/p-max/:draftId/campaign-name/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `draftId` integer, required

## Request body

- object
  - `name` string, nullable
  - `linkingId` integer, nullable

## Response `200`

Successful

- object
  - `data` object
    - `desiredName` string
    - `name` string
    - `changed` boolean

## Other responses

- `401`: Unauthenticated
- `403`: Unauthorized

---

[API](https://skmtc.dev/optimyzee/apis/optimyzee-api.md) - [All operations](https://skmtc.dev/optimyzee/apis/optimyzee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/optimyzee/apis/optimyzee-api/revisions/ccaa14692e9f?raw)
