Closed amitklahiri closed 4 years ago
Hi @amitklahiri - could you provide more information for us to investigate, e.g.:
There are two different methods to search and streaming is the one used in this particular code example. Could you give a try with paging instead? You can refer to the code example GetAdGroups.php.
And, just in case, as you've not included the import statements, please make sure that this line fetches V3 GoogleAdsClient:
$googleAdsClient->getGoogleAdsServiceClient()
In GetCampaigns.php line number 102 and 103 ==> $stream =$googleAdsServiceClient->searchStream($customerId, $query);
Do we have any option like search instead of searchStream
I have issues in my server i cant add dynamic library
So, can you please let me know if there is another way without using searchStream.
searchStream
is a new feature, but you can still use search
if you wish.
Hey @fiboknacky, thanks for the reply. Do we need grpc for search?
gRPC is recommended as always, but you probably can use REST as well. However, logging is not well supported for REST.
As it seems your issue wouldn't exactly be the same as this issue, could you create a new issue if you have further detail you wish to know more?
I am using this library with Laravel 6 PHP framework.
I have installed all the require packages as available in this packagist URL. https://packagist.org/packages/googleads/google-ads-php
But I do not integrate the gRPC to the Laravel separately anywhere. Am I need to do further configuration?
Is this library works with the Laravel framework?
I am closing this issue because this seems to be a duplicate of #311 . Feel free to reopen if it is not the case.
Hi.
I am using the latest version of the client library as available using composer install option. I am getting the below error .
I am using it with PHP Laravel framework.
Here is my code,
It looks like getting the error, in this line, $stream = $googleAdsServiceClient->searchStream($customerId, $query);
And it occurs because the function searchStream(.....), which seems unavailable.
What am I supposed to do now? Looking forward to solution ASAP.
Thanks.