Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Setelah file feed Anda siap, hosting file tersebut di lokasi yang aman. Google mengambil feed secara rutin, biasanya
sekali sehari, untuk memastikan bahwa
konten Anda tetap {i>up-to-date<i}. Bekerja samalah dengan perwakilan Google Anda untuk
membagikan detail hosting dan waktu terbaik untuk mengambil feed dari lokasi yang dihosting.
Rekomendasi untuk menghosting feed
Meskipun itu adalah kebijakan penyedia data untuk menentukan cara terbaik untuk menghosting feed dan
struktur feed di lokasi yang dihosting. Berikut beberapa rekomendasi terkait cara feed
harus berstruktur untuk memungkinkan pengambilan yang lancar.
Buat folder bernama “latest” (tidak peka huruf besar/kecil). Pastikan folder ini diperbarui dengan JSON
file feed harian dan hanya berisi file yang harus diambil Google untuk hari itu pada waktu tertentu.
Jangan buat subfolder apa pun pada folder terbaru. Menjaga hierarki tetap datar yaitu semua file json
harus ada langsung di folder "latest".
Selain itu, Anda dapat memilih untuk menyimpan setidaknya feed 30 hari terakhir di folder bernama “date-time”.
Hal ini dapat berguna jika diperlukan untuk melacak masalah dengan versi
feed atau mencari
metadata yang telah diberikan sebelumnya. Google tidak akan menggunakan folder ini dengan cara apa pun.
Pastikan folder “latest” tidak memiliki file dengan file berukuran 0KB/file kosong.
Pastikan Google selalu memiliki akses ke folder “terbaru” agar file dapat diambil di
tanpa hambatan.
Jika Google meminta feed staging, pastikan folder terpisah dibuat untuk menghosting
feed staging. Misalnya, jika hierarki untuk feed produksi adalah ../latest/, Anda dapat membuat
hierarki yang berbeda untuk feed staging, misalnya, ../staging/latest/.
Metode hosting
Tabel di bawah mencantumkan metode hosting feed yang didukung dan detail yang diperlukan untuk dibagikan
Perwakilan Google.
Metode
Detail Diperlukan
Dukungan Autentikasi
Google Cloud Storage (GCS)
URL objek, bucket, atau folder GCS
Kredensial Akses
Waktu terbaik untuk mengambil feed sekali sehari
URL Google Cloud Storage harus dibagikan dengan `088794101-100000002-account@partnercontent.gserviceaccount.com`
(Izin Storage Object Viewer) Lihat detail selengkapnya di
Menghosting feed di Google Cloud Storage
Jika Anda belum mendaftar ke Google Cloud Storage, klik Sign up for a free trial untuk memulai uji coba gratis Anda. (Anda hanya membayar layanan ini setelah mencapai ambang penagihan atau 30 hari telah berlalu.)
Setelah mendaftar uji coba gratis, muat ulang browser untuk memperbarui layar.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],[],[[["Google will fetch your content feed daily, or more frequently for live content, to keep your information current."],["Structure your feed with a \"latest\" folder containing daily JSON files for seamless fetching by Google."],["You can optionally archive past feeds in dated folders for your own tracking purposes."],["Choose a hosting method from Google Cloud Storage, HTTPS, SFTP, or AWS S3, and share the details with your Google representative."],["When using Google Cloud Storage, ensure the \"Storage Object Viewer\" permission is granted to the designated Google account for access."]]],["Host the feed at a secure location for Google to fetch regularly, typically once daily. Structure the feed with a \"latest\" folder containing current JSON feed files, and optionally, \"date-time\" folders for the last 30 days. Supported hosting methods include Google Cloud Storage, HTTPS, SFTP, and AWS S3, each requiring specific details and credentials shared with Google. For Google Cloud Storage, share the bucket URL and grant Storage Object Viewer permission to `088794101-100000002-account@partnercontent.gserviceaccount.com`. Then contact the Media Actions team to review the feed.\n"]]