amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Adsense google_ad_channel supporting

Open FabienU opened this issue 10 years ago • 24 comments

It is possible to add supporting of google_ad_channel property by amp-ad with type adsense?

FabienU avatar Aug 11 '16 12:08 FabienU

Passing to @jasti , who focuses on Ads in AMP

ericlindley-g avatar Aug 16 '16 15:08 ericlindley-g

Sorry about the delay. @bobcassels would you know?

jasti avatar Sep 03 '16 15:09 jasti

Hello, could you please left any feedback regarding possibility implementation of this feature?

FabienU avatar Sep 07 '16 13:09 FabienU

@konakk Do you have supporting google_ad_channel property on your roadmap? Thanks.

jasti avatar Sep 26 '16 17:09 jasti

Channels can be set up using adsense UI without changing anything in the tag. Support help center has a video showing how to do it. https://support.google.com/adsense/answer/65083?hl=en-GB

On Mon, Sep 26, 2016 at 6:24 PM, Vamsee Jasti [email protected] wrote:

@konakk https://github.com/konakk Do you have an update on supporting google_ad_channel property is on the roadmap? Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ampproject/amphtml/issues/4464#issuecomment-249636968, or mute the thread https://github.com/notifications/unsubscribe-auth/AVaAjETutoIzk8csF9Ua3GlEORGT5DzIks5qt_-6gaJpZM4JiF94 .

konakk avatar Sep 30 '16 09:09 konakk

I think you wrongly understand me, I'll try to clarify my question. For now I have already created google_ad_channel's in adsense, and show ads like below (I passing additionally google_ad_channel for tracking performance by this parameter):

$('#' + {{adContainer}}).html(
         '<ins class="adsbygoogle" style="display:block" data-ad-client="{{adClient}}" data-ad-slot="{{adSlot}}" data-ad-format="auto"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({params: { google_ad_channel: "{{chId}}" }});<\/script>'
         );

And I looking for possibility of passing google_ad_channel with amp-ad tag with type adsense like below:

<amp-ad
            type="adsense"
            data-ad-client=""
            data-ad-slot=""
            data-ad-customchannel="">
</amp-ad>

FabienU avatar Oct 03 '16 13:10 FabienU

Could you check my previous question?

FabienU avatar Oct 24 '16 13:10 FabienU

Could you check my previous question?

/cc @konakk

jridgewell avatar Oct 24 '16 17:10 jridgewell

Supporting channel is not on the roadmap yet.

On Mon, Oct 24, 2016 at 2:05 PM, FabienU [email protected] wrote:

Could you check my previous question?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ampproject/amphtml/issues/4464#issuecomment-255734521, or mute the thread https://github.com/notifications/unsubscribe-auth/AVaAjCvwTx0Slwjr4Cz2I74v7psC3UAYks5q3K0ngaJpZM4JiF94 .

konakk avatar Oct 25 '16 18:10 konakk

We will support it, as "data-ad-channel". I will add it to one of the branches I'm working on. So "real soon now."

bobcassels avatar Oct 27 '16 13:10 bobcassels

@bobcassels: We got another request for this in #7286. Was this implemented?

jridgewell avatar Feb 01 '17 19:02 jridgewell

Ping @michaelkleber as well, since I know Bob has moved to do other things.

jasti avatar Feb 01 '17 23:02 jasti

@glevitzky Can you handle this? No problem adding data-ad-channel parallel to e.g. data-ad-client.

michaelkleber avatar Feb 02 '17 03:02 michaelkleber

I'll gladly take a look. Can I get a little more context first? What exactly will it entail to "support" data-ad-channel? Is this just a data attribute that needs to be whitelisted for AdSense, or what?

glevitzky avatar Feb 02 '17 19:02 glevitzky

Whitelist it, and propagate its value through to the adsbygoogle ins in adsense.js, and into the &channel= ad request parameter in the a4a request flow.

michaelkleber avatar Feb 02 '17 20:02 michaelkleber

@glevitzky is this something still on your radar? CC @keithwrightbos

jasti avatar Aug 14 '17 17:08 jasti

Thanks for the reminder, Vamsee. I have a PR for this; I just need to clean it up a little and should have it out before our next cut.

glevitzky avatar Aug 14 '17 17:08 glevitzky

Can this option be available soon ?

TamerMobarak avatar Aug 14 '17 18:08 TamerMobarak

PR is ready to merge, pending on one reviewer's comment.

glevitzky avatar Aug 14 '17 21:08 glevitzky

How can I know when it is RELEASED ?! any link to follow ??

TamerMobarak avatar Aug 16 '17 14:08 TamerMobarak