The AppLovin SDKs return errors as integer codes. To make this more manageable, there are also a set of named constants that correspond to these codes. This gives you the flexibility to check for errors using the named constants. Here is an iOS example:
-(void)adService:(ALAdService *)adService didFailToLoadAdWithError:(int)code { if(code == MAErrorCodeNoFill) { [self foo]; }}
If you are checking for the specific error returned, we recommend using these named constants rather than the integers in your code. For a list of these error codes and constants, see iOS > Overview > Error Codes in the MAX Integration Guide.