Retrieving account level assets

385 views
Skip to first unread message

Paul Kavouras

unread,
Mar 3, 2023, 11:02:51 AM3/3/23
to Google Ads API and AdWords API Forum
Hello,

I haven't been able to retrieve data for some account level assets via the Google Ads API, using GAQL.

I have tried several different queries, including:
SELECT asset.id,metrics.impressions FROM customer_asset
as well as:
SELECT asset.type,asset.id,customer.descriptive_name,metrics.impressions FROM asset_set_asset
however I do not get data about the assets in the screenshot
The latter query works fine for ad-level assets, but not for account-level assets. Am I missing something with my queries or is there no way to fetch account-level assets?

Thanks,
Paul
Message has been deleted

Google Ads API and AdWords API Forum

unread,
Mar 8, 2023, 10:50:31 AM3/8/23
to Google Ads API and AdWords API Forum

Re-posting the last inquiry (https://groups.google.com/g/adwords-api/c/VH2TzZhRmcY) from the forum as it wasn't routed to our support queue.


Regards,
Google Ads API Team

Google Ads API and AdWords API Forum

unread,
Mar 10, 2023, 2:57:17 PM3/10/23
to Google Ads API and AdWords API Forum
Hi,

Thank you for posting your concern.

With regards to your concern, can you confirm if you have added a segment in your UI screenshot? I asked this because, I would like to specify first the following when comparing the value of the UI and API:
  • Comparing the API and UI on the same level as much as possible
  • The segments and fields of the API and UI should be the same
  • The date range is also the same

Regards,
Google Ads API Team
On Saturday, March 4, 2023 at 12:02:51 AM UTC+8 pa...@swydo.com wrote:

Paul Kavouras

unread,
Mar 15, 2023, 9:21:15 AM3/15/23
to Google Ads API and AdWords API Forum
Hello,

Thank you for your response. Apologies for the delay, I didn't get a notification for your reply.

This isn't a bug report, I was just unable to find out how to retrieve data for account level assets from the Google Ads API in the documentation and was hoping someone here would have some insights into whether this is possible and if so, which query parameters are we meant to be using.

To answer your question, I am not sure if there was a segment added in the screenshot as it was sent in by one of our users. I can find out if this is necessary, but I mostly would just like to know if it is possible to retrieve account level assets from the API.

Regards,
Paul

Google Ads API Forum Advisor

unread,
Mar 15, 2023, 1:43:01 PM3/15/23
to adwor...@googlegroups.com

Hi Paul, 

Thank you for coming back to us. I hope you are doing well today.

We really do understand your concern. You may try to use the campaign_asset instead of the customer asset. However, if in the event that you are still unable to fetch the data, please provide us with the complete request and response logs with request ID and request header generated on your end. 

Have a great day.

Regards,

Google Logo Google Ads API Team


ref:_00D1U1174p._5004Q2jz817:ref
Reply all
Reply to author
Forward
0 new messages