{"id":6056,"date":"2022-09-22T21:58:47","date_gmt":"2022-09-22T21:58:47","guid":{"rendered":"https:\/\/craighordlow.com\/index.php\/2022\/09\/22\/content-api-for-shopping-and-google-ads-api-updated-for-country-targeting\/"},"modified":"2022-09-22T21:58:47","modified_gmt":"2022-09-22T21:58:47","slug":"content-api-for-shopping-and-google-ads-api-updated-for-country-targeting","status":"publish","type":"post","link":"https:\/\/craighordlow.com\/index.php\/2022\/09\/22\/content-api-for-shopping-and-google-ads-api-updated-for-country-targeting\/","title":{"rendered":"Content API for Shopping and Google Ads API updated for country targeting"},"content":{"rendered":"<p>Updates to the country targeting for shopping products, with the introduction of the feedLabel field, have begun. <\/p>\n<p><strong>Recent updates to the API. <\/strong>Last month we <a href=\"https:\/\/searchengineland.com\/google-is-now-allowing-products-in-all-countries-to-use-a-single-merchant-center-feed-387944\" target=\"_blank\" rel=\"noreferrer noopener\">announced<\/a> that Google was removing the country targeting requirements were being removed and replaced with a new feedLabel field. Today Google announced updates to those changes including: <\/p>\n<p>For Google Ads<\/p>\n<ul>\n<li>Any Google Ads account can set the\u00a0<a href=\"https:\/\/developers.google.com\/google-ads\/api\/reference\/rpc\/v11\/Campaign.ShoppingSetting#feed_label\" target=\"_blank\" rel=\"noopener\"><code>feed_label<\/code><\/a>\u00a0field in\u00a0<a href=\"https:\/\/developers.google.com\/google-ads\/api\/reference\/rpc\/v11\/Campaign.ShoppingSetting\" target=\"_blank\" rel=\"noopener\"><code>ShoppingSetting<\/code><\/a>\u00a0for Shopping and Performance Max campaigns. You can set\u00a0feed_label\u00a0in the Google Ads UI and the Google Ads API.<\/li>\n<\/ul>\n<p>For Merchant center<\/p>\n<ul>\n<li>As of September 14th, 2022 we\u2018ve started the gradual rollout of feed labels in the Merchant Center UI. When this feature is enabled in the UI, merchants will be able to create a new feed with\u00a0<strong>feed label<\/strong>\u00a0set to any valid string.\u00a0<\/li>\n<\/ul>\n<p>In the Content API:<\/p>\n<ul>\n<li>Products that have only\u00a0feedLabel, and not\u00a0targetCountry, if they were added in the Merchant Center UI.<\/li>\n<li>Products with feed labels that aren\u2019t two-letter country codes.<\/li>\n<\/ul>\n<p><strong>API behavior summary.<\/strong> Additionally, the following is a clarification from Google about the current API behavior for feedLabel:<\/p>\n<ul>\n<li><strong>Insertion:<\/strong>\u00a0You can only call\u00a0<a href=\"https:\/\/developers.google.com\/shopping-content\/reference\/rest\/v2.1\/products\/insert\" target=\"_blank\" rel=\"noreferrer noopener\"><code>Products.insert<\/code><\/a>\u00a0on products with a matching\u00a0feedLabel\u00a0and\u00a0targetCountry. Currently,\u00a0Products.insert\u00a0might return an error if you don\u2019t provide a matching\u00a0targetCountry. This behavior hasn\u2019t changed if you continue to use only\u00a0targetCountry.<\/li>\n<li><strong>Targeting:<\/strong>\u00a0If you set\u00a0feedLabel\u00a0to a valid 2-letter CLDR territory code, you must still set the\u00a0<a href=\"https:\/\/developers.google.com\/shopping-content\/reference\/rest\/v2.1\/products#ProductShipping\" target=\"_blank\" rel=\"noreferrer noopener\">shipping<\/a>\u00a0attribute of the\u00a0<a href=\"https:\/\/developers.google.com\/shopping-content\/reference\/rest\/v2.1\/products#resource:-product\" target=\"_blank\" rel=\"noreferrer noopener\">products<\/a>\u00a0resource to the same country in order to target that country. For example, if you set a new\u00a0feedLabel\u00a0to \u201cUS\u201d, you must also set the\u00a0<code>country<\/code>\u00a0field in the\u00a0<a href=\"https:\/\/developers.google.com\/shopping-content\/reference\/rest\/v2.1\/products#ProductShipping\" target=\"_blank\" rel=\"noreferrer noopener\">shipping<\/a>\u00a0attribute to \u201cUS\u201d. If you don\u2019t set both fields, the product might not be eligible to serve in that country. You can configure targeting for an entire feed in the Merchant Center UI.<\/li>\n<li><strong>Get\/List:<\/strong>\u00a0When you use\u00a0<a href=\"https:\/\/developers.google.com\/shopping-content\/reference\/rest\/v2.1\/products\/list\" target=\"_blank\" rel=\"noreferrer noopener\">Products.list<\/a>\u00a0or\u00a0<a href=\"https:\/\/developers.google.com\/shopping-content\/reference\/rest\/v2.1\/products\/get\" target=\"_blank\" rel=\"noreferrer noopener\">Products.get<\/a>, you might see products that only have\u00a0feedLabel\u00a0(and not\u00a0targetCountry) set if they were added in the Merchant Center UI.<\/li>\n<li><strong>Product IDs:<\/strong>\u00a0Once a\u00a0feedLabel\u00a0is set for a product it becomes part of the\u00a0<a href=\"https:\/\/developers.google.com\/shopping-content\/guides\/products\/feed-labels#offer_id\" target=\"_blank\" rel=\"noreferrer noopener\">product Id<\/a>. This means you can\u2019t modify the\u00a0feedLabel\u00a0for that product (this is similar to how\u00a0language\u00a0works). If you wish to change the\u00a0feedLabel\u00a0you will need to create a new product with a different product Id.<\/li>\n<\/ul>\n<p><strong>Coming next.<\/strong> Google says that once the rollout of feed labels is complete, they will accept Products.insert calls with feedLabel set to any string. targetCountry will be optional.<\/p>\n<p>For datafeeds, the\u00a0<a href=\"https:\/\/developers.google.com\/shopping-content\/reference\/rest\/v2.1\/datafeeds\" target=\"_blank\" rel=\"noreferrer noopener\"><code>datafeeds<\/code><\/a>\u00a0resource will be updated to include feedLabel in the Content API for Shopping.<\/p>\n<p><strong>Dig deeper.<\/strong> You can read the full announcement from Google <a href=\"https:\/\/ads-developers.googleblog.com\/2022\/09\/country-targeting-update-for-products.html\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>. <\/p>\n<p><strong>Why we care.<\/strong> If you\u2019re a developer and you\u2019re using APIs for content or shopping campaigns, you\u2019ll no longer have to set a target country, but instead use the feedLabel in its place. You can opt-in or out of these features, <\/p>\n<p>The post <a rel=\"nofollow noopener\" href=\"https:\/\/searchengineland.com\/content-api-for-shopping-and-google-ads-api-updated-for-country-targeting-388183\" target=\"_blank\">Content API for Shopping and Google Ads API updated for country targeting<\/a> appeared first on <a rel=\"nofollow noopener\" href=\"https:\/\/searchengineland.com\/\" target=\"_blank\">Search Engine Land<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Updates to the country targeting for shopping products, with the introduction of the feedLabel field, have begun. Recent updates to the API. Last month we announced that Google was removing the country targeting requirements were being removed and replaced with a new feedLabel field. Today Google announced updates to those changes including: For Google Ads Any Google Ads account can set the\u00a0feed_label\u00a0field in\u00a0ShoppingSetting\u00a0for Shopping and Performance Max campaigns. You can set\u00a0feed_label\u00a0in the Google Ads UI and the Google Ads API. For Merchant center As of September [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"h5ap_radio_sources":[],"cybocfi_hide_featured_image":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-6056","post","type-post","status-publish","format-standard","hentry","category-best-seo-blogs"],"featured_image_src":null,"featured_image_src_square":null,"author_info":{"display_name":false,"author_link":"https:\/\/craighordlow.com\/author\/"},"_links":{"self":[{"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/posts\/6056","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/comments?post=6056"}],"version-history":[{"count":0,"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/posts\/6056\/revisions"}],"wp:attachment":[{"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/media?parent=6056"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/categories?post=6056"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/craighordlow.com\/index.php\/wp-json\/wp\/v2\/tags?post=6056"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}