Skip to content

Instantly share code, notes, and snippets.

@xdstack
Last active August 29, 2015 14:15
Show Gist options
  • Save xdstack/7670771d4c936a01a95d to your computer and use it in GitHub Desktop.
Save xdstack/7670771d4c936a01a95d to your computer and use it in GitHub Desktop.
推广对接IDFA查询接口文档

推广对接IDFA查询接口文档

为了保证推广效果,需要贵方提供一个查询接口,用来获取某一个IDFA是否下载过你们App。

##请求方式##

HTTP POST

##请求参数名称及说明##

####appid####

应用的 iTunes ID。 例如应用贴条地图的App Store 下载链接为 https://itunes.apple.com/cn/app/tie-tiao-de-tu/id942858772?mt=8 ,则其 appid 为 942858772

####idfa####

需要查询的 IDFA 拼接的字符串。以英文逗号间隔,每次最多查询1000个IDFA,每个IDFA的长度为36位。 例如:6A58EF1E-EEF2-478D-94EE-709B98407589,A0A82816-3383-437B-A535-F910162A7097,A0A82816-3383-437B-A535-F910162A7098

##返回##

返回 JSON 格式数据,例如:

		"6A58EF1E-EEF2-478D-94EE-709B98407589":"1",
		"A0A82816-3383-437B-A535-F910162A7097":"0",
		"A0A82816-3383-437B-A535-F910162A7098":"1"
	}```

##返回值说明##

1: 代表该IDFA已经下载过,0: 代表该IDFA没下载过。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment