Get Started with Glispa Connect

Overview

Examples

Android

Overview

- Native Ads

List/Feed

Custom

- Standard IAB Formats

Banner

Interstitial

Video

- Others

GDPR

Troubleshooting

Admob Android Adapter

Mopub Android Adapter

DFP Android Adapter

iOS

Overview

- Native Ads

List/Feed

Custom

- Standard IAB Formats

Banner

Interstitial

Video

- Others

GDPR

Troubleshooting

- Adapters

Admob iOS Adapter

Mopub iOS Adapter

DFP iOS Adapter

API Documentation

Reporting API

Help

GDPR FAQ

General

Earnings

Payments and Accounting

Integration

Reporting

Legal and Privacy

Updates

SDK Deprecation Schedule

SDK Change Log

Android Change Log

iOS Change Log

Troubleshooting

Updated 2 years ago by Chris

Overview

To debug your Avocarrot integration enable the Avocarrot Logger in your project.

 Copy To Clipboard

  // Log any events related with Avocarrot
  [myAd setLogger:YES withLevel:@"ALL"]; 

You can see the SDK version changes in the iOS SDK Changelog page.
Avocarrot Issues
BUILD FAILS: Apple Mach-O Linker Error
This error indicates that you haven't imported the the SDK dependencies correctly.
ERROR: No placement with name <NAME> exists.
You have used an invalid Placement key.
Log in to your dashboard and make sure that you are using the correct placement key.
ERROR: Unauthorized. Please provide a valid api key.
You have used an invalid API Key.
Log in to your dashboard and make sure that you are using the correct key for your app.
ERROR: Missing api key from the request body or auth headers
You have failed to initialize your AvocarrotComponent. To initialize the object include the following instruction.

 Copy To Clipboard

[myAd setApiKey:@"<your API Key>"];

AvocarrotCustom Issues
TIP:I cannot update my UI on (void) adDidLoad:(AVCustomAd *)
Make sure that you update your UI in a background thread, once you receive your AVCustomAd object

 Copy To Clipboard

- (void)adDidLoad:(AVCustomAd *)ad
{
  dispatch_after(DISPATCH_TIME_NOW, dispatch_get_main_queue(), ^(void){
    // Update your UI here
  });
}

INFO: Cannot register Ad click because impression has not been tracked.
Make sure that you call the method [bindToView] before calling [handleClick].
For a full working demo click here.
ERROR:[AvocarrotCustom handleClick]: unrecognized selector sent to instance
Make sure that your reference to AVCustomAd *myAdis not deallocated when calling [handleClick[.
AvocarrotInstream Issues
ERROR: Failed to obtain the number of sections for parent tableView
Make sure that pass a valid tableView reference when calling [[AvocarrotInstream alloc]initWithController: ...]


Was this article useful?