Hello I have a problem with the AdWords Api (PHP). When I run GetAccountHierarchy.php I get the following errors:
( ! ) Warning: array_key_exists(): The first argument should be either a string or an integer in C:\wamp\www\api\app\GetAccountHierarchy.php on line *84* Call Stack #TimeMemoryFunctionLocation 1 0.0010 279936 {main}( ) ..\GetAccountHierarchy.php*:*0 2 0.0050 719408 Google\AdsApi\Examples\AdWords\v201609\AccountManagement\GetAccountHierarchy::main( ) ..\GetAccountHierarchy.php*:*148 3 0.0190 2061840 Google\AdsApi\Examples\AdWords\v201609\AccountManagement\GetAccountHierarchy::runExample( ) ..\GetAccountHierarchy.php*:*144 4 1.1501 3655608 array_key_exists <http://www.php.net/function.array-key-exists> ( ) ..\GetAccountHierarchy.php*:*84(Customer ID, Account Name) 2975983167, Test 1 ( ! ) Warning: array_key_exists(): The first argument should be either a string or an integer in C:\wamp\www\api\app\GetAccountHierarchy.php on line *122* Call Stack #TimeMemoryFunctionLocation 1 0.0010 279936 {main}( ) ..\GetAccountHierarchy.php*:*0 2 0.0050 719408 Google\AdsApi\Examples\AdWords\v201609\AccountManagement\GetAccountHierarchy::main( ) ..\GetAccountHierarchy.php*:*148 3 0.0190 2061840 Google\AdsApi\Examples\AdWords\v201609\AccountManagement\GetAccountHierarchy::runExample( ) ..\GetAccountHierarchy.php*:*144 4 1.1511 3656952 Google\AdsApi\Examples\AdWords\v201609\AccountManagement\GetAccountHierarchy::printAccountHierarchy( ) ..\GetAccountHierarchy.php*:*93 5 1.1511 3657048 Google\AdsApi\Examples\AdWords\v201609\AccountManagement\GetAccountHierarchy::printAccountHierarchy( ) ..\GetAccountHierarchy.php*:*114 6 1.1511 3657128 array_key_exists <http://www.php.net/function.array-key-exists> ( ) ..\GetAccountHierarchy.php*:*122 Does anyone have any pointers on how to solve this? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c39bf9bf-d4a8-494d-8c1b-8a5fa8cccbd5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.