*After trying to send an event to Google Ads Api with this code:*

                UploadClickConversionsResponse response =
                    conversionUploadService.UploadClickConversions(
                        new UploadClickConversionsRequest()
                        {
                            CustomerId = customerId.ToString(),
                            Conversions = { clickConversion },
                            PartialFailure = true,
                            ValidateOnly = false
                        });


*I got the message:*
RpcException: Status(StatusCode="Unavailable", Detail="Getting metadata 
from plugin failed with error: Exception occurred in metadata credentials 
plugin. Google.Apis.Auth.OAuth2.Responses.TokenResponseException: 
Error:"invalid_request", Description:"Missing required parameter: 
refresh_token",  ...... 


*After that I've tried to request the token using ServiceAccountCredential 
wich returned "true" in this function:*
credential.RequestAccessTokenAsync(CancellationToken.None).Result;


*But still doesn't work.*
Could anyone explain me how can I configure the refresh_token and send it 
with the UploadClickConversions?

I'm totally stuck. 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 [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/a312386b-6a27-481a-8329-5158f8750653n%40googlegroups.com.

Reply via email to