-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing request Id when we upload offline conversions #1050
Comments
Sorry for late reply. I tried to reproduce this on my machine, but I got a response metadata and its request ID as usual. |
Thanks for the reponse. But I couldn't figure out what am I missing here from my end I always get null. |
Hey @fiboknacky I think I found the issue There is this package from Gax that you are using https://github.com/googleapis/gax-php/blob/v1.34.1/src/GapicClientTrait.php#L581 in this specific line. It removes the |
Thanks.
I don't see any line that removes |
hi @fiboknacky this GapicClientTrait.php invokes The way I tested when was adding dump before and after of this call |
hi @fiboknacky did you validate based on my finding? |
Sorry for late response. I'll take a look this week. |
@ujwaldhakal I've checked the file you mentioned and I don't see anything related to this issue. |
hi @fiboknacky I managed to make some time for it.
As you can see the I can make changes on this file https://github.com/googleapis/gax-php/blob/main/src/Options/CallOptions.php#L47 to check if the array has WIth this changes it will fix the issue https://github.com/googleapis/gax-php/pull/606/files |
@fiboknacky what is Edit: I see it is supported in the custom middleware UnaryGoogleAdsResponseMetadataCallable As mentioned by @ujwaldhakal, the problem is happening here, where the You may be able to just add something like this in your private function configureCallOptions(array $optionalArgs): array
{
return $optionalArgs;
} |
It was added in #1013. |
oh! Wow, I just don't remember that at all 😅 Okay SGTM, please let me know if I can help! |
@fiboknacky for me the responseMetadata is always null unless i modify the package code. Could you share me the code that is working for you please? |
We are currently using v17 with php SDK
v24.0.0
. The request id is null for the conversion upload client for e.gFor conversionUploadClient the getResponseMetadata is always null but for search stream apis I get ResponseMedataObject with empty attributes. This one is from the https://developers.google.com/google-ads/api/docs/client-libs/php/response-metadata this example.
There are some other people facing the same issue in this link #1005
The text was updated successfully, but these errors were encountered: