Hi, I am getting an strange error running a search query for ad_group_ad when ad_group_ad.labels is part of the select clause and when campaign.id = 111111 is in the where clause. At least it seems odd to me.
Query shows ok in query builder. Also OK when live if I remove ad_group_ad.labels from the query, or if having ad_group.id in where clause instead of campaign.id Please see the full query and response in attached file. Running Google Ads Api version 7, but have also tried version 8 with exact same problem. message: "The error code is not in this version." trigger { string_value: "A_campaign__Campaign.campaign_id" .. If someone have a chance to look into this that would be great. Thanks, Hans -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/1ccfebc0-b4be-430c-a779-e3005e3e227an%40googlegroups.com.
MethodName: google.ads.googleads.v7.services.GoogleAdsService/Search Endpoint: googleads.googleapis.com:443 Headers: {developer-token=REDACTED, login-customer-id=XXXXXXXXX, x-goog-api-client=gl-java/11.0.7 gapic/ gax/1.63.0 grpc/1.36.0} Body: customer_id: "XXXXXXXX" query: "select ad_group_ad.ad.id, ad_group.id, ad_group.name, ad_group_ad.status, ad_group_ad.policy_summary.approval_status, ad_group_ad.ad.type, ad_group_ad.ad.final_urls, ad_group_ad.ad.display_url, ad_group_ad.ad.final_mobile_urls, ad_group_ad.ad.device_preference, ad_group_ad.ad.tracking_url_template, ad_group_ad.ad.url_custom_parameters, ad_group_ad.ad.final_app_urls, ad_group_ad.ad.call_only_ad.headline1, ad_group_ad.ad.call_only_ad.headline2, ad_group_ad.ad.call_only_ad.description1, ad_group_ad.ad.call_only_ad.description2, ad_group_ad.ad.call_only_ad.phone_number_verification_url, ad_group_ad.ad.call_only_ad.call_tracked, ad_group_ad.ad.call_only_ad.business_name, ad_group_ad.ad.call_only_ad.country_code, ad_group_ad.ad.call_only_ad.phone_number, ad_group_ad.ad.call_only_ad.conversion_action, ad_group_ad.ad.call_only_ad.disable_call_conversion, ad_group_ad.ad.responsive_search_ad.headlines, ad_group_ad.ad.responsive_search_ad.descriptions, ad_group_ad.ad.responsive_search_ad.path1, ad_group_ad.ad.responsive_search_ad.path2, ad_group_ad.ad.expanded_text_ad.headline_part1, ad_group_ad.ad.expanded_text_ad.headline_part2, ad_group_ad.ad.expanded_text_ad.headline_part3, ad_group_ad.ad.expanded_text_ad.description, ad_group_ad.ad.expanded_text_ad.description2, ad_group_ad.ad.expanded_text_ad.path1, ad_group_ad.ad.expanded_text_ad.path2, ad_group_ad.ad.text_ad.description1, ad_group_ad.ad.text_ad.description2, ad_group_ad.ad.text_ad.headline, metrics.impressions, metrics.conversions, metrics.clicks, metrics.ctr, ad_group_ad.labels from ad_group_ad where campaign.id in (14251262334) and ad_group_ad.ad.type in (TEXT_AD,EXPANDED_TEXT_AD,CALL_ONLY_AD,RESPONSIVE_SEARCH_AD) and ad_group_ad.status in (ENABLED,PAUSED) order by ad_group_ad.ad.id asc, ad_group.id asc" Response -------- Headers: Metadata(content-type=application/grpc,request-id=fmeazMlnZfnYwTVuzhsUuA,date=Thu, 12 Aug 2021 19:56:38 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43") Body: null Failure message: errors { error_code { request_error: UNKNOWN } message: "The error code is not in this version." trigger { string_value: "A_campaign__Campaign.campaign_id" } } request_id: "fmeazMlnZfnYwTVuzhsUuA" Status: Status{code=INVALID_ARGUMENT, description=Request contains an invalid argument., cause=null}. 2021-08-12 21:57:08.938 [Test worker] WARN GoogleAdsApiExceptionUtil: Problem executing request com.google.ads.googleads.v7.errors.GoogleAdsException: errors { error_code { request_error: UNKNOWN } message: "The error code is not in this version." trigger { string_value: "A_campaign__Campaign.campaign_id" } } request_id: "fmeazMlnZfnYwTVuzhsUuA"