Files
purchases-ios/Sources/SubscriberAttributes/AttributionKey.swift
T
aboedo f5697de730 renamed Purchases folder to Sources (#1416)
* renamed `Purchases` folder to `Sources`

* temporarily enabling installation test jobs

* re-disabling installation test jobs
2022-03-28 11:53:24 -03:00

64 lines
1.3 KiB
Swift

//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// AttributionKey.swift
//
import Foundation
// swiftlint:disable identifier_name
enum AttributionKey: String {
case idfa = "rc_idfa",
idfv = "rc_idfv",
ip = "rc_ip_address",
gpsAdId = "rc_gps_adid",
networkID = "rc_attribution_network_id"
enum Adjust: String {
case id = "adid",
network = "network",
campaign = "campaign",
adGroup = "adgroup",
creative = "creative"
}
enum AppsFlyer: String {
case id = "rc_appsflyer_id",
campaign = "campaign",
channel = "af_channel",
mediaSource = "media_source",
adSet = "adset",
ad = "af_ad",
adGroup = "adgroup",
adKeywords = "af_keywords",
adId = "ad_id",
dataKey = "data",
statusKey = "status"
}
enum Branch: String {
case campaign,
channel
}
enum MParticle: String {
case id = "mpid"
}
}