Нужно получить полный id товара в отчете Shopping Performance Report
Пользуемся отчетом 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/536bd0d0-83b9-44f9-a6df-60cab1d136c0%40googlegroups.com.
API returns type = UNKNOWN for smart campaigns
account name: Старт (distilyator-smakyu.com) user login: 979-193-7741 campaign id: 6497425404 We send request to CampaignService for getting camaigns and API returns campaign with type UNKNOWN, what is this? How we need process it? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/4d00e5f8-f4e0-420a-a228-4614b9bd6055%40googlegroups.com.
Re: Getting contentLanguage and targetCountry by API
Вот ссылка на документацию товара откуда взял поля. https://developers.google.com/shopping-content/v2/reference/v2.1/products среда, 29 мая 2019 г., 23:52:15 UTC+3 пользователь adsapiforumadvisor написал: > > Hello Dimitry, > > Could you please let me know the documentation references that you are > following for the fields contentLanguage and targetCountry? to see if they > are same as of the fields that you pointed in the shopping performance > report? > > Regards, > Sai Teja, Google Ads API Team > > ref:_00D1U1174p._5001UAqyaT:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/4eb6f658-4e46-46c9-bf5d-a602fd650323%40googlegroups.com.
Getting contentLanguage and targetCountry by API
Из документации по этому отчёту - https://developers.google.com/adwords/api/docs/appendix/reports/shopping-performance-report - видно, что можно получить CountryCriteriaId и LanguageCriteriaId. Верно ли я понимаю, что по этим Id можно получить значения contentLanguage и targetCountry, которые подставляются в productId? И если да, то каким образом? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/b994743e-ec5a-43f4-b04f-329ee972c05d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.