Hotel asset callout no data found

30 views
Skip to first unread message

Daliya Abraham

unread,
Nov 28, 2024, 11:38:09 AM11/28/24
to Google Ads API and AdWords API Forum
Hi, I am unable to get the hotel callouts from campaign_asset and customer_asset  by using below queries but have callouts in google ads UI. However I got data for adgroup level from  ad_group_asset. Is there any restriction for campaign and customer levels?
SELECT
                                        campaign_asset.campaign,
                                        campaign_asset.field_type,
                                        campaign_asset.primary_status,
                                        campaign_asset.resource_name,
                                        campaign_asset.status,
                                        campaign_asset.asset,
                                        campaign_asset.source,
                                        ad_group.id,
                                        ad_group.name,
                                        campaign.id,
                                        campaign.name,
                                        asset.source,
                                        asset.hotel_callout_asset.language_code,
                                        asset.callout_asset.callout_text,
                                        asset.hotel_callout_asset.text,
                                        asset.id,
                                        asset.resource_name,
                                        customer.currency_code,
                                        customer.id,
                                        customer.descriptive_name
                                    FROM
                                        campaign_asset
                                    WHERE segments.date >= '2022-10-01' AND segments.date <= '2022-10-31'


SELECT
                                        customer_asset.resource_name,
                                        customer_asset.asset,
                                        customer_asset.status,
                                        campaign.id,
                                        campaign.name,
                                        ad_group.id,
                                        ad_group.name,
                                        asset.hotel_callout_asset.text,
                                        asset.callout_asset.callout_text,
                                        customer_asset.source,
                                        asset.source,
                                        customer.id,
                                        customer.descriptive_name,
                                        asset.hotel_callout_asset.language_code,
                                        asset.id,
                                        asset.resource_name,
                                        customer.currency_code
                                    FROM
                                        customer_asset
                                    WHERE segments.date >= '2021-10-01' AND segments.date <= '2023-10-31'

SELECT
                                        ad_group_asset.ad_group,
                                        ad_group_asset.field_type,
                                        ad_group_asset.primary_status,
                                        ad_group_asset.resource_name,
                                        ad_group_asset.status,
                                        ad_group_asset.asset,
                                        ad_group.id,
                                        ad_group.name,
                                        campaign.id,
                                        campaign.name,
                                        ad_group_asset.source,
                                        asset.source,
                                        asset.hotel_callout_asset.language_code,
                                        asset.callout_asset.callout_text,
                                        asset.hotel_callout_asset.text,
                                        asset.id,
                                        asset.resource_name,
                                        customer.currency_code,
                                        customer.id,
                                        customer.descriptive_name
                                    FROM
                                        ad_group_asset
                                    WHERE segments.date >= '2022-10-01' AND segments.date <= '2022-10-31'

Google Ads API Forum Advisor

unread,
Nov 28, 2024, 4:21:22 PM11/28/24
to daliya....@techtaliya.com, adwor...@googlegroups.com
Hi,

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

I understand that you are unable to fetch the data from campaign_asset and customer_asset resources via the Ads API.

To assist you further, please provide us with the complete API logs (request and response with request-id and request header) generated at your end while fetching this data without redacting any information. Also, send us the uncropped UI screenshot (from your Google Ads account) with a visible customer ID by highlighting the data that you are trying to retrieve using the Google Ads API.

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, .Net, PHP, Python, Ruby 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.!5004Q02vGmai:ref" (ADR-00277147)

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5



Reply all
Reply to author
Forward
0 new messages