How to display multiple creatives within one Ad Unit from one Line item with Google DFP - google-dfp

I'm struggling with Google DFP. I can't figure out, how to show multiple creatives from one Ad unit. For example, I have sidebar_1 Ad unit, and I want to target here sidebar_1 house line item, and in this line item are five image creatives. I want to display all these five creatives and have this Ad unit responsive with his height to height of this creatives. See picture:
I would like to do it with Single asynchronous request and Safeframe containers.
Thank you for any suggestions!

I spent a lot of time to get answer to this question, and result is that it's not possible.
I came up with other solution, it's here as second solution Google DFP - Resize SafeFrame custom creative outer Iframe container from inside (expand ad). I will add there as many images as i want and iframe will expand/shrink to fit.

Related

How to improve CLS Score in Mobile View above the fold content in Magento2 website?

I am trying to improve my Magento website speed. In Mobile view, I am getting below issue in Google Pagespeed.
Avoid large layout shifts 5 elements found in mobile view. 4 elements from an iframe. And another one is normal text. I am wondering why it's showing for normal text. I have added font-display: swap. If I checked with the image also showing the CLS issue. This content is above the fold section in the mobile view.
How to resolve this?
For CLS fix : you should identify on whats the element responsible, make sure that there is a dummy image or an element of that size.
Bread crumbs on times are known as one of the elements of layout shift.
Images too can be the reason.
Share site URL to check further.

Tips of making a list in email

I am designing an email template. I have a running list of brand names hyperlinked to their websites. I would like it to be displayed inline for full-width, and stacked for narrow screens. I had separators in the past like a bullet or a vertical rule such as this: "|". But in mobile it's awkward considering only one name appears per line.
The next thing I tried was to enclose each list item in a border, but Outlook10/13 aren't handling the padding and margin as you know. I want a simple solution that I can show to novices when they populate the template. Any ideas? I'm adding screenshots of what I tried with the borders. But any other idea is welcome.
Thanks!!!
Full Width:
Mobile:
I have tried a lot of ways myself and one thing i found out was having logos in place of links often work better. I know images have to be downloaded but once they are downloaded it looks good. If you do go with images, you can style the alt tags to look like above when its not loaded.

Is there any way to merge all galleries on a page?

Is there any way to merge all galleries on a page? That is, if I have more than one section with data-featherlight-gallery, is there any way that the previous/next actions, when looking at the large version of an image, can cycle through all the images referenced in the page, rather than just the ones in that gallery?
I’m using this on a blog, and I break up the images into groups, but I want the reader to be able to cycle through the entire set of images.
Thanks!
Do the binding manually, or else have a very high level data-featherlight-gallery (on the body if need be)...

Android UI home screen design

I am up to create a section on my Android Home screen similar to this one,
but cannot really figuring out where to start. I mean is this a ListView I should go with? or are these simple images that are placed as different objects surrounded by straight lines? In either case, how to put these things together, is a question that I am wondering..
You can either use:
a GridLayout (for API < 14, there is a support library available somewhere on GitHub)
a vertical LinearLayout containing two horizontal LinearLayouts
a single RelativeLayout
For the buttons, use TextView or Button with a top drawable.
Please note that the dashboard pattern is now discouraged (link 1, link 2) (you should present useful information to the user on first screen such as there latest trips, friend's news, ...).
Instead of that, you could put your buttons in a sliding menu (jfeinstein has a nice implementation on github which can be integrated within an hour)

Printing Crystal Report detail section to second page collated

I have a Crystal XI Release 2 report that my client wants to see on two pages. He wants the report to print the demographic information such as (name, address, etc...) for a person on the first page and the totals for the person need to print on the second page. The first page will include as many rows as will fit and the second page will have the same amount of rows which correspond one for one to the first page. Then the third page will contain a new page of people starting where the first ended.
He basically is looking for printing similar to how Excel prints (and please don't tell me to Export to Excel and print from there).
I came up with two ideas for doing this, but only got anywhere with one. The first was to run two reports (one for the demographic info and the other for the totals) which would be collated together somehow. I didn't get very far with this, but I didn't spend a ton of time researching this so I still think this could be an option.
The second way was to extend the report design to the width of two landscape pages, add my fields, and then change my page size back to a single landscape size before I get ready to print. This way sorta works, but can cause some weird issues. One is that if you try to edit/add a field on the second page when the report size is set to a single page landscape the fields are moved to the far right of the first page which makes sense because I would think that is supposed to be the editable region of the designer so I'd assume you're not supposed to have fields outside of this region.
All in all, the second way works, but I know there has to be a better way to do this. I wanted to see if anyone has had a similar request or have some other ideas on a better way to do this. Thanks
I can't think of an easy way to do this in Crystal.
You could get all hacky on the datasource and duplicate every 20(or however many fit on one page) rows. Then you would set up 2 details sections, one section for demographics and the other for totals. Then conditionally suppress them depending on remainder(pagenumber, 2).
Or you could use a subreport that accepts paging parameters and only returns 20 rows per page. But I'm not even sure if you can link a subreport parameter to the pagenumber special field.
How does your second way work? The extra fields just get printed on the next page somehow? However, the problem is that the fields stay outside the designer when you go back to one page and if you need to edit they all move back inside the designer? Couldn't you increase the page width before editing? That's not too bad if it somehow prints it out correctly every time.
I guess I will mark this as the answer since I still haven't been able to figure out a better way around it. If anyone finds a better way then post a response and if it works I think can toggle the answer.
What I do to get around this is to set my printer to the "Microsoft Office Document Image Writer" and then change the width to the widest it will allow which is 36". Then I put the demographic information from the beginning of the section to around 11" and put the totals stating just to the right of where the first section ended and go for another page width.
Then I make whatever changes that I need to make and set the printer back to the printer I want to use for the correct size. After you do this you will find that the editable area only extends to the first page, but you can see the second page of fields to the right. If you try to edit a field on the second page the field will move to the far right of the editable region which is at the far right of the first page so make sure you reset your printer before making edits.
I think I also had to play around with the width of the detail section on the layout tab of the section expert to get the report to print correctly. I set it to the combined size of the 2 pages for mine to look correct.
I think that this is probably a super rare issue, but if you are having a similar issue, that is how I get around it.