error when create responsive search ads

113 views
Skip to first unread message

learn protect

unread,
Oct 12, 2020, 2:14:19 AM10/12/20
to AdWords API and Google Ads API Forum
Hi there,
I am trying to use the new php v5 library to create responsive search ads.
I have set the parameters according to the example, But all i get is an error message saying that the field 'ad_group' is missing.

See attachment for production code and debug log.

This is the run output:

""" {\n "message": "Request contains an invalid argument.",\n "code": 3,\n "status": "INVALID_ARGUMENT",\n "details": [\n {\n "@type": "google.ads.googleads.v5.errors.googleadsfailure-bin",\n "data": "<Unknown Binary Data>"\n },\n {\n "@type": "grpc-status-details-bin",\n "data": "<Unknown Binary Data>"\n },\n {\n "@type": "request-id",\n "data": "Cyo_Q4uH8-7UNSiaFsMxyQ"\n }\n ]\n } """

Thanks!

code.txt
log.txt

Methorz

unread,
Oct 13, 2020, 11:21:09 AM10/13/20
to AdWords API and Google Ads API Forum
Hey there,

try to update the google libs to the latest version. Google added an update after my last post about this issue. Afterwards it was fixed for me. Seems the library was outdated. Also make sure to use the C library instead of the php extension for protobuf. 

I am now struggling with the following error:

   "message": "Request contains an invalid argument.",
    "code": 3,
    "status": "INVALID_ARGUMENT",
    "details": [
        {
            "@type": "google.ads.googleads.v5.errors.googleadsfailure-bin",
            "data": "<Unknown Binary Data>"
        },
        {
            "@type": "grpc-status-details-bin",
            "data": "<Unknown Binary Data>"
        },
        {
            "@type": "request-id",
            "data": "NcYS0j4mhqV-_DpYeZOK3A"
        }
    ]


Happens on random operations when trying to create adgroup ads via batchjob. No idea what to do. Error message says sequence token is invalid, but for me it seems a follow up error, since it happens randomly on exactly the same ads every time.

Maybe someone knows something about this?

Google Ads API Forum Advisor Prod

unread,
Oct 13, 2020, 3:02:23 PM10/13/20
to goo...@spammerz.de, adwor...@googlegroups.com
Hey,

Glad to hear your initial issue was resolved. Can you please share your full request and response through reply privately to author so I can take a closer look?

Thanks,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 


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