class Multiwoven::Integrations::Destination::FacebookCustomAudience::Client
def ad_account_exists?(response, ad_account_id)
def ad_account_exists?(response, ad_account_id) return if extract_data(response).any? { |ad_account| ad_account["id"] == "act_#{ad_account_id}" } raise ArgumentError, "Ad account not found in business account" end