Internal Error when calling search stream

44 views
Skip to first unread message

Anand

unread,
Dec 27, 2022, 9:08:52 PM12/27/22
to Google Ads API and AdWords API Forum
Hi, 

We are seeing a persistent failures due to internal error when calling search stream for responsive display ad. Retries with exponential backoff (30 seconds interval) don't seem to help.

 {
  "StatusCode": 13,
  "Details": "Internal error encountered.",
  "RequestId": "XEnwXi-F75JzC0RrNXT4Ow",
  "Failure": {
    "errors": [
      {
        "errorCode": {
          "internalError": "INTERNAL_ERROR"
        },
        "message": "An internal error has occurred."
      }
    ],
    "requestId": "XEnwXi-F75JzC0RrNXT4Ow"
  }
},

Here is the query used:
SELECT ad_group_ad.ad.final_mobile_urls, ad_group_ad.ad.final_urls, ad_group_ad.ad.final_url_suffix, ad_group_ad.ad.id, ad_group_ad.ad.responsive_display_ad.business_name, ad_group_ad.ad.responsive_display_ad.call_to_action_text, ad_group_ad.ad.responsive_display_ad.descriptions, ad_group_ad.ad.responsive_display_ad.headlines, ad_group_ad.ad.responsive_display_ad.logo_images, ad_group_ad.ad.responsive_display_ad.long_headline, ad_group_ad.ad.responsive_display_ad.marketing_images, ad_group_ad.ad.responsive_display_ad.square_logo_images, ad_group_ad.ad.responsive_display_ad.square_marketing_images, ad_group_ad.ad.tracking_url_template, ad_group_ad.ad.type, ad_group_ad.ad.url_custom_parameters, ad_group_ad.status, ad_group.id, ad_group.name, campaign.name
FROM ad_group_ad
WHERE campaign.id IN (<Redacted>)
AND ad_group_ad.ad.type = 'RESPONSIVE_DISPLAY_AD'
AND campaign.status != 'REMOVED'
AND ad_group.status != 'REMOVED'
AND ad_group.status IN ('ENABLED', 'PAUSED')
AND ad_group_ad.status IN ('ENABLED', 'PAUSED')
ORDER BY ad_group_ad.ad.id ASC

API version: v11
Dotnet library version: v12.1.0

Thanks,
Anand


Google Ads API Forum Advisor

unread,
Dec 27, 2022, 10:58:22 PM12/27/22
to atrip...@outlook.com, adwor...@googlegroups.com
Hi Anand,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.

With regards to your concern about "Internal error encountered" which happens occasionally, this occurs when something unexpected happened while processing the request. The common cause could be the API isn't functioning correctly. With this, what we can do is to advise you to wait for about 30 seconds, then retry the request.

Furthermore, you can also try to remove the "ad_group.status IN ('ENABLED', 'PAUSED')" in the Where clause as it is already redundant with ad_group.status != 'REMOVED'.

If you still encounter the internal error, please reach out to us again and provide the most recent and complete request and response logs with request ID and request header generated on your end. You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Kind regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


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