I'm trying to migrate to a new API, no matter what I do, this error
appears. Where could be the problem? (php 8.0, ran through SSH and browser,
equally)
*Fatal error*: Uncaught Google\ApiCore\ValidationException: Failed to build
request, as the provided path
(google.ads.googleads.v9.services.GoogleAdsService/SearchStream) was not
found in the configuration. in
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/vendor/google/gax/src/RequestBuilder.php:80
Stack trace: #0
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/vendor/google/gax/src/Transport/RestTransport.php(160):
Google\ApiCore\RequestBuilder->build('google.ads.goog...',
Object(Google\Ads\GoogleAds\V9\Services\SearchGoogleAdsStreamRequest)) #1
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/vendor/google/gax/src/GapicClientTrait.php(608):
Google\ApiCore\Transport\RestTransport->startServerStreamingCall(Object(Google\ApiCore\Call),
Array) #2
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/vendor/google/gax/src/Middleware/CredentialsWrapperMiddleware.php(61):
Google\Ads\GoogleAds\V9\Services\Gapic\GoogleAdsServiceGapicClient->Google\ApiCore\{closure}(Object(Google\ApiCore\Call),
Array) #3
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/vendor/google/gax/src/Middleware/FixedHeaderMiddleware.php(66):
Google\ApiCore\Middleware\CredentialsWrapperMiddleware->__invoke(Object(Google\ApiCore\Call),
Array) #4
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/vendor/google/gax/src/Middleware/RetryMiddleware.php(85):
Google\ApiCore\Middleware\FixedHeaderMiddleware->__invoke(Object(Google\ApiCore\Call),
Array) #5
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/vendor/google/gax/src/Middleware/OptionsFilterMiddleware.php(63):
Google\ApiCore\Middleware\RetryMiddleware->__invoke(Object(Google\ApiCore\Call),
Array) #6
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/vendor/google/gax/src/Middleware/FixedHeaderMiddleware.php(66):
Google\ApiCore\Middleware\OptionsFilterMiddleware->__invoke(Object(Google\ApiCore\Call),
Array) #7
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/src/Google/Ads/GoogleAds/Lib/V9/ServerStreamingGoogleAdsExceptionMiddleware.php(61):
Google\ApiCore\Middleware\FixedHeaderMiddleware->__invoke(Object(Google\ApiCore\Call),
Array) #8
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/src/Google/Ads/GoogleAds/Lib/V9/ServerStreamingGoogleAdsResponseMetadataCallable.php(40):
Google\Ads\GoogleAds\Lib\V9\ServerStreamingGoogleAdsExceptionMiddleware->__invoke(Object(Google\ApiCore\Call),
Array) #9
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/vendor/google/gax/src/GapicClientTrait.php(583):
Google\Ads\GoogleAds\Lib\V9\ServerStreamingGoogleAdsResponseMetadataCallable->__invoke(Object(Google\ApiCore\Call),
Array) #10
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/src/Google/Ads/GoogleAds/V9/Services/Gapic/GoogleAdsServiceGapicClient.php(523):
Google\Ads\GoogleAds\V9\Services\Gapic\GoogleAdsServiceGapicClient->startCall('SearchStream',
'Google\\Ads\\Goog...', Array,
Object(Google\Ads\GoogleAds\V9\Services\SearchGoogleAdsStreamRequest), 3)
#11
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/examples/BasicOperations/GetCampaigns.php(104):
Google\Ads\GoogleAds\V9\Services\Gapic\GoogleAdsServiceGapicClient->searchStream(8223420920,
'SELECT campaign...') #12
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/examples/BasicOperations/GetCampaigns.php(61):
Google\Ads\GoogleAds\Examples\BasicOperations\GetCampaigns::runExample(Object(Google\Ads\GoogleAds\Lib\V9\GoogleAdsClient),
8223420920) #13
/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/examples/BasicOperations/GetCampaigns.php(120):
Google\Ads\GoogleAds\Examples\BasicOperations\GetCampaigns::main() #14
{main} thrown in
*/home/u38252/adwords.context-tramplin.ru/www/google-ads-php-main/vendor/google/gax/src/RequestBuilder.php*
on
line *80*
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/118aa3fc-b2f4-4b82-97b6-fb279b6cc93en%40googlegroups.com.