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

Error code - 1012 #104

Open
t-roymyers opened this issue Jul 17, 2018 · 10 comments
Open

Error code - 1012 #104

t-roymyers opened this issue Jul 17, 2018 · 10 comments

Comments

@t-roymyers
Copy link

I keep seeing an error code of 1012 with a reason of none when trying to display any type of live ad. I can't figure out how to get the device hash on Ionic so I'm not sure how to run test ads. I looked into the Facebook documentation and 1012 isn't even listed.

@THE-KIPDEV
Copy link

Hello, do you find the solution, i have same problem ?

@Keis828
Copy link

Keis828 commented Aug 30, 2018

Same here. I also saw error code 1002 "Ad Load Too Frequently" in my case. But I never display ads in my app.

@hodaifa82
Copy link

same here did you solve this @Keis828

@Keis828
Copy link

Keis828 commented Sep 27, 2018

@hodaifa82 not yet... I also message to facebook, but no response.

@SachinGanesh
Copy link

Did any one solve this issue? Im also getting error code 1012

@eralpkaraduman
Copy link

eralpkaraduman commented Dec 5, 2018

Did any one solve this issue? Im also getting error code 1012

I did, In my case issue was AudienceNetwork SDK used by this cordova plugin was too old. This error code was not documented at the time i was trying to tackle this issue. I figured that, at the business.facebook.com's monetization dashboard, there was a note on top saying that my sdk was old and i needed to update.

I ended up making a custom native plugin for myself with the latest sdk, didn't use this plugin at all.

I hope this would give you some ideas to solve it.
I didn't attempt to do it but, probably updating the sdk in this plugin would also solve the issue.

@SachinGanesh
Copy link

Did any one solve this issue? Im also getting error code 1012

I did, In my case issue was AudienceNetwork SDK used by this cordova plugin was too old. This error code was not documented at the time i was trying to tackle this issue. I figured that, at the business.facebook.com's monetization dashboard, there was a note on top saying that my sdk was old and i needed to update.

I ended up making a custom native plugin for myself with the latest sdk, didn't use this plugin at all.

I hope this would give you some ideas to solve it.
I didn't attempt to do it but, probably updating the sdk in this plugin would also solve the issue.

Thanks for the reply! I did update the Facebook Audience Network SDK to the latest version. Now I'm getting error 1013. We will be grateful if you can share your solution with us!

@eralpkaraduman
Copy link

Haven’t got 1013 Myself, I’d suspect something else then.

I can suggest checking the ad request debugger on fb monetization dashboard.
Also make sure you are trying on a real device and facebook app is installed and signed in by your account, this is a way for them to mark you as a test account i think?

Instructions are here;
https://developers.facebook.com/docs/audience-network/testing/

Go to Monetization Manager
Click Manage property
Click on Property Settings > Request Debugger on the top right
Click on Start to monitor the requests from your app or website.

Unfortunately my plugin is done in objc for very specific purpose and even placement ids are hardcoded also does other stuff then ads, doesn’t support android also which i didn’t need to. So It’s in no shape to be shared :) If I’d find free time to clear it out, i can share it then.

But to put you into same direction, i created a very basic boilerplate cordova extension then just integrated fb an sdk as if it was a native app to that.

@blukis
Copy link

blukis commented Dec 11, 2018

Thanks for the reply! I did update the Facebook Audience Network SDK to the latest version. Now I'm getting error 1013. We will be grateful if you can share your solution with us!

@SachinGanesh I was also getting 1013 on iOS device, while trying to get this plugin working. I had this block temporarily included...
FacebookAds.setOptions({ isTesting: true, deviceHash: 'xxxxxxxxx' /*(was replaced with my own, apparently(?))*/ });

When I removed this block, the 1013 went away, as did the onAdFailLoad event fire, and ad started appearing. (I still don't know what 1013 means, and it's frustrating it's not documented. But maybe this is a clue.)

@priyasamyal
Copy link

Did you find any fix for 1013 error code

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

8 participants