Skip to content
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

NativeAddView is not working. throwing Internal error #115

Open
Chandrakala-B opened this issue Nov 22, 2023 · 0 comments
Open

NativeAddView is not working. throwing Internal error #115

Chandrakala-B opened this issue Nov 22, 2023 · 0 comments

Comments

@Chandrakala-B
Copy link

Error: Request Error: Internal error.
at createErrorFromErrorData (utils.ts:7:17)
at onAdFailedToLoad (withNativeAd.tsx:262:39)
at Object.invokeGuardedCallbackProd (ReactNativeRenderer-dev.js:107:10)
at invokeGuardedCallback (ReactNativeRenderer-dev.js:340:31)
at invokeGuardedCallbackAndCatchFirstError (ReactNativeRenderer-dev.js:364:25)
at executeDispatch (ReactNativeRenderer-dev.js:466:3)
at executeDispatchesInOrder (ReactNativeRenderer-dev.js:490:5)
at executeDispatchesAndRelease (ReactNativeRenderer-dev.js:2774:5)
at executeDispatchesAndReleaseTopLevel (ReactNativeRenderer-dev.js:2783:10)
at forEachAccumulated (ReactNativeRenderer-dev.js:1254:8)

const adsManager = new NativeAdsManager(TEST_AD_BANNER);

<NativeAdView
        targeting={{
          customTargeting: { group: 'nzme_user_test' },
          categoryExclusions: ['media'],
          contentURL: 'nzmetest://',
          publisherProvidedID: 'provider_id_nzme',
        }}
        // style={{ width: '100%'}}
        adsManager={adsManager}
        validAdTypes={['banner']}
        adSize="mediumRectangle"
        validAdSizes={['mediumRectangle']}
        // onAdLoaded={this.onAdLoaded}
        onAdFailedToLoad={(error) => {
          console.log(error);
        }}
      />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant