Module: FacebookAds::ServerSide

Defined in:
lib/facebook_ads/ad_objects/server_side/batch_processor.rb,
lib/facebook_ads.rb,
lib/facebook_ads/ad_objects/server_side/util.rb,
lib/facebook_ads/ad_objects/server_side/event.rb,
lib/facebook_ads/ad_objects/server_side/content.rb,
lib/facebook_ads/ad_objects/server_side/app_data.rb,
lib/facebook_ads/ad_objects/server_side/http_util.rb,
lib/facebook_ads/ad_objects/server_side/user_data.rb,
lib/facebook_ads/ad_objects/server_side/custom_data.rb,
lib/facebook_ads/ad_objects/server_side/http_method.rb,
lib/facebook_ads/ad_objects/server_side/action_source.rb,
lib/facebook_ads/ad_objects/server_side/event_request.rb,
lib/facebook_ads/ad_objects/server_side/event_response.rb,
lib/facebook_ads/ad_objects/server_side/delivery_category.rb,
lib/facebook_ads/ad_objects/server_side/messaging_channel.rb,
lib/facebook_ads/ad_objects/server_side/event_request_async.rb,
lib/facebook_ads/ad_objects/server_side/extended_device_info.rb,
lib/facebook_ads/ad_objects/server_side/http_service_interface.rb

Overview

Copyright © 2017-present, Facebook, Inc. All rights reserved.

You are hereby granted a non-exclusive, worldwide, royalty-free license to use, copy, modify, and distribute this software in source code or binary form for use in connection with the web services and APIs provided by Facebook.

As with any software that integrates with the Facebook platform, your use of this software is subject to the Facebook Platform Policy [developers.facebook.com/policy/]. This copyright notice shall be included in all copies or substantial portions of the software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Defined Under Namespace

Classes: AppData, BatchProcessor, Content, CustomData, Event, EventRequest, EventRequestAsync, EventResponse, ExtendedDeviceInfo, HttpMethod, HttpServiceInterface, HttpUtil, UserData, Util

Constant Summary collapse

ActionSource =
Set[

	# Conversion happened over email.
	'email',

	# Conversion was made on your website.
	'website',

	# Conversion was made using your app.
	'app',

	# Conversion was made over the phone.
	'phone_call',

	# Conversion was made via a messaging app, SMS, or online messaging feature.
	'chat',

	# Conversion was made in person at your physical store.
	'physical_store',

	# Conversion happened automatically, for example, a subscription renewal that's set on auto-pay each month.
	'system_generated',

	# Conversion happened through a business messaging channel, such as WhatsApp or Instagram Direct.
	'business_messaging',

	# Conversion happened in a way that is not listed.
	'other'
]
DeliveryCategory =
Set[

	# Customer needs to enter the store to get the purchased product.
	'in_store',

	# Customer picks up their order by driving to a store and waiting inside their vehicle.
	'curbside',

	# Purchase is delivered to the customer's home.
	'home_delivery'
]
MessagingChannel =
Set[

	# Conversion happened on WhatsApp.
	'whatsapp',
]