Error while filtering by `conversion_goal_campaign_config.goal_config_level`

54 views
Skip to first unread message

Sergei Aleinik

unread,
Jul 16, 2024, 8:26:24 AM7/16/24
to Google Ads API and AdWords API Forum
Hello,

I'm getting error while running the query:

```GAQL
SELECT
conversion_goal_campaign_config.campaign,
conversion_goal_campaign_config.custom_conversion_goal,
conversion_goal_campaign_config.goal_config_level,
FROM conversion_goal_campaign_config WHERE conversion_goal_campaign_config.goal_config_level = CUSTOMER
```

Message: Internal error encountered.
code: 13
status: Internal
type.googleapis.com\/google.ads.googleads.v16.errors.GoogleAdsFailure

The problem is in `goal_config_level` predicate of the WHERE condition. Could you check please?

Google Ads API Forum Advisor

unread,
Jul 16, 2024, 2:51:01 PM7/16/24
to kerb...@gmail.com, adwor...@googlegroups.com
Hi,

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

As per provided information, I understand that you are getting 'INTERNAL_ERROR' while executing a GAQL request. Do note that the INTERNAL_ERROR occurs when something unexpected happens while processing the request. The common cause could be the API isn't functioning correctly. However, this is transient in nature and the API request will work again when retrying it after 30 seconds or some time. You may also retry any requests that failed with this error, using an  Exponential backoff schedule for the retries. Here is a code example demonstrating how to implement an exponential back off strategy.

If the issue still persists, then provide us with the below information, so that we can investigate this issue further.
  • Affected Customer Id
  • Date of this issue started
  • How much time did you wait before retry of a request
  • complete API logs (request and response with request-id and request header) generated at your end.
If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java.NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vDfiP:ref" (ADR-00252034)

Thanks,
 
Google Logo Google Ads API Team


Sergei Aleinik

unread,
Jul 16, 2024, 3:03:44 PM7/16/24
to Google Ads API and AdWords API Forum
Hi! Thank you for your reply.

The error is permanent regardless of the time of the API call or the customer id. Filtering `conversion_goal_campaign_config` over `goal_config_level` predicate just doesn't work and fails with error. Please follow up the issue to the technical team.

If I execute the query with an invalid enum, for instance, `WHERE conversion_goal_campaign_config.goal_config_level = TEST` it clearly results with error that `TEST` is invalid enum value cannot be included in WHERE clause. In case of valid enums (CUSTOMER, CAMPAIGN) it permanently fails with "INTERNAL ERROR". Something is wrong on Ads' backend.
вторник, 16 июля 2024 г. в 18:51:01 UTC+4, Google Ads API Forum Advisor:

asif...@instaview365.com

unread,
Jul 16, 2024, 3:08:51 PM7/16/24
to adwor...@googlegroups.com

Dear 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum,


We would like to acknowledge that we have received your request and a ticket has been created.

A support representative will be reviewing your request and will send you a personal response (usually within 24 hours).



Thank you for your patience.


Sincerely,

asif...@instaview365.com

Google Ads API Forum Advisor

unread,
Jul 16, 2024, 6:32:59 PM7/16/24
to kerb...@gmail.com, adwor...@googlegroups.com
Hi,

I understand that you are getting 'INTERNAL_ERROR' irrespective of the time of the API call or the customer id. Note that you haven't provided the logs from your end which are essential for us to investigate your issue from our end. So, I would request you to provide the complete API logs (request and response with request-id and request header) generated at your end.


You can send the details via Reply privately to the author option, or direct private reply to this email.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vDfiP:ref" (ADR-00252034)

Thanks,

 
Google Logo Google Ads API Team

Register for the upcoming workshop: Performance Max and the Google Ads API!
 

 

asif...@instaview365.com

unread,
Jul 16, 2024, 6:44:53 PM7/16/24
to adwor...@googlegroups.com

Google Ads API Forum Advisor

unread,
Jul 17, 2024, 7:08:57 AM7/17/24
to asif...@instaview365.com, adwor...@googlegroups.com
Hi,

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

Could you please confirm whether you're using the Google Ads API or the UI? If API, please provide more information on your concerns so that we can assist you better. 

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vDhNU:ref" (ADR-00252502)

Thanks,

 
Google Logo Google Ads API Team

Register for the upcoming workshop: Performance Max and the Google Ads API!
 


Sergei Aleinik

unread,
Jul 17, 2024, 11:29:45 AM7/17/24
to Google Ads API and AdWords API Forum
I encounter this issue while using Google Ads API v16. When I run GAQL though GoogleAdsService I'm getting the specified error while filtering `conversion_goal_campaign_config` entity over `goal_config_level` parameter.
среда, 17 июля 2024 г. в 11:08:57 UTC+4, Google Ads API Forum Advisor:

Google Ads API Forum Advisor

unread,
Jul 17, 2024, 5:28:02 PM7/17/24
to kerb...@gmail.com, adwor...@googlegroups.com
Hi,

To assist you further, kindly provide us with the complete API logs (request and response logs with request-id and request header) generated at your end. This would help us investigate this issue further.

If you are using a client library and haven't enabled logging yet, I would request that you enable logging for the specific client library that you are using. You can refer to the guides Java.NetPHPPythonRuby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.
Reply all
Reply to author
Forward
0 new messages