class FacebookAds::AdImage

An image will always produce the same hash. developers.facebook.com/docs/marketing-api/reference/ad-image

Constants

FIELDS

Public Class Methods

find(_id) click to toggle source
# File lib/facebook_ads/ad_image.rb, line 10
def find(_id)
  raise NotImplementedError
end

Public Instance Methods

destroy() click to toggle source
Calls superclass method
# File lib/facebook_ads/ad_image.rb, line 27
def destroy
  super(path: "/act_#{account_id}/adimages", query: { hash: self[:hash] })
end
hash() click to toggle source
# File lib/facebook_ads/ad_image.rb, line 19
def hash
  self[:hash]
end
update(_data) click to toggle source
# File lib/facebook_ads/ad_image.rb, line 23
def update(_data)
  raise NotImplementedError
end