To attach channels to the new asynchronous code, does it work the same as mentioned above ?
Like
.....
<script type='text/javascript'>
googletag.cmd.push(function() {
googletag.defineSlot('/1073361/336x280_cat-pages_ATF', [336, 280], 'div-gpt-ad-1321463691918-1').addService(googletag.pubads());
GA_googleAddAdSenseSlotAttr("336x280_cat-pages_ATF", "google_ad_channel", 1273635613");
.....


Results 61 to 70 of 101
- 11-30-11, 00:25 #61pixarGuest
- 11-30-11, 00:38 #62pixarGuest
Think I found it, now you have to use
googletag.pubads().set("adsense_channel_ids", "1273635613");
instead of
GA_googleAddAdSenseSlotAttr("336x280_cat-pages_ATF", "google_ad_channel", 1273635613");
- 11-30-11, 18:04 #63
- Gender
- Age
- 42
- Country
- Germany
- Join Date
- 10-27-10
- Posts
- 836
you find full instructions here on how to attach AdSense channels to the new asynchronous dfp code:
((login for URL))
- 11-30-11, 23:35 #64pixarGuest
Thx StarBug,
however, if I implement the directions on that page, no ads show up anymore.
(it works well without the edit )
I have 3 ads on my page, and I changed a part of the header code from
Code:Please ((login for URL)) to see this code!
Code:Please ((login for URL)) to see this code!
- 12-01-11, 07:52 #65
- Gender
- Age
- 42
- Country
- Germany
- Join Date
- 10-27-10
- Posts
- 836
The code you posted is correct in regards to the AdSense Channels and the use of slot set
If you don't see ads make sure you use the same DIV ID in your header and body code.
The DIV IDs are randomly generated each time you click on generate tags.
- 12-01-11, 11:40 #66pixarGuest
I tried it again, with the same result.
When I implement the new code, all adsense ads on the page dissapear.
The DIV ID is correct.
DFP works well without attaching the channels.
Strange..
- 12-01-11, 12:29 #67pixarGuest
When you setup a new channel, you have the option to copy the Adsense Targeting.
(You can copy the selected channels targeting settings )
However, once a placement is made, that option is not available anymore.
In the dfp help texts, they say that this is possible, ( ((login for URL)) ) but I don't see that option anymore once a placement is created.
Anyone has an idea how to copy the a certain Adsense 'channel targeting setting' to an existing placement ?
Thx!
- 12-01-11, 19:18 #68
- Gender
- Age
- 42
- Country
- Germany
- Join Date
- 10-27-10
- Posts
- 836
link to your page?
- 12-02-11, 00:33 #69pixarGuest
((login for URL))
The ads are on the category pages, and the image pages.
- 12-02-11, 08:40 #70
- Gender
- Age
- 42
- Country
- Germany
- Join Date
- 10-27-10
- Posts
- 836
without a test page where you have implemented the code that breaks the ad I can't really help you.
Check your code again, it works perfect for me with:
Code:Please ((login for URL)) to see this code!
Anyone has an idea how to copy the a certain Adsense 'channel targeting setting' to an existing placement ?
Delete the placement and create a new one to assign a different AdSense Channel to the placement. I could not figure out another way to do it. If you have an existing placement without assigned AdSense targeting yet, then you can do it like the description in the help