Post

Replies

Boosts

Views

Activity

Discrepancy in Redownload Counts: Sales Report vs. App Analytics
I've noticed a significant difference in redownload counts for a specific app between the Sales Dashboard and the App Analytics Dashboard. While the Sales Report API indicates a redownload count of 6.93K for a 3F product type (implying re-download), the App Analytics Dashboard shows a much lower count of 636. I referred to the ASC documentation, which notes that restore counts are not included in the redownload count in App Analytics. My question is whether there's a method to exclude restore counts from the redownload count in the Sales Report as well. Seeking clarification
1
2
660
Nov ’23
Trying to generate token for API Request with 15 day life time. But the Appstoreconnect rejects a token with a lifetime greater than 20 minutes
I using the below to generate the token. but it returns 401 due to token life time > 20 minuts import requests, time, json from authlib.jose import jwt KEY_ID = "key_id" ISSUER_ID = "issuer_id" EXPIRATION_TIME = int(round(time.time() + (30.0 * 60.0))) # 20 minutes timestamp PATH_TO_KEY = "AuthKey_keyid.p8" with open(PATH_TO_KEY, "r") as f: PRIVATE_KEY = f.read() header = {"alg": "ES256", "kid": KEY_ID, "typ": "JWT"} payload = { "iss": ISSUER_ID, "exp": EXPIRATION_TIME, "aud": "appstoreconnect-v1", "scope": ["GET /v1/salesReports?filter[frequency]=DAILY&filter[reportDate]=2023-09-01&filter[reportSubType]=DETAILED&filter[vendorNumber]={vendor_number}&filter[reportType]=SUBSCRIBER&filter[version]=1_3"] } # Create the JWT token = jwt.encode(header, payload, PRIVATE_KEY) print(token) # API Request JWT = "Bearer " + token.decode() URL = "https://api.appstoreconnect.apple.com/v1/salesReports" HEAD = {"Authorization": JWT} params = { "filter[frequency]": "DAILY", "filter[reportDate]": "2023-09-01", "filter[reportSubType]": "DETAILED", "filter[vendorNumber]": "vendor_number", "filter[reportType]": "SUBSCRIBER", "filter[version]": "1_3" } r = requests.get(URL, params=params, headers=HEAD) print(r) Do you have any suggestions to generate the token with 15 days life time
0
0
539
Sep ’23
How to view all data which is returned by appstore connect API
The following API returns 16000 total entries in POSTMAN. It shows only 200 entries. How to view all the entries https://api.appstoreconnect.apple.com/v1/apps/{app_id}/pricePoints         "paging": {             "total": 16625,             "limit": 200         }     } https://developer.apple.com/documentation/appstoreconnectapi/paginginformation/paging- This page tells about the total and limit. How to view the all the entries
0
0
427
Oct ’22