Skip to content

Commit

Permalink
Start sending EID on canonical doubleclick fast fetch traffic again. (#…
Browse files Browse the repository at this point in the history
…16077)

* Fix invalid origin bug

* Feedback

* Fix new lint error
  • Loading branch information
bradfrizzell authored and calebcordry committed Jun 15, 2018
1 parent 1cbc4fd commit d2d0d3d
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,9 @@ export class AmpAdNetworkDoubleclickImpl extends AmpA4A {
* @visibleForTesting
*/
setPageLevelExperiments(urlExperimentId) {
if (!isCdnProxy(this.win)) {
this.experimentIds.push('21060933');
}
const experimentId = {
// Delay Request
'3': DOUBLECLICK_EXPERIMENT_FEATURE.DELAYED_REQUEST_CONTROL,
Expand Down Expand Up @@ -1031,8 +1034,8 @@ export class AmpAdNetworkDoubleclickImpl extends AmpA4A {
// primary counterpart, and if at least one of the returned dimensions
// differ from its primary counterpart.
if ((this.isFluidRequest_ && width && height) ||
(width != pWidth || height != pHeight) &&
(width <= pWidth && height <= pHeight)) {
((width != pWidth || height != pHeight) &&
(width <= pWidth && height <= pHeight))) {
this.attemptChangeSize(height, width).catch(() => {});
}
}
Expand Down

0 comments on commit d2d0d3d

Please sign in to comment.