Post not yet marked as solved
Post marked as unsolved with 0 replies, 456 views
I try to Test Attribution with SKAdNetwork, so I'm writing this code code to test :
SKAdTestSession *session = [[SKAdTestSession alloc]init];
SKAdTestPostback *testpostback = [[SKAdTestPostback alloc] initWithVersion:@"2.2" adNetworkIdentifier:@"xxxxxxxxx.skadnetwork" adCampaignIdentifier:1 appStoreItemIdentifier:1596467464 sourceAppStoreItemIdentifier:0 conversionValue:0 fidelityType:1 isRedownload:YES didWin:YES postbackURL:@"url"];
NSError *error = [[NSError alloc] initWithDomain:@"" code:0 userInfo:NULL];
BOOL success = [session setPostbacks:@[testpostback] error:&error];
It's return me no error and success is at true but I have no postback in my session.
Is there anything wrong ?
I'm using Xcode 14.3
Thanks