Does the UI show these site links as "legacy"? If not, you have auto-migrated site links <http://ads-developers.googleblog.com/2022/01/revised-schedule-for-auto-migration-of.html>. (Note: that topic states site links should all have been migrated, but in July I still had accounts with legacy site links. Do check this)
For migrated site links, learn about asset-based extensions <https://developers.google.com/google-ads/api/docs/extensions/assets/asset-extensions> . Also read this topic <https://groups.google.com/u/2/g/adwords-api/c/EnXE9lBN7HU/m/NzhETq4sAwAJ> about retrieving all site links, legacy and migrated. On Monday, September 26, 2022 at 8:16:32 PM UTC+2 [email protected] wrote: > Hi Google Team, > > > When I try to pull the attributes for sitelinks in our account, the status > (extension_feed_item.status) of all sitelinks are shown as 'ENABLED', even > though some of them are shown correctly as 'REMOVED' in the UI. This feels > like a bug returning the wrong data. > > Here is my query to pull the sitelinks: > " SELECT > campaign.name, > campaign.status, > ad_group.name, > ad_group.id, > ad_group.status, > extension_feed_item.sitelink_feed_item.final_urls, > extension_feed_item.sitelink_feed_item.link_text, > extension_feed_item.sitelink_feed_item.line1, > extension_feed_item.sitelink_feed_item.line2, > extension_feed_item.status, > extension_feed_item.id > FROM extension_feed_item > WHERE > extension_feed_item.extension_type='SITELINK' > AND campaign.status='ENABLED' > AND ad_group.status='ENABLED' > '" > > Another thing I noticed is that the extension_feed_item.id returned via > the API is *totally *different from the 'Item ID' in the UI. Could you > help me understand why? Are those just IDs for totally different entities? > > One final question, currently the status of the extensions are read-only. > Is the functionality to update the status of extensions using the API on > the near-term roadmap? > > Appreciate your assistance with my questions! > > > > Thanks, > Hao > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/1d2c11ae-8641-418e-8e15-873cd1cb4877n%40googlegroups.com.
