AssetSet fields query

83 views
Skip to first unread message

Pawel Flajszer

unread,
Jun 9, 2022, 4:31:30 AM6/9/22
to Google Ads API and AdWords API Forum
Hi,

I'm in the process of migrating the DSA feed to the asset-based model and I have a couple of problems.
First, Page Feed normally had some attributes you could read and write (Page URL, Status, Updated etc). You don't provide those when creating an asset set, but some get automatically generated (Page URL, Custom Label and Status).
1. Can I programatically create my own attributes?
2. Can I read the attributes via api? The below query contains (from my understanding) all the available queryalbe fields on the asset_set report:

SELECT
                                    asset_set.id,
                                    asset_set.merchant_center_feed.feed_label,
                                    asset_set.merchant_center_feed.merchant_id,
                                    asset_set.name,
                                    asset_set.resource_name,
                                    asset_set.status,
                                    asset_set.type
FROM asset_set

The problem is, the results are a little poor. Not only can't I get the custom attributes, but also i.e the ID is never returned (I understand that I can read the ID from the resource name field, but the ID is there and isn't even returned)

In summary, I'd like to:
1. Create my own attributes on Asset Set
2. Read those attributes either via Mutation response object on creation, and/or when using GAQL query
3. Retrieve more fields from the GAQL query (i.e. ID)

Thanks a lot in advance for your help!
Pawel

Google Ads API Forum Advisor

unread,
Jun 9, 2022, 6:28:39 AM6/9/22
to pawel.f...@searchlaboratory.com, adwor...@googlegroups.com
Hi Pawel,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I hope that you are doing well today.

With regard to your concerns.

1. Create my own attributes on Asset Set. The answer here is no. We cannot create customized attributes. Because the website provides its own Attributes. By default, Dynamic Search Ads (DSAs) are set up to target entire websites, or portions of them without focusing on specific page URLs

2. Can I read the attributes via api? The below query contains (from my understanding) all the available queryalbe fields on the asset_set report: About this, since you are using an Asset_set, we would suggest you to use Asset_set_asset as it contains more attributes that the asset_set

3. Retrieve more fields from the GAQL query (i.e. ID). For this one, can you please clarify what kind of id are you referring to? Can you please provide us a screenshot of the ui and point it to us what ID do you want to retrieve on the fields? So that we can give much more detailed information for it.

If you have questions or concerns, please feel free to reply on this thread.

Best regards,
Google Logo
Sherwin Vincent
Google Ads API Team
 


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