Skip to main content
POST
/
api
/
v1
/
debug
/
assistant-functions
/
get-keyword-pause-recommendations
Debug Get Keyword Pause Recommendations
curl --request POST \
  --url http://localhost:8000/api/v1/debug/assistant-functions/get-keyword-pause-recommendations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "google_ads_customer_id": "<string>",
  "google_ads_login_customer_id": "<string>",
  "campaign_id": "<string>",
  "ad_group_id": "<string>",
  "status": "<string>",
  "limit": 100,
  "offset": 0
}
'
{
  "success": true,
  "data": "<string>",
  "execution_time_ms": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Schema for debugging get_keyword_pause_recommendations function.

google_ads_customer_id
string
required

The Google Ads customer ID

google_ads_login_customer_id
string | null

The Google Ads login customer ID

campaign_id
string | null

Optional campaign ID to filter by

ad_group_id
string | null

Optional ad group ID to filter by

status
string | null

Optional status to filter by (pending, approved, rejected, applied)

limit
integer
default:100

Maximum number of recommendations to retrieve

Required range: 1 <= x <= 1000
offset
integer
default:0

Number of recommendations to skip for pagination

Required range: x >= 0

Response

Successful Response

Schema for debug function responses.

success
boolean
required

Whether the function executed successfully

data
string
required

JSON string containing the function result or error information

execution_time_ms
number | null

Function execution time in milliseconds