facebookbusiness 20.0.0 → 20.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/facebook_ads/ad_objects/{ad_account_optimization_goals_ae_mv2_eligibility.rb → ad_account_optimization_goals_aemv2_eligibility.rb} +1 -1
 - data/lib/facebook_ads/ad_objects/{p2_m_invoice_payments.rb → p2m_invoice_payments.rb} +1 -1
 - data/lib/facebook_ads/ad_objects/server_side/attribution_data.rb +216 -0
 - data/lib/facebook_ads/ad_objects/server_side/event.rb +44 -4
 - data/lib/facebook_ads/ad_objects/server_side/original_event_data.rb +107 -0
 - data/lib/facebook_ads/ad_objects/{with_asset3_d.rb → with_asset_3d.rb} +1 -1
 - data/lib/facebook_ads/version.rb +1 -1
 - metadata +7 -5
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: cedc6a1b168ca4a27b28a71c55b602e341780e151c8b0b9ea8a18bec46e8e17f
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 2c65fb40cf0f8d6421c86207575dd9cfd2e94a0b86779bcafcdd9845ac8cc290
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: f49be4f9cfc8209d3172fcd066523b459e5cdc6577ed144d6039b7ca1525cbd33c6a48277a2e40f9f94fe5cd978ca44b8e539fc29dbe8b5c99dd739f71cfc2f5
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 98909554bb031c566077fa95b0fbe4e8e05bdc873464dc60c9caa355790e6bd5a00332d8e94924699b6854fb40cfbbb719f04b84798f0a78c2417c713004f602
         
     | 
| 
         @@ -13,7 +13,7 @@ module FacebookAds 
     | 
|
| 
       13 
13 
     | 
    
         
             
              # on github and we'll fix in our codegen framework. We'll not be able to accept
         
     | 
| 
       14 
14 
     | 
    
         
             
              # pull request for this class.
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
     | 
    
         
            -
              class  
     | 
| 
      
 16 
     | 
    
         
            +
              class AdAccountOptimizationGoalsAemv2Eligibility < AdObject
         
     | 
| 
       17 
17 
     | 
    
         
             
                OPTIMIZATION_GOAL = [
         
     | 
| 
       18 
18 
     | 
    
         
             
                  "AD_RECALL_LIFT",
         
     | 
| 
       19 
19 
     | 
    
         
             
                  "APP_INSTALLS",
         
     | 
| 
         @@ -13,7 +13,7 @@ module FacebookAds 
     | 
|
| 
       13 
13 
     | 
    
         
             
              # on github and we'll fix in our codegen framework. We'll not be able to accept
         
     | 
| 
       14 
14 
     | 
    
         
             
              # pull request for this class.
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
     | 
    
         
            -
              class  
     | 
| 
      
 16 
     | 
    
         
            +
              class P2mInvoicePayments < AdObject
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         
             
                field :page_id, 'string'
         
     | 
| 
       19 
19 
     | 
    
         
             
                field :payments, { list: 'object' }
         
     | 
| 
         @@ -0,0 +1,216 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            # You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
         
     | 
| 
      
 4 
     | 
    
         
            +
            # copy, modify, and distribute this software in source code or binary form for use
         
     | 
| 
      
 5 
     | 
    
         
            +
            # in connection with the web services and APIs provided by Facebook.
         
     | 
| 
      
 6 
     | 
    
         
            +
            #
         
     | 
| 
      
 7 
     | 
    
         
            +
            # As with any software that integrates with the Facebook platform, your use of
         
     | 
| 
      
 8 
     | 
    
         
            +
            # this software is subject to the Facebook Platform Policy
         
     | 
| 
      
 9 
     | 
    
         
            +
            # [http://developers.facebook.com/policy/]. This copyright notice shall be
         
     | 
| 
      
 10 
     | 
    
         
            +
            # included in all copies or substantial portions of the software.
         
     | 
| 
      
 11 
     | 
    
         
            +
            #
         
     | 
| 
      
 12 
     | 
    
         
            +
            # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         
     | 
| 
      
 13 
     | 
    
         
            +
            # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
         
     | 
| 
      
 14 
     | 
    
         
            +
            # FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
         
     | 
| 
      
 15 
     | 
    
         
            +
            # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
         
     | 
| 
      
 16 
     | 
    
         
            +
            # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
         
     | 
| 
      
 17 
     | 
    
         
            +
            # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            module FacebookAds
         
     | 
| 
      
 20 
     | 
    
         
            +
                module ServerSide
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
                  # AttributionData indicated the attribution data used for attribution passback event to optimize the performance.
         
     | 
| 
      
 23 
     | 
    
         
            +
                  class AttributionData
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
                    # Touchpoint type.
         
     | 
| 
      
 26 
     | 
    
         
            +
                    attr_accessor :scope
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
                    # A Unix timestamp in seconds indicating when the campaign_id or fbc was first received.
         
     | 
| 
      
 29 
     | 
    
         
            +
                    attr_accessor :visit_time
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
                    # Meta-provided ad id from URL/deeplink.
         
     | 
| 
      
 32 
     | 
    
         
            +
                    attr_accessor :ad_id
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
                    # Meta-provided adset id from URL/deeplink.
         
     | 
| 
      
 35 
     | 
    
         
            +
                    attr_accessor :adset_id
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
                    # Meta-provided campaign id from URL/deeplink.
         
     | 
| 
      
 38 
     | 
    
         
            +
                    attr_accessor :campaign_id
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
                    # [0-1] weight of credit assigned to the visit.
         
     | 
| 
      
 41 
     | 
    
         
            +
                    attr_accessor :attribution_share
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
                    # Attribution model used to attribute the event.
         
     | 
| 
      
 44 
     | 
    
         
            +
                    attr_accessor :attribution_model
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
                    # Attribution woindow in days.
         
     | 
| 
      
 47 
     | 
    
         
            +
                    attr_accessor :attr_window
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
             
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
                    # @param [String] scope
         
     | 
| 
      
 52 
     | 
    
         
            +
                    # @param [Integer] visit_time
         
     | 
| 
      
 53 
     | 
    
         
            +
                    # @param [String] ad_id
         
     | 
| 
      
 54 
     | 
    
         
            +
                    # @param [String] adset_id
         
     | 
| 
      
 55 
     | 
    
         
            +
                    # @param [String] campaign_id
         
     | 
| 
      
 56 
     | 
    
         
            +
                    # @param [Float] attribution_share
         
     | 
| 
      
 57 
     | 
    
         
            +
                    # @param [String] attribution_model
         
     | 
| 
      
 58 
     | 
    
         
            +
                    # @param [String] attr_window
         
     | 
| 
      
 59 
     | 
    
         
            +
                    def initialize(scope: nil, visit_time: nil, ad_id: nil, adset_id: nil, campaign_id: nil, attribution_share: nil, attribution_model: nil, attr_window: nil)
         
     | 
| 
      
 60 
     | 
    
         
            +
                      unless scope.nil?
         
     | 
| 
      
 61 
     | 
    
         
            +
                        self.scope = scope
         
     | 
| 
      
 62 
     | 
    
         
            +
                      end
         
     | 
| 
      
 63 
     | 
    
         
            +
                      unless visit_time.nil?
         
     | 
| 
      
 64 
     | 
    
         
            +
                        self.visit_time = visit_time
         
     | 
| 
      
 65 
     | 
    
         
            +
                      end
         
     | 
| 
      
 66 
     | 
    
         
            +
                      unless ad_id.nil?
         
     | 
| 
      
 67 
     | 
    
         
            +
                        self.ad_id = ad_id
         
     | 
| 
      
 68 
     | 
    
         
            +
                      end
         
     | 
| 
      
 69 
     | 
    
         
            +
                      unless adset_id.nil?
         
     | 
| 
      
 70 
     | 
    
         
            +
                        self.adset_id = adset_id
         
     | 
| 
      
 71 
     | 
    
         
            +
                      end
         
     | 
| 
      
 72 
     | 
    
         
            +
                      unless campaign_id.nil?
         
     | 
| 
      
 73 
     | 
    
         
            +
                        self.campaign_id = campaign_id
         
     | 
| 
      
 74 
     | 
    
         
            +
                      end
         
     | 
| 
      
 75 
     | 
    
         
            +
                      unless attribution_share.nil?
         
     | 
| 
      
 76 
     | 
    
         
            +
                        self.attribution_share = attribution_share
         
     | 
| 
      
 77 
     | 
    
         
            +
                      end
         
     | 
| 
      
 78 
     | 
    
         
            +
                      unless attribution_model.nil?
         
     | 
| 
      
 79 
     | 
    
         
            +
                        self.attribution_model = attribution_model
         
     | 
| 
      
 80 
     | 
    
         
            +
                      end
         
     | 
| 
      
 81 
     | 
    
         
            +
                      unless attr_window.nil?
         
     | 
| 
      
 82 
     | 
    
         
            +
                        self.attr_window = attr_window
         
     | 
| 
      
 83 
     | 
    
         
            +
                      end
         
     | 
| 
      
 84 
     | 
    
         
            +
                    end
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
                    # build the object using the input hash
         
     | 
| 
      
 87 
     | 
    
         
            +
                    # @param [Hash] attributes  attributes in the form of hash
         
     | 
| 
      
 88 
     | 
    
         
            +
                    def build(attributes = {})
         
     | 
| 
      
 89 
     | 
    
         
            +
                      return unless attributes.is_a?(Hash)
         
     | 
| 
      
 90 
     | 
    
         
            +
             
     | 
| 
      
 91 
     | 
    
         
            +
                      # convert string to symbol for hash key
         
     | 
| 
      
 92 
     | 
    
         
            +
                      attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
         
     | 
| 
      
 93 
     | 
    
         
            +
             
     | 
| 
      
 94 
     | 
    
         
            +
                      if attributes.has_key?(:'scope')
         
     | 
| 
      
 95 
     | 
    
         
            +
                        self.scope = attributes[:'scope']
         
     | 
| 
      
 96 
     | 
    
         
            +
                      end
         
     | 
| 
      
 97 
     | 
    
         
            +
             
     | 
| 
      
 98 
     | 
    
         
            +
                      if attributes.has_key?(:'visit_time')
         
     | 
| 
      
 99 
     | 
    
         
            +
                        self.visit_time = attributes[:'visit_time']
         
     | 
| 
      
 100 
     | 
    
         
            +
                      end
         
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
                      if attributes.has_key?(:'ad_id')
         
     | 
| 
      
 103 
     | 
    
         
            +
                        self.ad_id = attributes[:'ad_id']
         
     | 
| 
      
 104 
     | 
    
         
            +
                      end
         
     | 
| 
      
 105 
     | 
    
         
            +
             
     | 
| 
      
 106 
     | 
    
         
            +
                      if attributes.has_key?(:'adset_id')
         
     | 
| 
      
 107 
     | 
    
         
            +
                        self.adset_id = attributes[:'adset_id']
         
     | 
| 
      
 108 
     | 
    
         
            +
                      end
         
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
      
 110 
     | 
    
         
            +
                      if attributes.has_key?(:'campaign_id')
         
     | 
| 
      
 111 
     | 
    
         
            +
                        self.campaign_id = attributes[:'campaign_id']
         
     | 
| 
      
 112 
     | 
    
         
            +
                      end
         
     | 
| 
      
 113 
     | 
    
         
            +
             
     | 
| 
      
 114 
     | 
    
         
            +
                      if attributes.has_key?(:'attribution_share')
         
     | 
| 
      
 115 
     | 
    
         
            +
                        self.attribution_share = attributes[:'attribution_share']
         
     | 
| 
      
 116 
     | 
    
         
            +
                      end
         
     | 
| 
      
 117 
     | 
    
         
            +
             
     | 
| 
      
 118 
     | 
    
         
            +
                      if attributes.has_key?(:'attribution_model')
         
     | 
| 
      
 119 
     | 
    
         
            +
                        self.attribution_model = attributes[:'attribution_model']
         
     | 
| 
      
 120 
     | 
    
         
            +
                      end
         
     | 
| 
      
 121 
     | 
    
         
            +
             
     | 
| 
      
 122 
     | 
    
         
            +
                      if attributes.has_key?(:'attr_window')
         
     | 
| 
      
 123 
     | 
    
         
            +
                        self.attr_window = attributes[:'attr_window']
         
     | 
| 
      
 124 
     | 
    
         
            +
                      end
         
     | 
| 
      
 125 
     | 
    
         
            +
                    end
         
     | 
| 
      
 126 
     | 
    
         
            +
             
     | 
| 
      
 127 
     | 
    
         
            +
                    # Checks equality by comparing each attribute.
         
     | 
| 
      
 128 
     | 
    
         
            +
                    def ==(o)
         
     | 
| 
      
 129 
     | 
    
         
            +
                      return true if self.equal?(o)
         
     | 
| 
      
 130 
     | 
    
         
            +
                      self.class == o.class &&
         
     | 
| 
      
 131 
     | 
    
         
            +
                          scope == o.scope &&
         
     | 
| 
      
 132 
     | 
    
         
            +
                          visit_time == o.visit_time &&
         
     | 
| 
      
 133 
     | 
    
         
            +
                          ad_id == o.ad_id &&
         
     | 
| 
      
 134 
     | 
    
         
            +
                          adset_id == o.adset_id &&
         
     | 
| 
      
 135 
     | 
    
         
            +
                          campaign_id == o.campaign_id &&
         
     | 
| 
      
 136 
     | 
    
         
            +
                          attribution_share == o.attribution_share &&
         
     | 
| 
      
 137 
     | 
    
         
            +
                          attribution_model == o.attribution_model &&
         
     | 
| 
      
 138 
     | 
    
         
            +
                          attr_window == o.attr_window
         
     | 
| 
      
 139 
     | 
    
         
            +
                    end
         
     | 
| 
      
 140 
     | 
    
         
            +
             
     | 
| 
      
 141 
     | 
    
         
            +
                    # @see the `==` method
         
     | 
| 
      
 142 
     | 
    
         
            +
                    def eql?(o)
         
     | 
| 
      
 143 
     | 
    
         
            +
                      self == o
         
     | 
| 
      
 144 
     | 
    
         
            +
                    end
         
     | 
| 
      
 145 
     | 
    
         
            +
             
     | 
| 
      
 146 
     | 
    
         
            +
                    # Calculates hash code according to all attributes.
         
     | 
| 
      
 147 
     | 
    
         
            +
                    # @return [Fixnum] Hash code
         
     | 
| 
      
 148 
     | 
    
         
            +
                    def hash
         
     | 
| 
      
 149 
     | 
    
         
            +
                      [
         
     | 
| 
      
 150 
     | 
    
         
            +
                        scope, visit_time, ad_id, adset_id, campaign_id, attribution_share, attribution_model, attr_window
         
     | 
| 
      
 151 
     | 
    
         
            +
                      ].hash
         
     | 
| 
      
 152 
     | 
    
         
            +
                    end
         
     | 
| 
      
 153 
     | 
    
         
            +
             
     | 
| 
      
 154 
     | 
    
         
            +
                    def to_s
         
     | 
| 
      
 155 
     | 
    
         
            +
                      hash = {}
         
     | 
| 
      
 156 
     | 
    
         
            +
                      unless scope.nil?
         
     | 
| 
      
 157 
     | 
    
         
            +
                        hash['scope'] = scope
         
     | 
| 
      
 158 
     | 
    
         
            +
                      end
         
     | 
| 
      
 159 
     | 
    
         
            +
                      unless visit_time.nil?
         
     | 
| 
      
 160 
     | 
    
         
            +
                        hash['visit_time'] = visit_time
         
     | 
| 
      
 161 
     | 
    
         
            +
                      end
         
     | 
| 
      
 162 
     | 
    
         
            +
                      unless ad_id.nil?
         
     | 
| 
      
 163 
     | 
    
         
            +
                        hash['ad_id'] = ad_id
         
     | 
| 
      
 164 
     | 
    
         
            +
                      end
         
     | 
| 
      
 165 
     | 
    
         
            +
                      unless adset_id.nil?
         
     | 
| 
      
 166 
     | 
    
         
            +
                        hash['adset_id'] = adset_id
         
     | 
| 
      
 167 
     | 
    
         
            +
                      end
         
     | 
| 
      
 168 
     | 
    
         
            +
                      unless campaign_id.nil?
         
     | 
| 
      
 169 
     | 
    
         
            +
                        hash['campaign_id'] = campaign_id
         
     | 
| 
      
 170 
     | 
    
         
            +
                      end
         
     | 
| 
      
 171 
     | 
    
         
            +
                      unless attribution_share.nil?
         
     | 
| 
      
 172 
     | 
    
         
            +
                        hash['attribution_share'] = attribution_share
         
     | 
| 
      
 173 
     | 
    
         
            +
                      end
         
     | 
| 
      
 174 
     | 
    
         
            +
                      unless attribution_model.nil?
         
     | 
| 
      
 175 
     | 
    
         
            +
                        hash['attribution_model'] = attribution_model
         
     | 
| 
      
 176 
     | 
    
         
            +
                      end
         
     | 
| 
      
 177 
     | 
    
         
            +
                      unless attr_window.nil?
         
     | 
| 
      
 178 
     | 
    
         
            +
                        hash['attr_window'] = attr_window
         
     | 
| 
      
 179 
     | 
    
         
            +
                      end
         
     | 
| 
      
 180 
     | 
    
         
            +
                      hash.to_s
         
     | 
| 
      
 181 
     | 
    
         
            +
                    end
         
     | 
| 
      
 182 
     | 
    
         
            +
             
     | 
| 
      
 183 
     | 
    
         
            +
             
     | 
| 
      
 184 
     | 
    
         
            +
                    # Normalize input fields to server request format.
         
     | 
| 
      
 185 
     | 
    
         
            +
                    def normalize
         
     | 
| 
      
 186 
     | 
    
         
            +
                      hash = {}
         
     | 
| 
      
 187 
     | 
    
         
            +
                      unless scope.nil?
         
     | 
| 
      
 188 
     | 
    
         
            +
                        hash['scope'] = scope
         
     | 
| 
      
 189 
     | 
    
         
            +
                      end
         
     | 
| 
      
 190 
     | 
    
         
            +
                      unless visit_time.nil?
         
     | 
| 
      
 191 
     | 
    
         
            +
                        hash['visit_time'] = visit_time
         
     | 
| 
      
 192 
     | 
    
         
            +
                      end
         
     | 
| 
      
 193 
     | 
    
         
            +
                      unless ad_id.nil?
         
     | 
| 
      
 194 
     | 
    
         
            +
                        hash['ad_id'] = ad_id
         
     | 
| 
      
 195 
     | 
    
         
            +
                      end
         
     | 
| 
      
 196 
     | 
    
         
            +
                      unless adset_id.nil?
         
     | 
| 
      
 197 
     | 
    
         
            +
                        hash['adset_id'] = adset_id
         
     | 
| 
      
 198 
     | 
    
         
            +
                      end
         
     | 
| 
      
 199 
     | 
    
         
            +
                      unless campaign_id.nil?
         
     | 
| 
      
 200 
     | 
    
         
            +
                        hash['campaign_id'] = campaign_id
         
     | 
| 
      
 201 
     | 
    
         
            +
                      end
         
     | 
| 
      
 202 
     | 
    
         
            +
                      unless attribution_share.nil?
         
     | 
| 
      
 203 
     | 
    
         
            +
                        hash['attribution_share'] = attribution_share
         
     | 
| 
      
 204 
     | 
    
         
            +
                      end
         
     | 
| 
      
 205 
     | 
    
         
            +
                      unless attribution_model.nil?
         
     | 
| 
      
 206 
     | 
    
         
            +
                        hash['attribution_model'] = attribution_model
         
     | 
| 
      
 207 
     | 
    
         
            +
                      end
         
     | 
| 
      
 208 
     | 
    
         
            +
                      unless attr_window.nil?
         
     | 
| 
      
 209 
     | 
    
         
            +
                        hash['attr_window'] = attr_window
         
     | 
| 
      
 210 
     | 
    
         
            +
                      end
         
     | 
| 
      
 211 
     | 
    
         
            +
                      hash
         
     | 
| 
      
 212 
     | 
    
         
            +
                    end
         
     | 
| 
      
 213 
     | 
    
         
            +
             
     | 
| 
      
 214 
     | 
    
         
            +
                  end
         
     | 
| 
      
 215 
     | 
    
         
            +
                end
         
     | 
| 
      
 216 
     | 
    
         
            +
              end
         
     | 
| 
         @@ -19,6 +19,8 @@ 
     | 
|
| 
       19 
19 
     | 
    
         
             
            require_relative './user_data'
         
     | 
| 
       20 
20 
     | 
    
         
             
            require_relative './custom_data'
         
     | 
| 
       21 
21 
     | 
    
         
             
            require_relative './app_data'
         
     | 
| 
      
 22 
     | 
    
         
            +
            require_relative './original_event_data'
         
     | 
| 
      
 23 
     | 
    
         
            +
            require_relative './attribution_data'
         
     | 
| 
       22 
24 
     | 
    
         | 
| 
       23 
25 
     | 
    
         
             
            module FacebookAds
         
     | 
| 
       24 
26 
     | 
    
         
             
              module ServerSide
         
     | 
| 
         @@ -78,6 +80,12 @@ module FacebookAds 
     | 
|
| 
       78 
80 
     | 
    
         
             
                  # Messaging channel for the event
         
     | 
| 
       79 
81 
     | 
    
         
             
                  attr_accessor :messaging_channel
         
     | 
| 
       80 
82 
     | 
    
         | 
| 
      
 83 
     | 
    
         
            +
                  # Original event info
         
     | 
| 
      
 84 
     | 
    
         
            +
                  attr_accessor :original_event_data
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
                  # Attribution data info
         
     | 
| 
      
 87 
     | 
    
         
            +
                  attr_accessor :attribution_data
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
       81 
89 
     | 
    
         
             
                  # @param [String] event_name
         
     | 
| 
       82 
90 
     | 
    
         
             
                  # @param [int] event_time
         
     | 
| 
       83 
91 
     | 
    
         
             
                  # @param [String] event_source_url
         
     | 
| 
         @@ -92,6 +100,8 @@ module FacebookAds 
     | 
|
| 
       92 
100 
     | 
    
         
             
                  # @param String action_source
         
     | 
| 
       93 
101 
     | 
    
         
             
                  # @param [String] advanced_measurement_table
         
     | 
| 
       94 
102 
     | 
    
         
             
                  # @param [String] messaging_channel
         
     | 
| 
      
 103 
     | 
    
         
            +
                  # @param [FacebookAds::ServerSide::OriginalEventData] original_event_data
         
     | 
| 
      
 104 
     | 
    
         
            +
                  # @param [FacebookAds::ServerSide::AttributionData] attribution_data
         
     | 
| 
       95 
105 
     | 
    
         
             
                  def initialize(event_name: nil,
         
     | 
| 
       96 
106 
     | 
    
         
             
                                 event_time: nil,
         
     | 
| 
       97 
107 
     | 
    
         
             
                                 event_source_url: nil,
         
     | 
| 
         @@ -105,7 +115,9 @@ module FacebookAds 
     | 
|
| 
       105 
115 
     | 
    
         
             
                                 data_processing_options_state: nil,
         
     | 
| 
       106 
116 
     | 
    
         
             
                                 action_source: nil,
         
     | 
| 
       107 
117 
     | 
    
         
             
                                 advanced_measurement_table: nil,
         
     | 
| 
       108 
     | 
    
         
            -
                                 messaging_channel: nil
         
     | 
| 
      
 118 
     | 
    
         
            +
                                 messaging_channel: nil,
         
     | 
| 
      
 119 
     | 
    
         
            +
                                 original_event_data: nil,
         
     | 
| 
      
 120 
     | 
    
         
            +
                                 attribution_data: nil
         
     | 
| 
       109 
121 
     | 
    
         
             
                                 )
         
     | 
| 
       110 
122 
     | 
    
         | 
| 
       111 
123 
     | 
    
         
             
                    unless event_name.nil?
         
     | 
| 
         @@ -150,6 +162,12 @@ module FacebookAds 
     | 
|
| 
       150 
162 
     | 
    
         
             
                    unless messaging_channel.nil?
         
     | 
| 
       151 
163 
     | 
    
         
             
                      self.messaging_channel = messaging_channel
         
     | 
| 
       152 
164 
     | 
    
         
             
                    end
         
     | 
| 
      
 165 
     | 
    
         
            +
                    unless original_event_data.nil?
         
     | 
| 
      
 166 
     | 
    
         
            +
                      self.original_event_data = original_event_data
         
     | 
| 
      
 167 
     | 
    
         
            +
                    end
         
     | 
| 
      
 168 
     | 
    
         
            +
                    unless attribution_data.nil?
         
     | 
| 
      
 169 
     | 
    
         
            +
                      self.attribution_data = attribution_data
         
     | 
| 
      
 170 
     | 
    
         
            +
                    end
         
     | 
| 
       153 
171 
     | 
    
         
             
                  end
         
     | 
| 
       154 
172 
     | 
    
         | 
| 
       155 
173 
     | 
    
         
             
                  # build the object using the input hash
         
     | 
| 
         @@ -215,6 +233,14 @@ module FacebookAds 
     | 
|
| 
       215 
233 
     | 
    
         
             
                    if attributes.has_key?(:'messaging_channel')
         
     | 
| 
       216 
234 
     | 
    
         
             
                      self.messaging_channel = attributes[:'messaging_channel']
         
     | 
| 
       217 
235 
     | 
    
         
             
                    end
         
     | 
| 
      
 236 
     | 
    
         
            +
             
     | 
| 
      
 237 
     | 
    
         
            +
                    if attributes.has_key?(:'original_event_data')
         
     | 
| 
      
 238 
     | 
    
         
            +
                      self.original_event_data = attributes[:'original_event_data']
         
     | 
| 
      
 239 
     | 
    
         
            +
                    end
         
     | 
| 
      
 240 
     | 
    
         
            +
             
     | 
| 
      
 241 
     | 
    
         
            +
                    if attributes.has_key?(:'attribution_data')
         
     | 
| 
      
 242 
     | 
    
         
            +
                      self.attribution_data = attributes[:'attribution_data']
         
     | 
| 
      
 243 
     | 
    
         
            +
                    end
         
     | 
| 
       218 
244 
     | 
    
         
             
                  end
         
     | 
| 
       219 
245 
     | 
    
         | 
| 
       220 
246 
     | 
    
         
             
                  # Show invalid properties with the reasons. Usually used together with valid?
         
     | 
| 
         @@ -261,8 +287,10 @@ module FacebookAds 
     | 
|
| 
       261 
287 
     | 
    
         
             
                        data_processing_options_country == o.data_processing_options_country &&
         
     | 
| 
       262 
288 
     | 
    
         
             
                        data_processing_options_state == o.data_processing_options_state &&
         
     | 
| 
       263 
289 
     | 
    
         
             
                        action_source == o.action_source &&
         
     | 
| 
       264 
     | 
    
         
            -
                        advanced_measurement_table == o.advanced_measurement_table
         
     | 
| 
       265 
     | 
    
         
            -
                        messaging_channel == o.messaging_channel
         
     | 
| 
      
 290 
     | 
    
         
            +
                        advanced_measurement_table == o.advanced_measurement_table &&
         
     | 
| 
      
 291 
     | 
    
         
            +
                        messaging_channel == o.messaging_channel &&
         
     | 
| 
      
 292 
     | 
    
         
            +
                        original_event_data == o.original_event_data &&
         
     | 
| 
      
 293 
     | 
    
         
            +
                        attribution_data == o.attribution_data
         
     | 
| 
       266 
294 
     | 
    
         
             
                  end
         
     | 
| 
       267 
295 
     | 
    
         | 
| 
       268 
296 
     | 
    
         
             
                  # @see the `==` method
         
     | 
| 
         @@ -276,7 +304,7 @@ module FacebookAds 
     | 
|
| 
       276 
304 
     | 
    
         
             
                    [
         
     | 
| 
       277 
305 
     | 
    
         
             
                      event_name, event_time, event_source_url, opt_out, event_id, user_data, custom_data, app_data,
         
     | 
| 
       278 
306 
     | 
    
         
             
                      data_processing_options, data_processing_options_country, data_processing_options_state,
         
     | 
| 
       279 
     | 
    
         
            -
                      action_source, advanced_measurement_table, messaging_channel,
         
     | 
| 
      
 307 
     | 
    
         
            +
                      action_source, advanced_measurement_table, messaging_channel, original_event_data, attribution_data
         
     | 
| 
       280 
308 
     | 
    
         
             
                    ].hash
         
     | 
| 
       281 
309 
     | 
    
         
             
                  end
         
     | 
| 
       282 
310 
     | 
    
         | 
| 
         @@ -324,6 +352,12 @@ module FacebookAds 
     | 
|
| 
       324 
352 
     | 
    
         
             
                    unless messaging_channel.nil?
         
     | 
| 
       325 
353 
     | 
    
         
             
                      hash['messaging_channel'] = messaging_channel
         
     | 
| 
       326 
354 
     | 
    
         
             
                    end
         
     | 
| 
      
 355 
     | 
    
         
            +
                    unless original_event_data.nil?
         
     | 
| 
      
 356 
     | 
    
         
            +
                      hash['original_event_data'] = original_event_data
         
     | 
| 
      
 357 
     | 
    
         
            +
                    end
         
     | 
| 
      
 358 
     | 
    
         
            +
                    unless attribution_data.nil?
         
     | 
| 
      
 359 
     | 
    
         
            +
                      hash['attribution_data'] = attribution_data
         
     | 
| 
      
 360 
     | 
    
         
            +
                    end
         
     | 
| 
       327 
361 
     | 
    
         
             
                    hash.to_s
         
     | 
| 
       328 
362 
     | 
    
         
             
                  end
         
     | 
| 
       329 
363 
     | 
    
         | 
| 
         @@ -376,6 +410,12 @@ module FacebookAds 
     | 
|
| 
       376 
410 
     | 
    
         
             
                    unless messaging_channel.nil?
         
     | 
| 
       377 
411 
     | 
    
         
             
                      hash['messaging_channel'] = messaging_channel
         
     | 
| 
       378 
412 
     | 
    
         
             
                    end
         
     | 
| 
      
 413 
     | 
    
         
            +
                    unless original_event_data.nil?
         
     | 
| 
      
 414 
     | 
    
         
            +
                      hash['original_event_data'] = original_event_data
         
     | 
| 
      
 415 
     | 
    
         
            +
                    end
         
     | 
| 
      
 416 
     | 
    
         
            +
                    unless attribution_data.nil?
         
     | 
| 
      
 417 
     | 
    
         
            +
                      hash['attribution_data'] = attribution_data
         
     | 
| 
      
 418 
     | 
    
         
            +
                    end
         
     | 
| 
       379 
419 
     | 
    
         
             
                    hash
         
     | 
| 
       380 
420 
     | 
    
         
             
                  end
         
     | 
| 
       381 
421 
     | 
    
         | 
| 
         @@ -0,0 +1,107 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
         
     | 
| 
      
 2 
     | 
    
         
            +
            #
         
     | 
| 
      
 3 
     | 
    
         
            +
            # You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
         
     | 
| 
      
 4 
     | 
    
         
            +
            # copy, modify, and distribute this software in source code or binary form for use
         
     | 
| 
      
 5 
     | 
    
         
            +
            # in connection with the web services and APIs provided by Facebook.
         
     | 
| 
      
 6 
     | 
    
         
            +
            #
         
     | 
| 
      
 7 
     | 
    
         
            +
            # As with any software that integrates with the Facebook platform, your use of
         
     | 
| 
      
 8 
     | 
    
         
            +
            # this software is subject to the Facebook Platform Policy
         
     | 
| 
      
 9 
     | 
    
         
            +
            # [http://developers.facebook.com/policy/]. This copyright notice shall be
         
     | 
| 
      
 10 
     | 
    
         
            +
            # included in all copies or substantial portions of the software.
         
     | 
| 
      
 11 
     | 
    
         
            +
            #
         
     | 
| 
      
 12 
     | 
    
         
            +
            # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         
     | 
| 
      
 13 
     | 
    
         
            +
            # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
         
     | 
| 
      
 14 
     | 
    
         
            +
            # FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
         
     | 
| 
      
 15 
     | 
    
         
            +
            # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
         
     | 
| 
      
 16 
     | 
    
         
            +
            # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
         
     | 
| 
      
 17 
     | 
    
         
            +
            # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            module FacebookAds
         
     | 
| 
      
 20 
     | 
    
         
            +
                module ServerSide
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
                  # OriginalEventData contains original event info used for attribution passback event or generalized value optimization(GVO).
         
     | 
| 
      
 23 
     | 
    
         
            +
                  class OriginalEventData
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
                    # A Facebook pixel Standard Event or Custom Event name.
         
     | 
| 
      
 26 
     | 
    
         
            +
                    # This is used with event_id to determine if events are identical.
         
     | 
| 
      
 27 
     | 
    
         
            +
                    attr_accessor :event_name
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
                    # A Unix timestamp in seconds indicating when the original event occurred.
         
     | 
| 
      
 30 
     | 
    
         
            +
                    attr_accessor :event_time
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
                    # @param [String] event_name
         
     | 
| 
      
 33 
     | 
    
         
            +
                    # @param [int] event_time
         
     | 
| 
      
 34 
     | 
    
         
            +
                    def initialize(event_name: nil, event_time: nil)
         
     | 
| 
      
 35 
     | 
    
         
            +
                      unless event_name.nil?
         
     | 
| 
      
 36 
     | 
    
         
            +
                        self.event_name = event_name
         
     | 
| 
      
 37 
     | 
    
         
            +
                      end
         
     | 
| 
      
 38 
     | 
    
         
            +
                      unless event_time.nil?
         
     | 
| 
      
 39 
     | 
    
         
            +
                        self.event_time = event_time
         
     | 
| 
      
 40 
     | 
    
         
            +
                      end
         
     | 
| 
      
 41 
     | 
    
         
            +
                    end
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
                    # build the object using the input hash
         
     | 
| 
      
 44 
     | 
    
         
            +
                    # @param [Hash] attributes  attributes in the form of hash
         
     | 
| 
      
 45 
     | 
    
         
            +
                    def build(attributes = {})
         
     | 
| 
      
 46 
     | 
    
         
            +
                      return unless attributes.is_a?(Hash)
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
                      # convert string to symbol for hash key
         
     | 
| 
      
 49 
     | 
    
         
            +
                      attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
         
     | 
| 
      
 50 
     | 
    
         
            +
             
     | 
| 
      
 51 
     | 
    
         
            +
                      if attributes.has_key?(:'event_name')
         
     | 
| 
      
 52 
     | 
    
         
            +
                        self.event_name = attributes[:'event_name']
         
     | 
| 
      
 53 
     | 
    
         
            +
                      end
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
      
 55 
     | 
    
         
            +
                      if attributes.has_key?(:'event_time')
         
     | 
| 
      
 56 
     | 
    
         
            +
                        self.event_time = attributes[:'event_time']
         
     | 
| 
      
 57 
     | 
    
         
            +
                      end
         
     | 
| 
      
 58 
     | 
    
         
            +
                    end
         
     | 
| 
      
 59 
     | 
    
         
            +
             
     | 
| 
      
 60 
     | 
    
         
            +
                    # Checks equality by comparing each attribute.
         
     | 
| 
      
 61 
     | 
    
         
            +
                    def ==(o)
         
     | 
| 
      
 62 
     | 
    
         
            +
                      return true if self.equal?(o)
         
     | 
| 
      
 63 
     | 
    
         
            +
                      self.class == o.class &&
         
     | 
| 
      
 64 
     | 
    
         
            +
                          event_name == o.event_name &&
         
     | 
| 
      
 65 
     | 
    
         
            +
                          event_time == o.event_time
         
     | 
| 
      
 66 
     | 
    
         
            +
                    end
         
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
                    # @see the `==` method
         
     | 
| 
      
 69 
     | 
    
         
            +
                    def eql?(o)
         
     | 
| 
      
 70 
     | 
    
         
            +
                      self == o
         
     | 
| 
      
 71 
     | 
    
         
            +
                    end
         
     | 
| 
      
 72 
     | 
    
         
            +
             
     | 
| 
      
 73 
     | 
    
         
            +
                    # Calculates hash code according to all attributes.
         
     | 
| 
      
 74 
     | 
    
         
            +
                    # @return [Fixnum] Hash code
         
     | 
| 
      
 75 
     | 
    
         
            +
                    def hash
         
     | 
| 
      
 76 
     | 
    
         
            +
                      [
         
     | 
| 
      
 77 
     | 
    
         
            +
                        event_name, event_time,
         
     | 
| 
      
 78 
     | 
    
         
            +
                      ].hash
         
     | 
| 
      
 79 
     | 
    
         
            +
                    end
         
     | 
| 
      
 80 
     | 
    
         
            +
             
     | 
| 
      
 81 
     | 
    
         
            +
                    def to_s
         
     | 
| 
      
 82 
     | 
    
         
            +
                      hash = {}
         
     | 
| 
      
 83 
     | 
    
         
            +
                      unless event_name.nil?
         
     | 
| 
      
 84 
     | 
    
         
            +
                        hash['event_name'] = event_name
         
     | 
| 
      
 85 
     | 
    
         
            +
                      end
         
     | 
| 
      
 86 
     | 
    
         
            +
                      unless event_time.nil?
         
     | 
| 
      
 87 
     | 
    
         
            +
                        hash['event_time'] = event_time
         
     | 
| 
      
 88 
     | 
    
         
            +
                      end
         
     | 
| 
      
 89 
     | 
    
         
            +
                      hash.to_s
         
     | 
| 
      
 90 
     | 
    
         
            +
                    end
         
     | 
| 
      
 91 
     | 
    
         
            +
             
     | 
| 
      
 92 
     | 
    
         
            +
             
     | 
| 
      
 93 
     | 
    
         
            +
                    # Normalize input fields to server request format.
         
     | 
| 
      
 94 
     | 
    
         
            +
                    def normalize
         
     | 
| 
      
 95 
     | 
    
         
            +
                      hash = {}
         
     | 
| 
      
 96 
     | 
    
         
            +
                      unless event_name.nil?
         
     | 
| 
      
 97 
     | 
    
         
            +
                        hash['event_name'] = event_name
         
     | 
| 
      
 98 
     | 
    
         
            +
                      end
         
     | 
| 
      
 99 
     | 
    
         
            +
                      unless event_time.nil?
         
     | 
| 
      
 100 
     | 
    
         
            +
                        hash['event_time'] = event_time
         
     | 
| 
      
 101 
     | 
    
         
            +
                      end
         
     | 
| 
      
 102 
     | 
    
         
            +
                      hash
         
     | 
| 
      
 103 
     | 
    
         
            +
                    end
         
     | 
| 
      
 104 
     | 
    
         
            +
             
     | 
| 
      
 105 
     | 
    
         
            +
                  end
         
     | 
| 
      
 106 
     | 
    
         
            +
                end
         
     | 
| 
      
 107 
     | 
    
         
            +
              end
         
     | 
    
        data/lib/facebook_ads/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: facebookbusiness
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 20.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 20.0.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Facebook
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2024- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2024-08-21 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: concurrent-ruby
         
     | 
| 
         @@ -276,7 +276,7 @@ files: 
     | 
|
| 
       276 
276 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/ad_account_ios_fourteen_campaign_limits.rb
         
     | 
| 
       277 
277 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/ad_account_matched_search_applications_edge_data.rb
         
     | 
| 
       278 
278 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/ad_account_max_bid.rb
         
     | 
| 
       279 
     | 
    
         
            -
            - lib/facebook_ads/ad_objects/ 
     | 
| 
      
 279 
     | 
    
         
            +
            - lib/facebook_ads/ad_objects/ad_account_optimization_goals_aemv2_eligibility.rb
         
     | 
| 
       280 
280 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/ad_account_payment_details.rb
         
     | 
| 
       281 
281 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/ad_account_payment_options.rb
         
     | 
| 
       282 
282 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/ad_account_prepay_details.rb
         
     | 
| 
         @@ -895,7 +895,7 @@ files: 
     | 
|
| 
       895 
895 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/organization.rb
         
     | 
| 
       896 
896 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/outcome_prediction_point.rb
         
     | 
| 
       897 
897 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/owned_domain.rb
         
     | 
| 
       898 
     | 
    
         
            -
            - lib/facebook_ads/ad_objects/ 
     | 
| 
      
 898 
     | 
    
         
            +
            - lib/facebook_ads/ad_objects/p2m_invoice_payments.rb
         
     | 
| 
       899 
899 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/page.rb
         
     | 
| 
       900 
900 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/page_about_story_composed_block.rb
         
     | 
| 
       901 
901 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/page_about_story_composed_block_entity_ranges.rb
         
     | 
| 
         @@ -1049,6 +1049,7 @@ files: 
     | 
|
| 
       1049 
1049 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/security_settings.rb
         
     | 
| 
       1050 
1050 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/server_side/action_source.rb
         
     | 
| 
       1051 
1051 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/server_side/app_data.rb
         
     | 
| 
      
 1052 
     | 
    
         
            +
            - lib/facebook_ads/ad_objects/server_side/attribution_data.rb
         
     | 
| 
       1052 
1053 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/server_side/batch_processor.rb
         
     | 
| 
       1053 
1054 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/server_side/content.rb
         
     | 
| 
       1054 
1055 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/server_side/custom_data.rb
         
     | 
| 
         @@ -1062,6 +1063,7 @@ files: 
     | 
|
| 
       1062 
1063 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/server_side/http_service_interface.rb
         
     | 
| 
       1063 
1064 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/server_side/http_util.rb
         
     | 
| 
       1064 
1065 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/server_side/messaging_channel.rb
         
     | 
| 
      
 1066 
     | 
    
         
            +
            - lib/facebook_ads/ad_objects/server_side/original_event_data.rb
         
     | 
| 
       1065 
1067 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/server_side/user_data.rb
         
     | 
| 
       1066 
1068 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/server_side/util.rb
         
     | 
| 
       1067 
1069 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/shadow_ig_hashtag.rb
         
     | 
| 
         @@ -1182,7 +1184,7 @@ files: 
     | 
|
| 
       1182 
1184 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/windows_app_link.rb
         
     | 
| 
       1183 
1185 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/windows_phone_app_link.rb
         
     | 
| 
       1184 
1186 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/wit_user.rb
         
     | 
| 
       1185 
     | 
    
         
            -
            - lib/facebook_ads/ad_objects/ 
     | 
| 
      
 1187 
     | 
    
         
            +
            - lib/facebook_ads/ad_objects/with_asset_3d.rb
         
     | 
| 
       1186 
1188 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/woodhenge_purchased_payg_receipt.rb
         
     | 
| 
       1187 
1189 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/woodhenge_supporter.rb
         
     | 
| 
       1188 
1190 
     | 
    
         
             
            - lib/facebook_ads/ad_objects/work_access_code.rb
         
     |