diff --git a/examples/AdsPixelEventsPostCustom.rb b/examples/AdsPixelEventsPostCustom.rb index 21999d7a..8ac0341c 100644 --- a/examples/AdsPixelEventsPostCustom.rb +++ b/examples/AdsPixelEventsPostCustom.rb @@ -38,11 +38,13 @@ event_name: 'Purchase', event_time: Time.now.to_i, user_data: user_data, - custom_data: custom_data) + custom_data: custom_data, + data_processing_options: [] + ) request = FacebookAds::ServerSide::EventRequest.new( pixel_id: pixel_id, events: [event]) -print request.execute \ No newline at end of file +print request.execute