Error While Uploading Offline Conversion

118 views
Skip to first unread message

test tester

unread,
Sep 27, 2021, 8:31:49 AM9/27/21
to AdWords API and Google Ads API Forum
Hello,

I am trying to upload offline conversion to google ads and getting this error. Error screenshot is attached. Can anyone help me out?


upload conversion error.png

Google Ads API Forum Advisor

unread,
Sep 28, 2021, 4:43:11 AM9/28/21
to testteste...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to our API support team.

However, the error as seen in your attached screenshot do not appear to be API related errors. If the platform you are using, is using the Google Ads API, then could you provide the complete request and response logs, with the request-id?

If the platform you are using is also using the supported libraries of the Google Ads API, and if you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2OUP1m:ref

Aamir Nakhwa

unread,
Sep 29, 2021, 11:24:19 AM9/29/21
to AdWords API and Google Ads API Forum
Thanks for your reply.

Actually I am using this nuget to utilize the API. I am not  sure how to access Request-ID, Request and Response. Can you instruct or provide some article link so I can share the information with you?

Really appreciate your help.

Regards,
Aamir

Google Ads API Forum Advisor

unread,
Sep 30, 2021, 2:42:41 AM9/30/21
to testteste...@gmail.com, adwor...@googlegroups.com
Hi Aamir,

Thank you for your follow up.

Unfortunately, our team would not be able to comment on how you can enable logging for Nuget as it is not included in our supported client libraries. However, I could see from the link you provided that it might be using .NET. You can try and refer to this .NET guide for logging instead.
Message has been deleted

Google Ads API Forum Advisor

unread,
Oct 5, 2021, 2:53:43 AM10/5/21
to testteste...@gmail.com, adwor...@googlegroups.com
Hi Aamir,

Thank for providing the requested details. I work with Peter and let me provide support to your concern.

Upon checking the provided API logs, it appears that the API header is missing login-customer-id and access token and this is the possible reason why the error occurred. With this, you may follow this guide again for setting up your API environment and ensure that you've supplied necessary fields.

Let me know how it goes after trying the provided suggestion.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2OUP1m:ref

Google Ads API Forum Advisor

unread,
Oct 5, 2021, 2:57:08 AM10/5/21
to adwor...@googlegroups.com, testteste...@gmail.com
Hi Aamir,

Also, I am going to delete your previous comment as it contains generated logs. Let me know if you have questions with the suggestion that I provided earlier.

Aamir Nakhwa

unread,
Oct 5, 2021, 7:12:46 AM10/5/21
to AdWords API and Google Ads API Forum
Hello,

Thanks for your response but I have all the necessary information e.g. refresh token, secret key, etc in app.config as mentioned in this link https://developers.google.com/google-ads/api/docs/client-libs/dotnet/configuration#configuring_using_appconfig and also providing customer id in parameter to the function like below

objClickConversion = new ClickConversion()
{
                    ConversionAction = ResourceNames.ConversionAction(obj.CustomerID, obj.ConversionActionID),
                    Gclid = obj.gclid,
                    ConversionValue = obj.ConversionValue,
                    ConversionDateTime = obj.ConversionTime,
                    CurrencyCode = obj.Currency
};

So is it some sort of error from your side? Because I can see the values are in the variables and objects in debug mode. 

Regards

Aamir Nakhwa

unread,
Oct 5, 2021, 7:16:33 AM10/5/21
to AdWords API and Google Ads API Forum
Hello,

Can you please confirm which field is the access token on this link? As I am relying on Refresh Token for now and it's supplied after login as app starts and I accept the consent form.

Regards,
Aamir

Google Ads API Forum Advisor

unread,
Oct 5, 2021, 10:03:27 PM10/5/21
to testteste...@gmail.com, adwor...@googlegroups.com
Hi Aamir,

Thank you for the reply.

The client library should be able to generate the access token on your behalf and include it in the API request header when necessary information was set in the App.config. Since you've confirmed that your App.config is configured correctly, then there must be an issue with your client library. With this, I would suggest to post your concern here to get assistance from the author of the .NET client library as they are more equipped to provide support to this issue.

Aamir Nakhwa

unread,
Oct 6, 2021, 6:11:24 AM10/6/21
to AdWords API and Google Ads API Forum
Hello,

I am using the latest stable release of the library. By posting here you mean another post for that? Is there any tag or way through which I can connect with author of the .NET client library to save time?

Regards,
Aamir

Google Ads API Forum Advisor

unread,
Oct 7, 2021, 1:26:17 AM10/7/21
to testteste...@gmail.com, adwor...@googlegroups.com
Hi Aamir,

Since NuGet appears to be using .NET, you can reach out to the .NET client library owners via this link, for their insight on possible issues in your current setup.

Once setup correctly, the client libraries should be able to process the authorization of your requests, on your behalf.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2OUP1m:ref

Aamir Nakhwa

unread,
Oct 25, 2021, 11:57:24 AM10/25/21
to AdWords API and Google Ads API Forum
Thanks
Reply all
Reply to author
Forward
0 new messages