score:0

componentDidMount() {
  googletag.cmd.push(() => {
    googletag.defineSlot(
      this.props.elem.path,
      this.props.elem.size,
      this.props.elem.id,
      ).addService(googletag.pubads());
    googletag.pubads().enableSingleRequest();
    googletag.enableServices();
  }
}

render() {
  <div id={elem.id} />
}

Related Query

More Query from same tag