Skip to main content
POST
TypeScript

Autorisations

Authorization
string
header
requis

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Scopes

ad_campaign:create

En-têtes

Idempotency-Key
string

A unique key that makes this request safe to retry. See Idempotent requests.

Maximum string length: 255
Exemple:

"d9105228-4a08-46b1-8b91-42fed586d383"

Api-Version-Date
string

Pins the request to a dated API version.

Exemple:

"2026-11-17"

Paramètres de chemin

id
string
requis

The ad ID.

Corps

application/json
count
integer

Number of copies to create (1-10). Defaults to 1.

Exemple:

2

target_ad_group_id
string

Ad group to duplicate into, which must belong to the same account and be compatible with the ad. Defaults to the ad's own ad group.

Exemple:

"adgrp_xxxxxxxxxxxxxx"

Réponse

ad duplicated

data
object[]
requis