100% errors since 2 days

219 views
Skip to first unread message

Éric Chaurial

unread,
Dec 7, 2022, 2:07:54 AM12/7/22
to Google Ads API and AdWords API Forum
Hello,

Since 2 days, I have an error with my google ads API connection :

Fatal error: Uncaught Google\ApiCore\ApiException: {

    "message": "Request contains an invalid argument.",

    "code": 3,

    "status": "INVALID_ARGUMENT",

    "details": [

        {

            "@type": "google.ads.googleads.v9.errors.googleadsfailure-bin",

            "data": "<Unknown Binary Data>"

        },

        {

            "@type": "grpc-status-details-bin",

            "data": "<Unknown Binary Data>"

        },

        {

            "@type": "request-id",

            "data": "c1Zuc8POiCgOfbm3I9Rt7A"

        }

    ]

}


Do you have an idea to help me to fix this problem ?

Thanks for your help

Best

Eric

Éric Chaurial

unread,
Dec 7, 2022, 2:10:15 AM12/7/22
to Google Ads API and AdWords API Forum
An other example with te request :

SELECT ad_group_ad.ad.id, ad_group_ad.ad.name, ad_group.id, campaign.id, segments.date, metrics.cost_micros, metrics.impressions, metrics.video_views, metrics.clicks FROM ad_group_ad WHERE segments.date = '2022-12-06' ORDER BY ad_group_ad.ad.id LIMIT 1000

PHP Fatal error:  Uncaught Google\ApiCore\ApiException: {

    "message": "Request contains an invalid argument.",

    "code": 3,

    "status": "INVALID_ARGUMENT",

    "details": [

        {

            "@type": "google.ads.googleads.v9.errors.googleadsfailure-bin",

            "data": "<Unknown Binary Data>"

        },

        {

            "@type": "grpc-status-details-bin",

            "data": "<Unknown Binary Data>"

        },

        {

            "@type": "request-id",

            "data": "WV2giKv9zrdNV6F4cxWRCA"

        }

    ]

}


Google Ads API Forum Advisor

unread,
Dec 7, 2022, 3:19:36 AM12/7/22
to er...@ollynk.eu, adwor...@googlegroups.com

Hi Eric,

Thanks for reaching out to the Google Ads API Forum.

I can see that you are trying to pull the reports using Google Ads API v9 version. Kindly note that you may receive the error message "Version v9 is deprecated. Requests to this version will be blocked." as V9 is sunset already. Also, note that this sunset of Google Ads API v9 was announced in this blog post. However, you may please see this guide as it contains the details on how to upgrade to the newest version of the Google Ads API. I highly recommend you to migrate to the latest version as soon as possible. You may also refer to this Deprecation guide for the future sunset dates. Let us know if you have any questions on the migration and we continue to assist you further.

Regards,

Google Logo
Yasar
Google Ads API Team
 


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