Get conversion action readiness
Whether the property's Google Ads account has the conversion actions Product Metrics reports purchases to: per purpose, whether the action exists and is linked, its goal status in Google Ads, and whether the account's acceptance by Google is verified.
GET /properties/{propertyId}/google-ads/conversion-actions
Scope read · Access Read only · Operation id google_ads.get_conversion_actions
Try it
productmetrics runs after productmetrics login; curl needs PM_TOKEN (see Authentication). Set $PROPERTY_ID first.
productmetrics google-ads get-conversion-actions \
--property-id $PROPERTY_ID \
--jsonResponse
API response (200), shortened:
{
"data": {
"property_id": "8c1f4d2e-7a3b-4c5d-9e6f-0a1b2c3d4e5f",
"action_registry_readiness": "not_configured",
"provider_readiness": {
"state": "accepted"
},
"actions": [
{
"purpose": "CUSTOMER_NEW",
"registry_state": "missing",
"conversion_action_id": "6f1c2a7e-3b4d-4e8f-9a01-2c3d4e5f6a7b",
"goal_status": "unknown"
}
]
// … 1 more field
},
"request_id": "req_01JSZS4015Y85PTBRD5RKZKZ8Y"
}CLI output: productmetrics google-ads get-conversion-actions --json prints { "ok": true, "data": …, "request_id": "…" } with the same data.
Before you call
Read-only. Needs a Pro plan and read access to the workspace. If actions are missing, google_ads.create_conversion_actions creates them.
Path parameters
| Name | Type | Description |
|---|---|---|
propertyId | string (uuid) | The property id, from productmetrics whoami or properties.list (property_id). |
Errors
A failure answers with its HTTP status and { error: { code, message, details? }, request_id }. Branch on code (stable, lower_snake); show message to the person. The CLI prints the same error with "ok": false.
{
"error": {
"code": "insufficient_scope",
"message": "This operation needs the read scope; connect again and allow it.",
"details": {
"required_scope": "read"
}
},
"request_id": "req_01JZVS4ETCWTSNPXASXS6NF482"
}| Status | Code | When |
|---|---|---|
| 400 | invalid_request | A path, query or body value does not match this page. details.issues lists each location, path and message. |
| 401 | invalid_token | The token is missing, expired or revoked: sign in again (productmetrics login). The WWW-Authenticate header says why. |
| 402 | subscription_required | The workspace has no Pro plan. |
| 403 | insufficient_scope | The token lacks the read scope (details.required_scope): sign in again and allow it. |
| 404 | not_found | An id in the path does not exist, or the signed-in person cannot open it. |
| 429 | rate_limited | More than 600 requests a minute for this person: wait the Retry-After seconds (60) and retry. |