Questions tagged [google-dfp]
Google's DoubleClick for Publishers API
google-dfp
559
questions
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]...
0
votes
1
answer
207
views
One of the following macros is required in code snippet: %%VIEW_URL_UNESC%%, %%VIEW_URL_ESC%%
I want to add One of the following macros %%VIEW_URL_UNESC%%, %%VIEW_URL_ESC%%. to the below tag:
`<script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script&...
0
votes
1
answer
134
views
Prebid - exisiting gpt tag conflicts with Prebid js script
We have an existing gpt tag(Not Prebid) placed on our site for ad. Recently we integrated prebid.js in our website. Our prebid code works well but existing gpt tag does not return anything. My ...
2
votes
2
answers
519
views
infinite scroll - can not serve multiple ads on same page using same ad unit
We just have one gpt ad tag from our advertising partner.
On the same page, we want to deliver multiple ads using the same ad unit.
We used our ad tag to implement this official Google document: https:...
0
votes
1
answer
21
views
Can I avoid or restrict to push the Native fills for certain ads which is served from DFP_DS or Admob they not relevant to our app in iOS
I need to know can I able to avoid or restrict to push the Native fills for certain ads which are served from DFP_DS or Admob if they are not relevant to our app on iOS.
For say, I am getting the ...
0
votes
1
answer
825
views
Ad Manager (DFP) popup banner
I want to create a pop-up banner that serves Google Ad Manager ads.
It needs to be floating and to have X (CLOSE) in the top right corner. Popup needs to show up only if there is an active ad in ...
1
vote
0
answers
101
views
Can a SafeFrame render inside another SafeFrame?
I am trying to understand if I can load a safeFrame inside another safeFrame. For example with Google Ad Manager (GAM) the gpt tag now serve ads within their own safeFrame, however if I am creating ...
0
votes
1
answer
198
views
How to show a advert depending on screen size
I have a page with a banner advert that will shrink/grow depending on screen size or if it's desktop or mobile.
The banner will be displayed with in one div.
The adverts are in three different advert ...
0
votes
1
answer
801
views
How to catch error in googletag.cmd.push(function() { googletag.display('div-id'); });?
I am trying to catch the error on
googletag.cmd.push(function() { googletag.display('div-id'); });
While I know the root of the problem is because the slot is not defined in the head, how can I ...
0
votes
1
answer
178
views
Copying creatives while preserving line item associations in DFP/GAM
I have thousands of line items in GAM that have 3 associated creatives. However, we are adding more ads on the page, so now we need more creatives. What I'd like to do is simply duplicate the ...
5
votes
0
answers
670
views
Google-Mobile-Ads-SDK fails with initialization error while used in both main app and framework
I've an iOS app which has a framework in it. Framework is being used in main app. Both main app and framework need to use Google-Mobile-Ads-SDK for loading ads.
Here is podfile:
platform :ios, '10.0'
...
0
votes
1
answer
783
views
Why am I getting "Invalid GPT fixed size specification"
I'm getting:
Invalid GPT fixed size specification: [[[1024,0],[970,90]],[[768,0],[728,90]],[[330,0],[320,50]]]
My size mapping code looks like this:
window.googletag
.sizeMapping()
.addSize([...
2
votes
1
answer
2k
views
google-dfp enable lazy loading only on certain ads
I am using google-dfp's lazyLoading. When this is enabled, all Ads are lazy loaded. Is there a way to enable it only for specific ads and not for all?
googletag.pubads().enableLazyLoad({
// Fetch ...
0
votes
0
answers
146
views
Can I get the link of IMA ad?
Can I get the redirecting link of an IMA ad after it is loaded?
Is there any possible chance for that. Like this one:
<script>
addirectlink = event.getAdsManager(videoTag).href;
document....
2
votes
1
answer
588
views
How to mute or reduce the volume of IMA ads?
For some days I've been working on google's IMA (or DFP).
Now I need to know how to mute them even when it is loaded. I searched for that. Can't find a proper solution.
Note:
I didn't use any video ...