google-ads-api icon indicating copy to clipboard operation
google-ads-api copied to clipboard

`extension_feed_item.sitelink_feed_item.url_custom_parameters` is not a valid attribute

Open felixmosh opened this issue 3 years ago • 5 comments

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
  ],
});

felixmosh avatar Aug 23 '21 10:08 felixmosh

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.

wcoots avatar Aug 23 '21 11:08 wcoots

Thank you for the quick response 🙏🏼 Typescript types as well?

felixmosh avatar Aug 23 '21 12:08 felixmosh

@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?

wcoots avatar Sep 06 '21 12:09 wcoots

Check the url above, it shows the Field

felixmosh avatar Sep 06 '21 12:09 felixmosh

@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.

wcoots avatar Sep 06 '21 13:09 wcoots