Hello, i have been working with Google ads over 2 weeks now, without any
progress.
I tried making my own app, then used examples and then i went over to just
debug stuff without any progress.
Now im at the laravel Example from google
and everything finally looked like it worked but im getting the error :
```
{ "message": "Request contains an invalid argument.", "code": 3, "status":
"INVALID_ARGUMENT", "details": [ { "@type":
"google.ads.googleads.v6.errors.googleadsfailure-bin", "data": "<Unknown
Binary Data>" }, { "@type": "grpc-status-details-bin", "data": "<Unknown
Binary Data>" }, { "@type": "request-id", "data": "PQ2-pLYC_X7l0INbaqs9ww"
} ] }
```
I traced it back to The tag $stream
```
$stream = $googleAdsClient->getGoogleAdsServiceClient()->searchStream(
$customerId,
$query
);
```
i var_dumped the stream and i got :
```
*object*(*class@anonymous*)[*22680*] *private* 'responseMetadata' =>
*object*(*Google\Ads\GoogleAds\Lib\V6\GoogleAdsResponseMetadata*)[*22616*]
*private* 'metadata' => *array* *(size=0)* *empty* *protected*
'serverStream' => *object*(*class@anonymous*)[*22679*] *private*
'statusMetadataExtractor' => *object*(
*Google\Ads\GoogleAds\Lib\V6\StatusMetadataExtractor*)[*22675*] *protected*
'serverStream' => *object*(*Google\ApiCore\ServerStream*)[*22683*] *private*
'call' => *object*(
*Google\Ads\GoogleAds\Lib\V6\GoogleAdsLoggingServerStreamingCall*)[*22681*]
... *private* 'resourcesGetMethod' => null *private* 'call'
(Google\ApiCore\ServerStream) => null *private* 'resourcesGetMethod'
(Google\ApiCore\ServerStream) => null *private* 'call'
(Google\ApiCore\ServerStream) => null *private* 'resourcesGetMethod'
(Google\ApiCore\ServerStream) => null
```
what am i doing wrong?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"AdWords API and Google Ads 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/9445eb1c-8f82-437a-ba32-f9cfad29a59an%40googlegroups.com.