Thank you for your help.
I tried to run GetAccountHierarchy.php but I can see this error.
No manager customer ID is specified. The example will print the hierarchies of all accessible customer IDs:
9xxxxx
7xxxxxx
....
ApiException was thrown with message '{
"message": "The caller does not have permission",
"code": 7,
"status": "PERMISSION_DENIED",
"details": [
{
"@type": 0,
"data": "
type.googleapis.com\/google.ads.googleads.v9.errors.GoogleAdsFailure"
},
{
"@type": 0,
"data": [
{
"errorCode": {
"authorizationError": "CUSTOMER_NOT_ENABLED"
},
"message": "The customer can't be used because it isn't enabled."
}
]
},
{
"@type": 0,
"data": "B127576K16hj0cC6FRK2lw"
}
]
}'.