Skip to main content

Questions tagged [google-publisher-tag]

Google Publisher Tag (GPT) is an ad tagging library with which you can dynamically build ad requests. Not to be confused with the ChatGPT, the Artificial Intelligence for text creation.

google-publisher-tag
1 vote
1 answer
40 views

RuntimeError: CUDA error: device-side assert_triggered

I am recurrence andrew kaparthy`nano GPT,and now i am sure the code is identical to its code,which shows there is not any syntax error,but i encounter an error like this: and the code: import torch ...
open I's user avatar
  • 13
0 votes
0 answers
50 views

Python PIP install online repository [duplicate]

So my problem is that VS code doesn't recognise PIP install: the following is my github repo im trying to access https://github.com/dsdanielpark/Gemini-API.git and this is my code: import csv from ...
Kashi Golembiewski's user avatar
0 votes
1 answer
45 views

How to Use the "keyword" Targeting Key in Google Ad Manager Tag (Google Publisher Tag)?

I'm implementing Google Ad Manager Tag (Google Publisher Tag) on my website and I want to utilize the targeting feature to display ads based on specific keywords related to the content of my pages. I'...
Tsvetkov Kirill's user avatar
0 votes
1 answer
36 views

How to hide ad container if ad doesn't fill?

I have the following ad html: <div class="ad-container"> <p>Ad slot #1</p> <div id="ad-slot-1" class="ad-slot"></div> </div> and ...
Vic's user avatar
  • 8,751
-1 votes
1 answer
417 views

Google PubSub Emulator cannot list Project Subscriptions

I am using the Google PubSub emulator (locally with Docker) and trying to list the available subscriptions on my project. I am not using any authentication (it's just local development), using Docker ...
acostache's user avatar
  • 2,215
1 vote
0 answers
223 views

I need advice for developing flutter based Android-app with using langchain

i recently plan to make an android application which is written by Flutter. In this app, i will add chatting function based on llm which will be connected with langchain. In this case, how to insert ...
zumerica's user avatar
1 vote
1 answer
111 views

Event listener callbacks still being duplicated when using useEffect

I'm in a muddle about React, useEffect, and adding callback functions to event listeners. These listeners being registered to Google Publisher Tag events, and I'm trying to get to the outcome where I ...
user avatar
0 votes
1 answer
3k views

How to fix this Google Ad Manager error: gpt.js was requested from both the standard and limited ads domains within the same page

A partner of us is using our Google tags from Google Ad Manager (GAM) and suddently it stopped working. The error I have in the ?google_console is: Warning: Attempted to load GPT from both standard ...
Seb's user avatar
  • 1
0 votes
1 answer
1k views

How to avoid "googletag.defineSlot was called without a matching googletag.display call" warning?

We're using GPT in Single Page Application (Nuxt3 App). onMounted(() => { const googletag = window.googletag || { cmd: [] }; googletag.cmd.push(() => { googletag .defineSlot('/...
Atabak's user avatar
  • 1
0 votes
2 answers
65 views

Need to make collapsable ads for my website

import { useMediaQuery } from "@mui/material"; import { useTheme } from "@mui/material/styles"; import { StyleRoot } from "radium"; import React from "react"; ...
Indraganti Akshay's user avatar
2 votes
3 answers
573 views

What is this error all zero-area slot sizes were removed?

Recently, I start getting this error from my google admanager ad unit. The error is for multisize mapping only for singlesize has no error. [GPT] Invalid arguments: SizeMappingBuilder.addSize([356, 0]...
Hitesh's user avatar
  • 132
0 votes
0 answers
487 views

How to start Google PubSub and task in asyncio python?

I have several tasks (async def), one of them has an eternal loop, the second has another loop that processes requests. But when trying to create a new task where Google PubSub will receive all ...
Azazel's user avatar
  • 47
0 votes
1 answer
759 views

Google GPT returns empty ads under which conditions

I have Google Ads integration in my NextJS app, but every now and then when I try to define a slot and load ad in it I get event.isEmpty = true for "slotRenderedEvent". I see GPT ...
Nishant Desai's user avatar
0 votes
1 answer
385 views

How to load an older version of gpt.js file

To load latest version of gpt.js we need to add https://securepubads.g.doubleclick.net/tag/js/gpt.js How can i load older version of gpt.js in my html file? Thanks in advance.
mulla.azzi's user avatar
  • 2,666
0 votes
1 answer
332 views

Ad id from Google publisher tag

Is there anyway to find the id of an ad that has served from GPT? The ad response contains creativeId, campaignId, etc. but I couldn't find anything related to the ad id I tried reading the docs and ...
Yoda-San's user avatar

15 30 50 per page
1
2 3 4 5
7