제품 피드는 Google에 다양한 Google 표시 경로에 표시되는 제품의 할 일 목록을 제공하는 기본적인 방법입니다.
지원되는 업로드 형식은 JSON입니다. 각 JSON 파일은 완전한 ProductFeed 객체여야 하며 ZIP, TAR, GZIP 등의 압축된 형식으로도 업로드할 수 있습니다.
한 파일에 업로드할 제품이 너무 많은 경우 업로드된 각 파일에 올바른 FeedMetadata 필드를 포함하여 여러 파일을 사용하여 데이터를 업로드할 수 있습니다. 그러면 할 일 처리 파이프라인에서 이러한 업로드를 단일 피드로 간주합니다.
Product FeedMetadata
제품 피드의 FeedMetaData를 사용하면 Google에서 JSON 파일 세트를 단일 업로드로 처리하는 동시에 많은 수의 제품을 여러 JSON 파일로 분할할 수 있습니다.
동일한 업로드의 각 JSON 파일의 FeedMetadata에는 동일한 nonce 값 (Google에서는 nonce를 사용하여 JSON 파일이 동일한 업로드 세트에 속하는지 식별함)과 동일한 total_shard_count가 포함되어야 합니다. shard_id (색인이 생성되지 않음)는 이 JSON이 업로드에서 나타내는 샤드의 일부를 식별하며 동일한 업로드에서 중복되어서는 안 됩니다. 단일 JSON 파일에 모든 제품 데이터가 포함된 경우 total_shards_count는 1로 설정하고 shard_id는 0로 설정해야 합니다.
제품 및 옵션 피드 객체
각 Product 객체는 할 일 제품 하나를 나타내며 고유한 id, title, option 객체를 하나 이상 포함해야 합니다. 원하는 경우 제품에 관련 이미지, 자세한 설명, 기능 목록과 같은 추가 정보도 포함할 수 있습니다. 추가 필드에 관한 자세한 내용은 참조 섹션의 제품 피드를 참고하세요.
제품 내에 포함된 Option 객체는 사용자가 제품을 경험할 수 있는 다양한 방법, 다양한 가격 옵션(예: 성인, 어린이, 그룹 티켓), 위치 정보를 설명하고 사용자가 제품/경험을 직접 예약하거나 구매할 수 있는 딥 링크를 제공합니다. 필드에 관한 자세한 내용은 참조 섹션을 참고하세요.
피드에서 제품 추가 또는 삭제하기
제품 피드는 스냅샷 처리만 지원하므로 해당 제품 유무와 관계없이 새 버전의 피드를 업로드하여 시스템에서 제품을 추가하거나 삭제할 수 있습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-11-26(UTC)"],[[["The product feed, in JSON format, is the primary method for displaying your \"things to do\" products on Google surfaces."],["Large feeds can be split into multiple files (shards) using the `FeedMetadata` field to ensure Google processes them as a single feed."],["Each `Product` object represents a single product and must include an ID, title, and at least one `Option` describing user experience and booking details."],["You manage products by uploading a complete, updated feed (snapshot) which adds new products and removes any excluded from the file."],["Each shard has a maximum size limit of 50 Mb and must contain a `FeedMetadata` object with the appropriate `nonce`, `total_shard_count`, and `shard_id`."]]],["The product feed, used to provide Google with a list of \"things to do\" products, accepts JSON format uploads, optionally compressed. Large product sets can be split across multiple files (shards), each with `FeedMetadata`. `FeedMetadata` includes a shared `nonce`, `total_shard_count`, and unique `shard_id` values. Each `Product` object requires a unique ID, title, and at least one `Option`. Adding or removing products involves uploading an updated feed, as only snapshot processing is supported.\n"]]