Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt

Use this file to discover all available pages before exploring further.

Pause or resume a LinkedIn ad, campaign, or ad group
PATCH https://services.leadconnectorhq.com/ad-publishing/linkedin/{adId}/status

Autorizacion

Authorization
string
required
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.

Path parameters

adId
string
default:"507f1f77bcf86cd799439011"
required
Ad identifier

Query parameters

locationId
string
default:"HChooFuiyPpVYzeJ4HMe"
required
Account identifier

Body

operationType
string
default:"PAUSED"
required
Update operation Posibles valores: ‘PAUSED’, ‘ARCHIVED’, ‘RESUME’
type
string
default:"adCampaign"
required
Ad object type Posibles valores: ‘adGroup’, ‘adCampaign’, ‘ad’

Respuestas

{}
{}
{}

Ejemplo

curl -X PATCH 'https://services.leadconnectorhq.com/ad-publishing/linkedin/YOUR_adId/status' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
  "operationType": "PAUSED",
  "type": "adCampaign"
}'