google-ads-api
google-ads-api copied to clipboard
`extension_feed_item.sitelink_feed_item.url_custom_parameters` is not a valid attribute
There is no way to fetch in a report url_custom_parameters
field of SiteFeedItem but it is documented
const extensionItems = await client.report({
entity: 'extension_feed_item',
attributes: [
'extension_feed_item.extension_type',
'extension_feed_item.status',
'extension_feed_item.device',
'extension_feed_item.resource_name',
'extension_feed_item.sitelink_feed_item.link_text',
'extension_feed_item.sitelink_feed_item.final_urls',
'extension_feed_item.sitelink_feed_item.line1',
'extension_feed_item.sitelink_feed_item.line2',
'extension_feed_item.sitelink_feed_item.url_custom_parameters', // <-- when added it fails
],
});
Hi @felixmosh, this error is coming from Google Ads and not from this library. These kind of issues are best directed to the official google ads api forum.
Thank you for the quick response 🙏🏼 Typescript types as well?
@felixmosh The extension_feed_item.sitelink_feed_item.url_custom_parameters
field doesn't appear to exist on the extension_feed_item
resource (see here). Where did you see this field?
Check the url above, it shows the Field
@felixmosh I guess Google haven't seen fit to include it in the API yet. Perhaps it's due to be deprecated, or just not used enough to be considered valuable. My only suggestion would to be ask why this is in the office google ads api forum.