Giter VIP home page Giter VIP logo

Comments (8)

SuperZhouyong avatar SuperZhouyong commented on May 29, 2024 3

@ifmvo 可以的,其实很多广告,可以再 支持一点。框架 sdk 初始化,文件 xml 都支持很好的,点赞

from togetherad.

sdfwds4 avatar sdfwds4 commented on May 29, 2024

激励广告。
使用最新的3.2.3版。
使用3.2.3里的demo的广告id,可以出现广告视频;使用自己的广告id,提示上面的错误。

from togetherad.

DaChao007 avatar DaChao007 commented on May 29, 2024

同问 使用“信息流广告”展示与一楼同样的问题。 但是不出现广告 请求失败

还有一个问题:
使用 ”插屏广告“:csj: 请求失败了:错误码: 40022}, 错误信息:媒体在平台上申请的代码位“是否原生”属性与代码中使用的接口不匹配。例如:1. 媒体在平台上选择的是个性化模板banner广告的话,Android代码中请参考BannerExpressActivity进行调用;iOS代码中请参考BUDExpressBannerViewController进行调用。2. 媒体在平台上选择的是个性化模板插屏广告的话,代码中请参考InteractionExpressActivity进行调用;iOS代码位中请参考BUDExpressInterstitialViewController进行调用。PS:模板广告会带有express字样标识。

from togetherad.

ifmvo avatar ifmvo commented on May 29, 2024

image
image
从穿山甲的Demo中可以看到激励广告分为两种,1:普通激励广告。2:模板激励广告。

至于为什么有两种我想应该是: 穿山甲新开通账户只能创建模板类型以提高广告展示的规范。

上面的错误日志说的很明白:ID的类型和请求方式不一致( 模板类型的激励广告ID使用普通激励的请求方式 )

目前TogetherAdDemo中使用的就是普通激励广告ID和普通激励广告的请求方式,如果你填入模板类型的激励ID,就会报错。

解决方法:将TogetherAd中CsjProvider中请求激励广告的方式改为模板激励广告。
详细请查看文档。文档中只对Banner进行举例。激励、插屏同理。

from togetherad.

SuperZhouyong avatar SuperZhouyong commented on May 29, 2024

我这边改好了。就是 csjprider 里面改一下。原项目 只支持 自渲染的 激励视频,和 csj 开放给我们的 模板渲染不是一样的。需要改成模板请求的接口取调用。 目前我这边是 改了就显示正确了。改动很小的,可以放心改

from togetherad.

SuperZhouyong avatar SuperZhouyong commented on May 29, 2024

还有,我更新了 项目中的 sdk 了。必须得更新成最新的。应该没有其他问题了 @sdfwds4

from togetherad.

ifmvo avatar ifmvo commented on May 29, 2024

我后面计划,给穿山甲写两个Provider。一个是CsjProvider、一个是CsjExpressProvider,初始化时可以任选其一

from togetherad.

sdfwds4 avatar sdfwds4 commented on May 29, 2024

我这边也改好了,谢谢你们!

from togetherad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.