Skip to main content
POST
Debug Get Ads Headlines

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_ads_headlines 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

ad_id
string | null

Optional ad ID to filter by

scope
string
default:ad_group

Scope of the query, either 'ad_group' or 'ad'

limit
integer | null
default:100

Maximum number of headlines to retrieve

Required range: 1 <= x <= 1000

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