Iklan Hotel - Peristiwa

Iklan Hotel menggunakan empat peristiwa. Setiap peristiwa memiliki serangkaian parameter (daftar lengkap di detail parameter peristiwa). Gunakan Facebook Pixel di situs web Anda, dan peristiwa aplikasi seluler di aplikasi Android dan aplikasi iOS.

PeristiwaKapan mengaktifkannyaContoh Kode

Search

Di halaman hasil pencarian hotel

Pixel, Android, iOS

ViewContent

Di halaman detail hotel

Pixel, Android, iOS

InitiateCheckout

Saat pengguna memasuki layar pembayaran

Pixel, Android, iOS

Purchase

Di halaman pemesanan dikonfirmasi

Pixel, Android, iOS

Piksel Facebook (untuk Situs web)

Panduan ini menganggap Anda sudah memasang Piksel Facebook. Jika belum, lihat Menggunakan API Marketing dengan Piksel.

Pastikan kode dasar piksel sudah dimuat saat Anda mengaktifkan peristiwa. Jika Anda menggunakan pengelola tag, pastikan Anda menyertakan tag yang berisi kode piksel di setiap halaman. Tag seharusnya muncul sebelum tag yang berisi kode peristiwa piksel. Gunakan Pixel Helper Facebook untuk memvalidasi penerapan piksel Anda.

Peristiwa Pixel Search

// This sample assumes the FB Pixel base code is already loaded

fbq('track', 'Search', {
  // Fire the 'Search' event on the search results page

  // IF YOU CHOOSE NOT TO USE A RECOMMENDED PARAM, THEN REMOVE IT, DON'T LEAVE IT EMPTY

  // RECOMMENDED: set to 'hotel'
  content_type: 'hotel',

  // HIGHLY RECOMMENDED: checkin date
  // Allows you to target people based on their travel dates (using a booking window)
  // Improves the landing experience with travel dates filled in (using template tags)
  // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
  checkin_date: '2018-04-01',

  // HIGHLY RECOMMENDED: checkout date
  // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
  checkout_date: '2018-04-05',

  // RECOMMENDED: content ids - include eg top 5 search results
  content_ids: '["123", "234", "345", "456", "567"]',

  // REQUIRED: city, don't use abbreviations
  city: 'New York',

  // REQUIRED: region, don't use abbreviations
  region: 'New York',

  // REQUIRED: country, don't use abbreviations
  country: 'United States',

  // RECOMMENDED: number of adults
  num_adults: 1,

  // RECOMMENDED: number of children
  num_children: 0
});

Peristiwa Pixel ViewContent

// This sample assumes the FB Pixel base code is already loaded

fbq('track', 'ViewContent', {
  // Fire the 'ViewContent' event on the hotel details page

  // IF YOU CHOOSE NOT TO USE A RECOMMENDED PARAM, THEN REMOVE IT, DON'T LEAVE IT EMPTY

  // RECOMMENDED: set to 'hotel'
  content_type: 'hotel',

  // HIGHLY RECOMMENDED: checkin date
  // Allows you to target people based on their travel dates (using a booking window)
  // Improves the landing experience with travel dates filled in (using template tags)
  // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
  checkin_date: '2018-04-01',

  // HIGHLY RECOMMENDED: checkout date
  // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
  checkout_date: '2018-04-05',

  // REQUIRED: content id of hotel that is shown
  content_ids: '123',

  // RECOMMENDED: city, don't use abbreviations
  city: 'New York',

  // RECOMMENDED: region, don't use abbreviations
  region: 'New York',

  // RECOMMENDED: country, don't use abbreviations
  country: 'United States',

  // RECOMMENDED: number of adults
  num_adults: 1,

  // RECOMMENDED: number of children
  num_children: 0
});

Peristiwa Pixel InitiateCheckout

// This sample assumes the FB Pixel base code is already loaded

fbq('track', 'InitiateCheckout', {
  // Fire the 'InitiateCheckout' event when the user enters the payment screen

  // IF YOU CHOOSE NOT TO USE A RECOMMENDED PARAM, THEN REMOVE IT, DON'T LEAVE IT EMPTY

  // RECOMMENDED: set to 'hotel'
  content_type: 'hotel',

  // HIGHLY RECOMMENDED: checkin date
  // Allows you to target people based on their travel dates (using a booking window)
  // Improves the landing experience with travel dates filled in (using template tags)
  // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
  checkin_date: '2018-04-01',

  // HIGHLY RECOMMENDED: checkout date
  // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
  checkout_date: '2018-04-05',

  // REQUIRED: content id of hotel that being booked
  content_ids: '123',

  // RECOMMENDED: city, don't use abbreviations
  city: 'New York',

  // RECOMMENDED: region, don't use abbreviations
  region: 'New York',

  // RECOMMENDED: country, don't use abbreviations
  country: 'United States',

  // RECOMMENDED: number of adults
  num_adults: 1,

  // RECOMMENDED: number of children
  num_children: 0
});

Peristiwa Pixel Purchase

// This sample assumes the FB Pixel base code is already loaded

fbq('track', 'Purchase', {
  // Fire the 'Purchase' event on the booking confirmed page

  // IF YOU CHOOSE NOT TO USE A RECOMMENDED PARAM, THEN REMOVE IT, DON'T LEAVE IT EMPTY

  // RECOMMENDED: set to set to 'hotel'
  content_type: 'hotel',

  // HIGHLY RECOMMENDED: checkin date
  // Allows you to target people based on their travel dates (using a booking window)
  // Improves the landing experience with travel dates filled in (using template tags)
  // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
  checkin_date: '2018-04-01',

  // HIGHLY RECOMMENDED: checkout date
  // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
  checkout_date: '2018-04-05',

  // REQUIRED: content id of hotel that was booked
  content_ids: '123',

  // RECOMMENDED: city, don't use abbreviations
  city: 'New York',

  // RECOMMENDED: region, don't use abbreviations
  region: 'New York',

  // RECOMMENDED: country
  country: 'United States',

  // RECOMMENDED: number of adults
  num_adults: 1,

  // RECOMMENDED: number of children
  num_children: 0,

  // REQUIRED: total value of booking
  value: 1200,

  // REQUIRED: currency of booking
  currency: 'USD'
});

Peristiwa Aplikasi Seluler untuk Android

Panduan ini menganggap Anda sudah menerapkan SDK Facebook di aplikasi seluler Android Anda. Jika belum, lihat SDK Android. Jika Anda menggunakan mitra pengukuran, pastikan mitra tersebut meneruskan peristiwa yang diharuskan ke Facebook.

Peristiwa Android Search

Bundle parameters = new Bundle();
// IF YOU CHOOSE NOT TO USE A RECOMMENDED PARAM, THEN REMOVE IT, DON'T LEAVE IT EMPTY

// RECOMMENDED: set to 'hotel'
parameters.putString(AppEventsConstants.EVENT_PARAM_CONTENT_TYPE, "hotel");

// RECOMMENDED: content ids - include eg top 5 search results
parameters.putString(AppEventsConstants.EVENT_PARAM_CONTENT_ID, "[\"123\", \"234\", \"345\", \"456\", \"567\"]"); // top search results

// HIGHLY RECOMMENDED: checkin date
// Allows you to target people based on their travel dates (using a booking window)
// Improves the landing experience with travel dates filled in (using template tags)
// use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
parameters.putString("fb_checkin_date", "2018-04-01");

// HIGHLY RECOMMENDED: checkout date
// use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
parameters.putString("fb_checkout_date", "2018-04-05");

// REQUIRED: city, don't use abbreviations
parameters.putString("fb_city", "New York");

// REQUIRED: region, don't use abbreviations
parameters.putString("fb_region", "New York");

// REQUIRED: country
parameters.putString("fb_country", "United States");

// RECOMMENDED: number of adults
parameters.putInt("fb_num_adults", 1);

// RECOMMENDED: number of children
parameters.putInt("fb_num_children", 0);

// Fire the 'Search' event on the search results page
logger.logEvent(
  AppEventsConstants.EVENT_NAME_SEARCHED,
  parameters
);

Peristiwa Android ViewContent

Bundle parameters = new Bundle();
// IF YOU CHOOSE NOT TO USE A RECOMMENDED PARAM, THEN REMOVE IT, DON'T LEAVE IT EMPTY

// RECOMMENDED: set to 'hotel'
parameters.putString(AppEventsConstants.EVENT_PARAM_CONTENT_TYPE, "hotel");

// REQUIRED: content id of hotel that is shown
parameters.putString(AppEventsConstants.EVENT_PARAM_CONTENT_ID, "123");

// HIGHLY RECOMMENDED: checkin date
// Allows you to target people based on their travel dates (using a booking window)
// Improves the landing experience with travel dates filled in (using template tags)
// use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
parameters.putString("fb_checkin_date", "2018-04-01");

// HIGHLY RECOMMENDED: checkout date
// use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
parameters.putString("fb_checkout_date", "2018-04-05");

// RECOMMENDED: city, don't use abbreviations
parameters.putString("fb_city", "New York");

// RECOMMENDED: region, don't use abbreviations
parameters.putString("fb_region", "New York");

// RECOMMENDED: country
parameters.putString("fb_country", "United States");

// RECOMMENDED: number of adults
parameters.putInt("fb_num_adults", 1);

// RECOMMENDED: number of children
parameters.putInt("fb_num_children", 0);

// Fire the 'ViewContent' event on the hotel details page
logger.logEvent(
  AppEventsConstants.EVENT_NAME_VIEWED_CONTENT,
  parameters
);

Peristiwa Android InitiateCheckout

Bundle parameters = new Bundle();
// IF YOU CHOOSE NOT TO USE A RECOMMENDED PARAM, THEN REMOVE IT, DON'T LEAVE IT EMPTY

// RECOMMENDED: set to 'hotel'
parameters.putString(AppEventsConstants.EVENT_PARAM_CONTENT_TYPE, "hotel");

// REQUIRED: content id of hotel that is being booked
parameters.putString(AppEventsConstants.EVENT_PARAM_CONTENT_ID, "123");

// HIGHLY RECOMMENDED: checkin date
// Allows you to target people based on their travel dates (using a booking window)
// Improves the landing experience with travel dates filled in (using template tags)
// use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
parameters.putString("fb_checkin_date", "2018-04-01");

// HIGHLY RECOMMENDED: checkout date
// use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
parameters.putString("fb_checkout_date", "2018-04-05");

// RECOMMENDED: city, don't use abbreviations
parameters.putString("fb_city", "New York");

// RECOMMENDED: region, don't use abbreviations
parameters.putString("fb_region", "New York");

// RECOMMENDED: country
parameters.putString("fb_country", "United States");

// RECOMMENDED: number of adults
parameters.putInt("fb_num_adults", 1);

// RECOMMENDED: number of children
parameters.putInt("fb_num_children", 0);

// Fire the 'InitiateCheckout' event when the user enters the payment screen
logger.logEvent(
  AppEventsConstants.EVENT_NAME_INITIATED_CHECKOUT,
  parameters
);

Peristiwa Android Purchase

// total value of booking
BigDecimal purchaseAmount = BigDecimal.valueOf(1200);

// REQUIRED: currency of booking
Currency currency = Currency.getInstance("USD");

Bundle parameters = new Bundle();
// IF YOU CHOOSE NOT TO USE A RECOMMENDED PARAM, THEN REMOVE IT, DON'T LEAVE IT EMPTY

// RECOMMENDED: set to 'hotel'
parameters.putString(AppEventsConstants.EVENT_PARAM_CONTENT_TYPE, "hotel");

// REQUIRED: content id of hotel that was booked
parameters.putString(AppEventsConstants.EVENT_PARAM_CONTENT_ID, "123");

// HIGHLY RECOMMENDED: checkin date
// Allows you to target people based on their travel dates (using a booking window)
// Improves the landing experience with travel dates filled in (using template tags)
// use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
parameters.putString("fb_checkin_date", "2018-04-01");

// HIGHLY RECOMMENDED: checkout date
// use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
parameters.putString("fb_checkout_date", "2018-04-05");

// RECOMMENDED: city, don't use abbreviations
parameters.putString("fb_city", "New York");

// RECOMMENDED: region, don't use abbreviations
parameters.putString("fb_region", "New York");

// RECOMMENDED: country
parameters.putString("fb_country", "United States");

// RECOMMENDED: number of adults
parameters.putInt("fb_num_adults", 1);

// RECOMMENDED: number of children
parameters.putInt("fb_num_children", 0);

// Use the built-in SDK method when the booking is confirmed
logger.logPurchase(
  purchaseAmount,
  currency,
  parameters
);

Peristiwa Aplikasi Seluler untuk iOS

Panduan ini menganggap Anda sudah menerapkan SDK Facebook di aplikasi seluler iOS Anda. Jika belum, lihat SDK iOS. Jika Anda menggunakan mitra pengukuran, pastikan mitra tersebut meneruskan peristiwa yang diharuskan ke Facebook.

Peristiwa iOS Search

  // Fire the 'Search' event on the search results page  
  [[FBSDKAppEvents shared] logEvent:FBSDKAppEventNameSearched

  // IF YOU CHOOSE NOT TO USE A RECOMMENDED PARAM, THEN REMOVE IT, DON'T LEAVE IT EMPTY
  parameters:@{

    // REQUIRED: DO NOT change this, must be set to 'hotel'
    FBSDKAppEventParameterNameContentType : @"hotel",

    // RECOMMENDED: content ids - include eg top 5 search results
    FBSDKAppEventParameterNameContentID : @"[\"123\", \"234\", \"345\", \"456\", \"567\"]",

    // HIGHLY RECOMMENDED: checkin date
    // Allows you to target people based on their travel dates (using a booking window)
    // Improves the landing experience with travel dates filled in (using template tags)
    // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
    @"fb_checkin_date" : @"2018-04-01",

    // HIGHLY RECOMMENDED: checkout date
    // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
    @"fb_checkout_date" : @"2018-04-15",

    // REQUIRED: city, don't use abbreviations
    @"fb_city" : @"New York",

    // REQUIRED: region, don't use abbreviations
    @"fb_region" : @"New York",

    // REQUIRED: country, don't use abbreviations
    @"fb_country" : @"United States",

    // RECOMMENDED: number of adults
    @"fb_num_adults" : @1,

    // RECOMMENDED: number of children
    @"fb_num_children" : @0
  }
];

Peristiwa iOS ViewContent

// Fire the 'ViewContent' event on the hotel details page
[[FBSDKAppEvents shared] logEvent:FBSDKAppEventNameViewedContent

    // IF YOU CHOOSE NOT TO USE A RECOMMENDED PARAM, THEN REMOVE IT, DON'T LEAVE IT EMPTY
    parameters:@{

      // REQUIRED: DO NOT change this, must be set to 'hotel'
      FBSDKAppEventParameterNameContentType : @"hotel",

      // REQUIRED: content id of hotel that is shown
      FBSDKAppEventParameterNameContentID : @"123",

      // HIGHLY RECOMMENDED: checkin date
      // Allows you to target people based on their travel dates (using a booking window)
      // Improves the landing experience with travel dates filled in (using template tags)
      // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
      @"fb_checkin_date" : @"2018-04-01",

      // HIGHLY RECOMMENDED: checkout date
      // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
      @"fb_checkout_date" : @"2018-04-15",

      // RECOMMENDED: city, don't use abbreviations
      @"fb_city" : @"New York",

      // RECOMMENDED: region, don't use abbreviations
      @"fb_region" : @"New York",

      // RECOMMENDED: country, don't use abbreviations
      @"fb_country" : @"United States",

      // RECOMMENDED: number of adults
      @"fb_num_adults" : @1,

      // RECOMMENDED: number of children
      @"fb_num_children" : @0
    }
];

Peristiwa iOS InitiateCheckout

// Fire the 'InitiateCheckout' event when the user enters the payment screen
[[FBSDKAppEvents shared] logEvent:FBSDKAppEventNameInitiatedCheckout

    // IF YOU CHOOSE NOT TO USE A RECOMMENDED PARAM, THEN REMOVE IT, DON'T LEAVE IT EMPTY
    parameters:@{

      // REQUIRED: DO NOT change this, must be set to 'hotel'
      FBSDKAppEventParameterNameContentType : @"hotel",

      // REQUIRED: content id of hotel that is shown
      FBSDKAppEventParameterNameContentID : @"123",

      // HIGHLY RECOMMENDED: checkin date
      // Allows you to target people based on their travel dates (using a booking window)
      // Improves the landing experience with travel dates filled in (using template tags)
      // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
      @"fb_checkin_date" : @"2018-04-01",

      // HIGHLY RECOMMENDED: checkout date
      // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
      @"fb_checkout_date" : @"2018-04-15",

      // RECOMMENDED: city, don't use abbreviations
      @"fb_city" : @"New York",

      // RECOMMENDED: region, don't use abbreviations
      @"fb_region" : @"New York",

      // RECOMMENDED: country, don't use abbreviations
      @"fb_country" : @"United States",

      // RECOMMENDED: number of adults
      @"fb_num_adults" : @1,

      // RECOMMENDED: number of children
      @"fb_num_children" : @0
    }
];

Peristiwa iOS Purchase

// Fire the 'Purchase' event when the booking is confirmed

// total value of booking
[[FBSDKAppEvents shared] logPurchase:1200

    // currency of booking
    currency:@"USD"

    // IF YOU CHOOSE NOT TO USE A RECOMMENDED PARAM, THEN REMOVE IT, DON'T LEAVE IT EMPTY
    parameters:@{

      // REQUIRED: DO NOT change this, must be set to 'hotel'
      FBSDKAppEventParameterNameContentType : @"hotel",

      // REQUIRED: content id of hotel that is shown
      FBSDKAppEventParameterNameContentID : @"123",

      // HIGHLY RECOMMENDED: checkin date
      // Allows you to target people based on their travel dates (using a booking window)
      // Improves the landing experience with travel dates filled in (using template tags)
      // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
      @"fb_checkin_date" : @"2018-04-01",

      // HIGHLY RECOMMENDED: checkout date
      // use YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD or YYYY-MM-DDThh:mm:ssTZD
      @"fb_checkout_date" : @"2018-04-15",

      // RECOMMENDED: city, don't use abbreviations
      @"fb_city" : @"New York",

      // RECOMMENDED: region, don't use abbreviations
      @"fb_region" : @"New York",

      // RECOMMENDED: country, don't use abbreviations
      @"fb_country" : @"United States",

      // RECOMMENDED: number of adults
      @"fb_num_adults" : @1,

      // RECOMMENDED: number of children
      @"fb_num_children" : @0
    }
];

Detail Parameter Peristiwa

Di perangkat seluler, nama parameter berbeda dari nama Facebook Pixel. Sering diawali dengan fb_, dengan sedikit pengecualian, misalnya content_ids versus fb_content_id, value versus _valueToSum.

Saat Anda mengirimkan lebih dari satu nilai, contoh: content_ids atau content_type, menyediakan array nilai yang dienkode JSON: '["value1", "value2"]'. Jangan menggabungkan nilai dengan koma.

Nama dan Jenis ParameterDeskripsi

checkin_date (pixel)

fb_checkin_date (aplikasi)

jenis: string

Sangat direkomendasikan.

Tanggal pengguna ingin singgah di hotel dalam zona waktu hotel tersebut. Kami menerima tanggal dalam format YYYYMMDD, YYYY-MM-DD, YYYY-MM-DDThh:mmTZD, dan YYYY-MM-DDThh:mm:ssTZD. Saat disediakan, Anda dapat menggunakan ini dalam iklan menggunakan tanda template dan menarget orang berdasarkan tanggal perjalanan mereka menggunakan termin pemesanan dalam pemirsa Anda.

Contoh:

  • 20180623
  • 2018-06-23
  • 2017-06-23T15:30GMT
  • 2017-06-23T15:30:00GMT

checkout_date (pixel)

fb_checkout_date (aplikasi)

jenis: string

Sangat direkomendasikan.

Tanggal pengguna ingin keluar dari hotel dalam zona waktu hotel tersebut. Kami menerima format tanggal yang sama seperti yang tercantum untuk checkin_date. Saat disediakan, Anda dapat menggunakan ini dalam iklan menggunakan tanda template dan menarget orang berdasarkan tanggal perjalanan mereka menggunakan termin pemesanan dalam pemirsa Anda.

content_ids (pixel)

fb_content_id (aplikasi)

jenis: string atau string[]

Direkomendasikan untuk search, Wajib untuk semua yang lain.

Setiap ID yang relevan seperti terdaftar dalam katalog perjalanan Anda, misalnya untuk peristiwa ViewContent, Anda dapat mengirim ID item yang dipresentasikan, atau untuk peristiwa Search, Anda dapat mengirim array ID untuk hasil pencarian teratas.

Contoh:

  • "1234"
  • '["1234", "2345", "3456"]'

content_type (Pixel)

fb_content_type (aplikasi)

jenis: string atau string[]

Direkomendasikan.

Harus berupa hotel.

city (pixel)

fb_city (aplikasi)

jenis: string

Diperlukan untuk search.

Sediakan kota lokasi dari keinginan pengguna.

Contoh: Auckland.

region (Pixel)

fb_region (aplikasi)

jenis: string

Wajib untuk search.

Sediakan negara bagian/distrik/wilayah lokasi dari keinginan pengguna.

Contoh: Manhattan

country (pixel)

fb_country (aplikasi)

jenis: string

Wajib untuk search.

Sediakan negara lokasi dari keinginan pengguna.

Contoh: New Zealand

value (pixel)

_valueToSum (aplikasi)

jenis: float

Wajib untuk purchase.

Harga total pemesanan (jumlah yang menguantifikasi nilai peristiwa ini bagi pengiklan).

Contoh: 155

currency (Pixel)

fb_currency (aplikasi)

jenis: string

Wajib untuk purchase.

Mata uang untuk value. Ditentukan menggunakan format mata uang ISO 4217.

Contoh: USD

destination_ids (pixel)

fb_destination_ids (aplikasi)

jenis: string atau string[]

Jika Anda memiliki katalog destinasi, Anda dapat mengaitkan satu atau lebih destinasi dalam katalog destinasi Anda dengan peristiwa hotel yang spesifik. Misalnya, suatu hotel dapat ditautkan dengan museum sekitar dan pantai sekitar, yang keduanya merupakan destinasi dalam katalog destinasi.

Contoh: '["dest2", "dest5", "dest8"]'

hotel_score (pixel)

fb_hotel_score (aplikasi)

jenis: float

Indikator yang menyatakan nilai relatif hotel ini bagi pengiklan dibandingkan dengan hotel lain.

Contoh: 3

num_adults (pixel)

fb_num_adults (aplikasi)

jenis: string

Jumlah orang dewasa yang akan menginap. Saat disediakan, Anda dapat menggunakan itu dalam iklan melalui tanda template.

Contoh: 2.

num_children (Pixel)

fb_num_children (aplikasi)

jenis: int

Jumlah anak kecil yang akan menginap. Saat disediakan, Anda dapat menggunakan itu dalam iklan melalui tanda template.

Contoh: 2.

preferred_neighborhoods (pixel)

fb_preferred_neighborhoods (aplikasi)

jenis: string[]

Daftar lingkungan tinggal sekitar pilihan yang difilter oleh pengguna.

Contoh: '["Brooklyn", "Manhattan"]'

preferred_price_range (pixel)

fb_preferred_price_range (aplikasi)

jenis: [int (min), int (maks)]

Tuple tarif kamar minimal dan maksimal yang difilter pengguna.

Contoh: [100, 150]

preferred_star_ratings (pixel)

fb_preferred_star_ratings (aplikasi)

jenis: [int (min), int (maks)]

Tuple peringkat bintang kamar minimal dan maksimal yang difilter pengguna.

Contoh: [100, 150]

user_score (pixel)

fb_user_score (aplikasi)

jenis: float

Indikator yang menyatakan nilai relatif pengguna ini bagi pengiklan.

Contoh: 50