New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PBM should not save the bid if targeting keys are not returned from server #93
Conversation
adServerTargetingCopy[cacheIdkey] = bidderCacheId; | ||
PBBidResponse *bidResponse = [PBBidResponse bidResponseWithAdUnitId:adUnitId adServerTargeting:adServerTargetingCopy]; | ||
PBLogDebug(@"Bid Successful with rounded bid targeting keys are %@ for adUnit id is %@", [bidResponse.customKeywords description], adUnitId); | ||
[bidResponsesArray addObject:bidResponse]; | ||
} | ||
[delegate didReceiveSuccessResponse:bidResponsesArray];; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are u sending didReceiveSuccessResponse
when targeting keys are nil?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check out the full code. I'm not sending didReceiveSuccessResponse
when targeting keys are nil, that's inside bid response retrieval.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again questioning... why would u send success if this bidResponsesArray
is nil or empty?
adServerTargetingCopy[cacheIdkey] = bidderCacheId; | ||
PBBidResponse *bidResponse = [PBBidResponse bidResponseWithAdUnitId:adUnitId adServerTargeting:adServerTargetingCopy]; | ||
PBLogDebug(@"Bid Successful with rounded bid targeting keys are %@ for adUnit id is %@", [bidResponse.customKeywords description], adUnitId); | ||
[bidResponsesArray addObject:bidResponse]; | ||
} | ||
[delegate didReceiveSuccessResponse:bidResponsesArray];; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again questioning... why would u send success if this bidResponsesArray
is nil or empty?
adServerTargetingCopy[cacheIdkey] = bidderCacheId; | ||
PBBidResponse *bidResponse = [PBBidResponse bidResponseWithAdUnitId:adUnitId adServerTargeting:adServerTargetingCopy]; | ||
PBLogDebug(@"Bid Successful with rounded bid targeting keys are %@ for adUnit id is %@", [bidResponse.customKeywords description], adUnitId); | ||
[bidResponsesArray addObject:bidResponse]; | ||
} | ||
[delegate didReceiveSuccessResponse:bidResponsesArray];; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the extra ;
...
PBM should not save the bid if targeting keys are not returned from server
No description provided.