Response and request

23 views
Skip to first unread message

Michael Grablevskii

unread,
Feb 10, 2020, 11:59:28 AM2/10/20
to AdWords API and Google Ads API Forum

Python


v201809


I've received a not that informative error message. I'd like to localize the problem deeper.I suppose that a request was made. But I can't find what function or class method executes request to the API (to put a breakpoint there). Or request and response can be logged or something. Anyway, I'd like to have a look at them.

Could you help me find out what request and response were made to Google Adwords API?


Google Ads API Forum Advisor Prod

unread,
Feb 10, 2020, 4:54:47 PM2/10/20
to poisk...@gmail.com, adwor...@googlegroups.com

Hi Michael,

Thank you for reaching out. Could you please elaborate more on the error details for me to take a look into this further? Also, it is not possible for us to share the complete request and response logs made on your end, however, you could see the change history in your Google Ads account for the calls made to your account. 

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UV0MDC:ref

Michael Grablevskii

unread,
Feb 11, 2020, 1:33:16 AM2/11/20
to AdWords API and Google Ads API Forum
Dear Nikisha,

As for the error itself, I have already discussed it in other thread here and got help. 



Also, it is not possible for us to share the complete request and response logs made on your end, however, you could see the change history in your Google Ads account for the calls made to your account. 


I can't catch your idea. For debugging purpose I'd like to have a look at HTTP response and request. In Python library googleads==22.0.0 there are a lot of wrappers over making request. But somewhere deep inside there is a clear string something like:

    try:
        response = retry_session().post(url=url, data=data_bytes, headers=headers)
    except Exception as x:
        ...

I just can't dig up to this place. Could you point at that very place in the library where the request is executed?

Google Ads API Forum Advisor Prod

unread,
Feb 11, 2020, 12:18:59 PM2/11/20
to poisk...@gmail.com, adwor...@googlegroups.com

Hello Michael,

I tried looking into the other thread for the error details observed on your end to get more idea on your concern, however, I found out that my colleague has already addressed your concern and mentioned that the issue is related to the Pycharm. For digging more into this error details, as suggested on the other thread, I would recommend reaching out to the Pycharm support team as they will be able to assist you better since this is outside our expertise. Let us know if you have any additional API related concerns.



Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UV0MDC:ref
Reply all
Reply to author
Forward
0 new messages