<< All versions

Skill v1.0.0

currentAutomated scan100/100
googleads/google-ads-api-developer-assistant/get-cids-under-mcc
──Details
PublishedNovember 4, 2026 at 04:06 AM
Content Hashsha256:8c255d18cec00428...
Git SHAdbb730a199f6
──Files
Files (1 file, 1.5 KB)
SKILL.md1.5 KBactive
SKILL.md · 36 lines · 1.5 KB

name: get-cids-under-mcc description: Retrieves a list of all child customer account IDs (CIDs) under a given Manager Account (MCC). metadata: version: "1.0.0"


Get CIDs Under MCC

Use this skill to retrieve the hierarchy of child accounts under a Google Ads Manager Account (MCC). This is useful when you need to perform operations across multiple client accounts or understand the account structure.

Protocol

  1. Identify MCC ID: Search the session context or user prompt for the Manager Account ID (MCC). If not explicitly provided, ask the user to provide the MCC ID before proceeding.
  1. Execute Retrieval: Run the retrieval script in the python environment:
  • To get a summary count only:

``bash python3 skills/get-cids-under-mcc/scripts/get_cids_under_mcc.py --customer_id <mcc_id> --api_version <api_version> ``

  • To print the detailed list to console:

``bash python3 skills/get-cids-under-mcc/scripts/get_cids_under_mcc.py --customer_id <mcc_id> --api_version <api_version> --print_cids ``

  • To save the list to a CSV file (saved in `~/saved/data/`):

``bash python3 skills/get-cids-under-mcc/scripts/get_cids_under_mcc.py --customer_id <mcc_id> --api_version <api_version> --save_csv ``

  1. Output Processing:
  • If --print_cids was used, parse the console output to get the CIDs, their depth level, and whether they are sub-managers.
  • If --save_csv was used, verify the file was created.
All versions