Пользуемся отчетом https://developers.google.com/adwords/api/docs/appendix/reports/shopping-performance-report#storeid для выгрузки расходов. Из него получаем OfferId и Channel - это только часть ProductId (https://developers.google.com/shopping-content/guides/products/product-id). Не хватает: Content Language и Target Country.
Из отчета можно еще взять CountryCriteriaId - id страны и LanguageCriteriaId - id языка. На основе их попробовали получить через сервисы ConstantDataService (https://developers.google.com/adwords/api/docs/reference/v201809/ConstantDataService#getLanguageCriterion) и LocationCriterionService (https://developers.google.com/adwords/api/docs/reference/v201809/LocationCriterionService#get) соответствующие Content Language и Target Country: язык приходит в нужном формате (ru), а страна с полным именем (Russia) и countryCode всегда null Что нужно сделать, чтобы получить countryCode? Или есть другие методы получения ProductId? Основная цель получить полный id товара, соответствующий OfferId из Shopping Performance Report -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "AdWords API and Google Ads 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/536bd0d0-83b9-44f9-a6df-60cab1d136c0%40googlegroups.com.
