Ui elements

895 views
Skip to first unread message

fio...@kidoz.net

unread,
Nov 5, 2017, 4:19:23 AM11/5/17
to Interactive Media Ads SDK
Hello IMA team.

We wrote a task on 24 oct. about ui element "https://groups.google.com/forum/#!topic/ima-sdk/D_mQWp8yHt0", so now we see that those elements are disappeared.

And so the question arises: how can we know whether there are elements or not?

Chris Feldman (IMA SDK Team)

unread,
Nov 6, 2017, 11:08:29 AM11/6/17
to Interactive Media Ads SDK
Hello,

Are you referring to the AD_ATTRIBUTION and COUNTDOWN uiElements? These are the only pieces of the UI that we allow developers to control. You can specify what to show with the uiElements property of your adsRenderingSettings object.

For example, to show the AD_ATTRIBUTION and the COUNTDOWN, you'd use the following line of code:

adsRenderingSettings.uiElements = [google.ima.UiElements.AD_ATTRIBUTION, google.ima.UiElements.COUNTDOWN];

To show the countdown, you must also show the AD_ATTRIBUTION, while the AD_ATTRIBUTION can be shown on it's own. And if you want to ensure that neither the COUNTDOWN or the AD_ATTRIBUTION is shown, you can pass an empty array to your adsRenderingSettings.uiElements.

Please let me know if you have any further questions. Do note that some AdSense and AdX ads will ignore what you've set for this property and traffic their own uiElements regardless.

Regards,
Chris Feldman
IMA SDK Team 

Fiodor Gherasimenco

unread,
Nov 7, 2017, 2:52:15 AM11/7/17
to ima...@googlegroups.com

Hello,

The problem is not about to set “adsRenderingSettings”, we specify “AdDisplayContainer” with “opt_clickTrackingElement” and on regular vast “Learn More” and “Countdown” elements was disabled.

We added are own elements, but on 24 oct. we saw double elements  “Learn More” and “Countdown”, we removed our elements related with previous task. But now they again dissipated, this what we see on Regular vast with video file.

The question is how can we now it will be displayed or not on regular vast.




--
You received this message because you are subscribed to the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ima-sdk+u...@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at https://groups.google.com/group/ima-sdk.
For more options, visit https://groups.google.com/d/optout.

Chris Feldman (IMA SDK Team)

unread,
Nov 7, 2017, 2:52:45 PM11/7/17
to Interactive Media Ads SDK
Hello,

Here is what our documentation says about the opt_clickTrackingElement:

Specifies the alternative video ad click element. Leave this null to let the SDK handle clicks. Even if supplied, the SDK will only use the custom click tracking element when non-AdSense/AdX creatives are displayed in environments that do not support UI elements overlaying a video player (e.g. iPhone or pre-4.0 Android). The custom click tracking element should never be rendered over the video player because it can intercept clicks to UI elements that the SDK renders. Also note that the SDK will not modify the visibility of the custom click tracking element. This means that if a custom click tracking element is supplied, it must be properly displayed when the linear ad is played. You can check ima.AdsManager.isCustomClickTrackingUsed when the google.ima.AdEvent.Type.STARTED event is fired to determine whether or not to display your custom click tracking element. If appropriate for your UI, you should hide the click tracking element when the google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED event fires.

Based on your posts, it sounds like you're rendering your opt_clickTrackingElement on top of the SDK, which we advise against. Please try relocating your opt_clickTrackingElement. It's likely that doing so will give you more consistent results. I would also suggest taking a look at our ad serving guidelines. It's important to keep these in mind while using the IMA SDK.

If you continue to have issues, can you please share some more specifics about your implementation? Code snippets or a test page would be appreciated. Another option would be to edit one of our samples to see if you can reproduce the errant behavior. 

Regards,
Chris Feldman
IMA SDK Team

To unsubscribe from this group and stop receiving emails from it, send an email to ima-sdk+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages