List accounts
List the Google Ads accounts the connected Google login can access directly, as customer IDs.
https://api.rankparse.com/v1/google-ads/accountsFree (counts against the daily cap)API key + connected Google Ads accountLists the Google Ads accounts the connected Google login can access directly, as customer IDs, so you can see which account to select in the dashboard. It works before an account has been selected. It calls Google, so it counts as one request against your daily cap. It takes no parameters.
Manager (MCC) accounts are listed only as their own ID: the accounts under them are not enumerated, and keyword planning against a manager ID is rejected by Google.
Response
dataarray of stringsCustomer IDs (digits only, no customers/ prefix). Empty when Google returns no directly accessible accounts for this login.
totalintegerNumber of IDs in data.
Errors
The shared Google Ads errors apply (see the overview). The ones you are most likely to hit here:
| HTTP | Code | When |
|---|---|---|
| 400 | google_ads_not_connected | Google Ads is not connected. |
| 401 | google_ads_token_expired | The connection expired or was revoked. Reconnect it in the dashboard. |
| 403 | capability_missing | Your role is client. |
| 403 | google_ads_developer_token_not_approved | RankParse's developer token is not yet approved for live data. |
| 429 | google_ads_user_quota_exceeded | You used your 100 requests for the UTC day. |
Related
MCP tool: get_google_ads_accounts (no arguments).