Fetch hotel group name associated with resource name

65 views
Skip to first unread message

Tiana S.

unread,
Feb 15, 2022, 11:44:59 AM2/15/22
to Google Ads API and AdWords API Forum
Hi there,

For the hotel group view there's a resource_name field: https://developers.google.com/google-ads/api/fields/v10/hotel_group_view#hotel_group_view.resource_name

Trying to find the hotel group name that belongs to those resource names, but cannot seem to find them. Since the hotel group view supports the ad_group_criterion resource group, I thought ad_group_criterion.display_name would contain the name value, but when fetching it from the hotel_group_view resource nothing is returned for the display name field.

Where can I fetch the name associated with the hotel_group_view's resource_name?

Thanks in advance!

Tiana

Google Ads API Forum Advisor

unread,
Feb 16, 2022, 10:12:33 AM2/16/22
to ti...@swydo.com, adwor...@googlegroups.com

Hi Tiana,

 

I'm Kevin from the Google Ads API team.

 

Before we can provide proper context with regard to your question, can you provide us your complete request and response logs with request ID where the API returned nothing in the display name field? You may send the requested information 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
Kevin Gil
Google Ads API Team
 


ref:_00D1U1174p._5004Q2WvunD:ref

Tiana S.

unread,
Feb 16, 2022, 10:35:40 AM2/16/22
to Google Ads API and AdWords API Forum
Thanks for the help!
Sent the requested info privately.

Google Ads API Forum Advisor

unread,
Feb 17, 2022, 2:13:14 PM2/17/22
to ti...@swydo.com, adwor...@googlegroups.com

Hello Tiana,

Thanks for providing the requested logs. I am wondering could you please try the same report run under version10 of the Google Ads API with "SummaryRowSetting": "SUMMARY_ROW_WITH_RESULTS"? Because with this "NO_SUMMARY_ROW" setting metrics value will not be visible to your results.
Let me know if the issue still persists, could you please provide us with the complete full newer request and response logs with request-id and login-customer-id generated on your end. Kindly use the Reply privately to the author option while sharing the details.

Best regards,

Google Logo
Jakeia Sabrina
Google Ads API Team
 

ref:_00D1U1174p._5004Q2WvunD:ref

Tiana S.

unread,
Feb 18, 2022, 8:14:40 AM2/18/22
to Google Ads API and AdWords API Forum
Hi Jakeia,

Thanks for your response!

Both v10 and changing the summary row setting do not influence the response. It's exactly the same for all variations, missing the a value for `ad_group_criterion.display_name`.

Will provide request and response logs privately for a request both on v10 and with the summaryRowSetting set to SUMMARY_ROW_WITH_RESULTS.

Best,

Tiana
Reply all
Reply to author
Forward
0 new messages