Returning internal_error when validating an ad_group_ad operation

67 views
Skip to first unread message

Wojciech Ślawski

unread,
May 20, 2022, 6:33:23 AM5/20/22
to Google Ads API and AdWords API Forum
Starting today(20.05) when doing operations like this:

{"adGroupAdOperation":{"create":{"adGroup":"customers\/5197479649\/adGroups\/134653633601","ad":{"finalUrls":["https:\/\/info7641445.wixsite.com\/is-2005-2"],"expandedTextAd":{"headlinePart1":"fafwefwef","headlinePart2":"wefwefwf","headlinePart3":"wfwefwfwefwf","description":"wefwefwefwef"}}}}}

We started getting errors like this:

[
                    {
                        "message": "A transient internal error has occurred. Please retry the request.",
                        "trigger": "{\"stringValue\":\"ENABLED_AD_GROUP_CREATIVES_PER_CAMPAIGN\"}",
                        "location": "{\"fieldPathElements\":[{\"fieldName\":\"mutate_operations\",\"index\":0},{\"fieldName\":\"ad_group_ad_operation\"}]}"
                    },
                    {
                        "message": "A transient internal error has occurred. Please retry the request.",
                        "trigger": "{\"stringValue\":\"ENABLED_ADVERTISER_BASE_AD_GROUP_CREATIVES_PER_CUSTOMER\"}",
                        "location": "{\"fieldPathElements\":[{\"fieldName\":\"mutate_operations\",\"index\":0},{\"fieldName\":\"ad_group_ad_operation\"}]}"
                    },
                    {
                        "message": "A transient internal error has occurred. Please retry the request.",
                        "trigger": "{\"stringValue\":\"ENABLED_TEXT_CREATIVES_PER_AD_GROUP\"}",
                        "location": "{\"fieldPathElements\":[{\"fieldName\":\"mutate_operations\",\"index\":0},{\"fieldName\":\"ad_group_ad_operation\"}]}"
                    }
                ]

This happens multiple times and seems to be random, sometimes it works, sometimes it doesn't. This is kind of hard to handle, because we already tried to do retry and and it didn't solve a problem. Sometimes it just works, with the same data.

Also this operation is done with validateOnly = true, so it's only a validation of operation. Not sure what started happening, we didn't notice this issue earlier.
Message has been deleted

Google Ads API Forum Advisor

unread,
May 20, 2022, 4:10:48 PM5/20/22
to jur...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out to us.

An internal_error could be caused when something unexpected happened while processing the request.  To investigate the issue further, could you please provide the complete request and response logs, with the request-id? 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 can provide it via Reply privately to author option.  If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Thanks,

Google Logo
Nirmita
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2bBds5:ref

Google Ads API Forum Advisor

unread,
May 24, 2022, 11:43:09 PM5/24/22
to jur...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API team.

Moving forward to your concern, I understand that you are encountering an Internal_Error. This error occurs when something unexpected happened while processing the request and the API isn't functioning correctly due to a bug. However, this is transient in nature and the API request will work again when retying it after 30 seconds or some time. That said, please retry your request again to see if this error will still occur.

Also, as my colleague Nirmita requested, so we can investigate the issue further, could you please provide the complete request and response logs, with the request-id?


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 can provide it via Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.


Regards,

Google Logo
Carmela
Google Ads API Team
 


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