Skip to main content
POST
Debug Get Campaign Metrics

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_campaign_metrics function.

google_ads_customer_id
string
required

The Google Ads customer ID

campaign_id
string
required

The campaign ID to get metrics for

google_ads_login_customer_id
string | null

The Google Ads login customer ID

days
integer
default:365

Number of days of historical data to retrieve

Required range: 1 <= x <= 365

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