Hello
I want to get all accounts in my manager account.
I tried to get the account list using below example
php examples/AccountManagement/ListAccessibleCustomers.php
but I can see all manage accounts like top right in my account.
so I want to get all accounts in accounts->performance.

I tried to get my all accounts with below code
php examples/AccountManagement/GetAccountHierarchy.php
it shows manager account list and shows error hierarchy account

PHP Fatal error:  Uncaught BadMethodCallException: Streaming calls are not 
supported while using the REST transport. in 
E:\xec\Test\google-ads-php\vendor\google\gax\src\Transport\HttpUnaryTransportTrait.php:148
Stack trace:
#0 
E:\xec\Test\google-ads-php\vendor\google\gax\src\Transport\HttpUnaryTransportTrait.php(64):
 
Google\ApiCore\Transport\RestTransport->throwUnsupportedException()
#1 
E:\xec\Test\google-ads-php\vendor\google\gax\src\GapicClientTrait.php(601): 
Google\ApiCore\Transport\RestTransport->startServerStreamingCall(Object(Google\ApiCore\Call),
 
Array)
#2 
E:\xec\Test\google-ads-php\vendor\google\gax\src\Middleware\CredentialsWrapperMiddleware.php(61):
 
Google\Ads\GoogleAds\V8\Services\Gapic\GoogleAdsServiceGapicClient->Google\ApiCore\{closure}(Object(Google\ApiCore\Call),
 
Array)
#3 
E:\xec\Test\google-ads-php\vendor\google\gax\src\Middleware\FixedHeaderMiddleware.php(66):
 
Google\ApiCore\Middleware\CredentialsWrapperMiddleware->__invoke(Object(Google\ApiCore\Call),
 
Array)
#4 E:\xec\Test\google-ads-php\vendor\google\gax\sr in 
E:\xec\Test\google-ads-php\vendor\google\gax\src\Transport\HttpUnaryTransportTrait.php
 
on line 148

how can i fix this issue?
Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/71589a49-2870-4635-a18f-bb4b14186af5n%40googlegroups.com.
  • ge... Oleg Disrupt
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to