ad_group_ad.ad.expanded_dynamic_search_ad.description2 UNRECOGNIZED_FIELD

35 views
Skip to first unread message

Сергей Старовойтов

unread,
Oct 6, 2019, 9:49:48 AM10/6/19
to AdWords API and Google Ads API Forum
Hello!

I have an error UNRECOGNIZED_FIELD, then i try to get ad_group_ad.ad.expanded_dynamic_search_ad.description2

Request query:
SELECT
            ad_group_ad.ad.id
            , ad_group_ad.ad.type
            , ad_group_ad.status
            , ad_group_ad.ad.expanded_dynamic_search_ad.description
            , ad_group_ad.ad.expanded_dynamic_search_ad.description2
            , ad_group.id
            
FROM" +
            ad_group_ad

Response:
{
  "error": {
    "code": 400,
    "message": "Request contains an invalid argument.",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure",
        "errors": [
          {
            "errorCode": {
              "queryError": "UNRECOGNIZED_FIELD"
            },
            "message": "Unrecognized field in the query: 'ad_group_ad.ad.expanded_dynamic_search_ad.description2'."
          }
        ]
      }
    ]
  }
}

Google Ads API Forum Advisor Prod

unread,
Oct 7, 2019, 12:02:32 PM10/7/19
to sastar...@gmail.com, adwor...@googlegroups.com
Hello, 

The field ExpandedDynamicSearchAd.description2 was added in the Google Ads API beta v2.1.0. Could you please make sure that you update the client libraries to the latest version and try adding the field again? If you're receiving an error, could you please share the logs again using Reply privately to author option to investigate further?

Thanks,
Bharani, Google Ads API Team

ref:_00D1U1174p._5001UKMK1o:ref

Сергей Старовойтов

unread,
Oct 8, 2019, 6:10:08 AM10/8/19
to AdWords API and Google Ads API Forum
Thank you very mach!

I tried to send request on https://googleads.googleapis.com/v1/customers/XXXXXXX/googleAds:search which ended by error.
Now I send request to https://googleads.googleapis.com/v2/customers/XXXXXXX/googleAds:search and it's ok!

понедельник, 7 октября 2019 г., 16:02:32 UTC пользователь adsapiforumadvisor написал:
Reply all
Reply to author
Forward
0 new messages