Class: FacebookAds::ServerSide::EventRequestAsync

Inherits:
EventRequest
  • Object
show all
Defined in:
lib/facebook_ads/ad_objects/server_side/event_request_async.rb

Instance Attribute Summary

Attributes inherited from EventRequest

#access_token, #events, #http_service_client, #namespace_id, #partner_agent, #pixel_id, #test_event_code, #upload_id, #upload_source, #upload_tag

Instance Method Summary collapse

Methods inherited from EventRequest

#==, #build, #eql?, #execute_with_client, #get_params, #hash, #initialize, #list_invalid_properties, #normalize, #to_s, #valid?

Constructor Details

This class inherits a constructor from FacebookAds::ServerSide::EventRequest

Instance Method Details

#clone_without_eventsObject



30
31
32
33
34
35
36
37
38
39
40
# File 'lib/facebook_ads/ad_objects/server_side/event_request_async.rb', line 30

def clone_without_events
  FacebookAds::ServerSide::EventRequestAsync.new(
    pixel_id: pixel_id,
    test_event_code: test_event_code,
    partner_agent: partner_agent,
    namespace_id: namespace_id,
    upload_id: upload_id,
    upload_tag: upload_tag,
    upload_source: upload_source,
  )
end

#executeObject



24
25
26
27
28
# File 'lib/facebook_ads/ad_objects/server_side/event_request_async.rb', line 24

def execute
  Concurrent::Promise.execute do
    super
  end
end