[Discontinued] Unity Ads Extension [Free & Open Source]

@anon6030471 If you didn't want to disclose its source, you could have dmed the source to moderators :sweat_smile:

2 Likes

This extension already open source :innocent:

1 Like

So I saw it late ?
:frowning:

2 Likes

UnityAdsNew.aix (720.5 KB)

Just compiled with latest sdk

:sweat_smile:

Version : 3.7.2

3 Likes

Please provide Lib Version too @Know_About_IT

1 Like

Probably 3.7.2

2 Likes

@Paras_Yadav has not specified an ad unit so from where is he expecting extension to load ad?

2 Likes

Done :point_down:

2 Likes

I have tested the extension

i have used block onads loaded
it returns the placement id
i found that the placement id doesnot match with my placement id of unity

second test was i muted my ads
then again tested but loads the ads with sound autoplay
i found something messy here

i am sorry if i made someone hurt

By the way my math is not weak ,i just written this to highlight the topic

You can see the source of extension
:no_mouth:

thanks for extension
i found one error when i Export to sdk from Kodular
its showing error

Kodular is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating fragment xml
________Creating listview xml in res/layout/..
________Creating listview xml in res/layout-v21/..
________Creating xml in res/drawable/..
________Creating splash png in res/drawable/..
________Creating colors xml
________Creating styles xml
________Creating drawables xml v21
________Checking for firebase
________Creating provider_path xml
________Creating network_security_config xml
________Generating adaptive icon file
________Generating round adaptive icon file
________Generating adaptive icon background file
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT time: 1.06 seconds
________Compiling source files
(compiling io/kodular/omanvb4040/unityAds/Screen1.yail to io.kodular.omanvb4040.unityAds.Screen1)

ERROR: io/kodular/omanvb4040/unityAds/Screen1.yail line 74: caught exception in inliner for # - java.lang.RuntimeException: no such class: com.unityuqn.ads.UnityAdsUtils

gnu.bytecode.ObjectType.getReflectClass(ObjectType.java:179)
gnu.bytecode.ClassType.getModifiers(ClassType.java:103)
gnu.bytecode.ClassType.isInterface(ClassType.java:471)
gnu.expr.InlineCalls.checkType(InlineCalls.java:56)
gnu.expr.InlineCalls.visit(InlineCalls.java:49)
gnu.expr.InlineCalls.visitSetExpValue(InlineCalls.java:363)
gnu.expr.InlineCalls.visitSetExpValue(InlineCalls.java:28)
gnu.expr.ExpVisitor.visitSetExp(ExpVisitor.java:114)
gnu.expr.InlineCalls.visitSetExp(InlineCalls.java:369)
gnu.expr.InlineCalls.visitSetExp(InlineCalls.java:28)
gnu.expr.SetExp.visit(SetExp.java:406)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:55)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.visitBeginExp(InlineCalls.java:272)
gnu.expr.InlineCalls.visitBeginExp(InlineCalls.java:28)
gnu.expr.BeginExp.visit(BeginExp.java:156)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:51)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.visit(InlineCalls.java:28)
gnu.expr.ExpVisitor.visitAndUpdate(ExpVisitor.java:161)
gnu.expr.ExpVisitor.visitExps(ExpVisitor.java:175)
gnu.expr.ApplyExp.visitArgs(ApplyExp.java:415)
gnu.kawa.functions.CompileMisc.validateApplyAppendValues(CompileMisc.java:139)
sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
gnu.expr.InlineCalls.maybeInline(InlineCalls.java:467)
gnu.expr.QuoteExp.validateApply(QuoteExp.java:150)
gnu.expr.InlineCalls.visitApplyExp(InlineCalls.java:119)
gnu.expr.InlineCalls.visitApplyExp(InlineCalls.java:28)
gnu.expr.ApplyExp.visit(ApplyExp.java:410)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:55)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.visit(InlineCalls.java:28)
gnu.expr.LambdaExp.visitChildrenOnly(LambdaExp.java:1664)
gnu.expr.LambdaExp.visitChildren(LambdaExp.java:1651)
gnu.expr.InlineCalls.visitScopeExp(InlineCalls.java:279)
gnu.expr.InlineCalls.visitLambdaExp(InlineCalls.java:349)
gnu.expr.InlineCalls.visitLambdaExp(InlineCalls.java:28)
gnu.expr.ExpVisitor.visitModuleExp(ExpVisitor.java:103)
gnu.expr.ModuleExp.visit(ModuleExp.java:482)
gnu.expr.ExpVisitor.visit(ExpVisitor.java:51)
gnu.expr.InlineCalls.visit(InlineCalls.java:46)
gnu.expr.InlineCalls.inlineCalls(InlineCalls.java:33)
gnu.expr.Compilation.walkModule(Compilation.java:994)
gnu.expr.Compilation.process(Compilation.java:1965)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:330)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:315)
kawa.repl.compileFiles(repl.java:783)
kawa.repl.processArgs(repl.java:412)
kawa.repl.main(repl.java:827)
Kawa compile time: 1.466 seconds
.------------------------------------------------------

i try both extension ( com.unityuqn.ads.aix and UnityAdsNew.aix

can you help for this issue?

This extension was made for Kodular? :thinking:

1 Like

Kodular doesn't allow using ads extension, why are you using it there if alreayd built - in component is there

PS : This extension is not made for kodular

2 Likes

I don't know
thanks for replay
but if there is any extension plz guide me

You can't use this aix on Kodular

For using in appinventor, you can see information in first post

1 Like

8 posts were split to a new topic: How do I build the open source uniyy ads extension?

@uq_n i am getting a error when I called a interstial ad



Not in my other apps

are you sure the gameid you input is correct?

hmm, do you mean this problem only occurs in that project, not in other projects?

Yes but it occur only some time

How can I get the placementID?