/admanager/community?hl=en
This content is likely not relevant anymore. Try searching or browse recent questions.
How do I Update pageCorrelator for roadblocks in infinite scroll without losing all ads on the page?
0
We are replacing the `updateCorrelator()` function with `destroySlots()` as recommended.  However that is removing ALL the ads from the page, when instead I just want to add new ad slots in the infinite scroll section with an updated correlator value, so that roadblocks will work.
Details
Pinned
Locked
Latest Update Latest Updates (0)
Relevant Answer Relevant Answers (0)
All Replies (6)
Relevant Answer
Hello,

This method no longer works.


Thanks,
K
marked this as an answer
Relevant Answer
If by "this method", you are referring to "updateCorrelator", yes I know.  That article (and other sources) say to use `destroySlots()`, which I am. 

From a google customer service rep:

When the destroyslot() function is implemented the pvsid value (client side token) is destroyed for that instance of the request and on refreshing the slot a request with a different pvsid value is generated. This is considered a new request.

I have an infinite scroll page, with the following use case:
  1. the page loads, with a direct sold sponsorship ad campaign, with a roadblock
  2. the user scrolls to the bottom of the page
  3. an Infinite Scroll behavior loads more content and more ads
  4. the new ad slots serve the direct sold sponsorship/roadblocked campaign
Previously we were using `updateCorrelator` before step 3 (which is now marked as deprecated - but I think it's actually no longer working).

To replace that, I am aware that we should be using `destroySlots()` instead, however the issue is that `destroySlots()` deletes all the ads that are currently on the page.

What we would like to see is the above behavior but not delete any ads that are currently on the page.

How can I get a new `pvsid` value, without deleting all other ads on the page, so that I may serve the roadblock into new ad slots in the infinite scroll section of my page?
marked this as an answer
Relevant Answer
I would like to know too if there is an alternative to `destroySlots()`, now that `updateCorrelator()` has been deprecated.

Seems crazy that Google would remove this function, unless they want to rid the internet of infinite scroll articles...
marked this as an answer
Relevant Answer
Any updates on this matter?
marked this as an answer
Relevant Answer
We hit our heads against the same wall, we need an update correlator equivalent for the pvsid. Still no progress on this Google front, but we requested a feature request. No promises from Google, per usual.
marked this as an answer
Digital Marketing Specialist | Accenture
Relevant Answer
Hi, 

I am not aware of the code implementation on the sites, however, I suppose the code to remove a particular slot is to call it within the googletag.destroySlots() function, e.g.:

googletag.destroySlots([slot1, slot2]);

Using the function without calling any slot would remove all slots, e.g.:

googletag.destroySlots();

I have used this document as my reference (link). If you are facing the issue even after calling a particular slot, can you try reaching out to the Google API forum instead (link)? They may be of more help here. 

Regards,
Shaibal
marked this as an answer
This question is locked and replying has been disabled.
Discard post? You will lose what you have written so far.
Write a reply
10 characters required
Failed to attach file, click here to try again.
Discard post?
You will lose what you have written so far.
Personal information found

We found the following personal information in your message:

This information will be visible to anyone who visits or subscribes to notifications for this post. Are you sure you want to continue?

A problem occurred. Please try again.
Create Reply
Edit Reply
This will remove the reply from the Answers section.
Notifications are off
Your notifications are currently off and you won't receive subscription updates. To turn them on, go to Notifications preferences on your Profile page.
Report abuse
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
Report post
What type of post are you reporting?
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
This reply is no longer available.
/admanager/threads
//accounts.google.com/ServiceLogin
You'll receive email notifications for new posts at
Unable to delete question.
Unable to update vote.
Unable to update subscription.
You have been unsubscribed
Deleted
Unable to delete reply.
Removed from Answers
Removed from Updates
Marked as Recommended Answer
Marked as Update
Removed recommendation
Undo
Unable to update reply.
Unable to update vote.
Thank you. Your response was recorded.
Unable to undo vote.
Thank you. This reply will now display in the answers section.
Link copied
Locked
Unlocked
Unable to lock
Unable to unlock
Pinned
Unpinned
Unable to pin
Unable to unpin
Marked
Unmarked
Unable to mark
Reported as off topic
Known Issue
Fixed
Marked Fixed
Unmarked Fixed
Unable to mark fixed
Unable to unmark fixed
/profile/0
false
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
148
false