Adwords API Beta returning StatusCode.INVALID_ARGUMENT

321 views
Skip to first unread message

GC

unread,
Nov 19, 2018, 11:00:28 PM11/19/18
to AdWords API and Google Ads API Forum
Hi there,

I tried the sample code from https://github.com/googleads/google-ads-python/blob/master/examples/v0/account_management/get_account_information.py with no modifications other than pointing to the correct yaml config file. I also used a customer id of a test account and the developer_token of an MCC account. I'm getting the following all of the time:

grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
        status
= StatusCode.INVALID_ARGUMENT
        details
= "Request contains an invalid argument."
        debug_error_string
= "{"created":"@1542673400.001406000","description":"Error received from peer","file":"src/core/lib/surface/call.cc","file_line":1017,"grpc_message":"Request contains an invalid argument.","grpc_status":3}"
>


The older SOAP API works just fine. I've double checked the developer_token, client_id, client_secret, and refresh_token so I'm not sure what's going on.

Luis Xander Talag (AdWords API Team)

unread,
Nov 20, 2018, 12:39:35 AM11/20/18
to AdWords API and Google Ads API Forum
Hi,

Based on your error, the issue seems to be related to the Python client library rather than the Google Ads API Beta. I would suggest to post this issue in this link as the Python client library owners are better equipped to assist you here.

Thanks and regards,
Luis
AdWords API Team

GC

unread,
Nov 20, 2018, 1:10:56 PM11/20/18
to AdWords API and Google Ads API Forum
Thank you
Reply all
Reply to author
Forward
0 new messages