Hi Thomas,
Thanks for responding to this. Your plugin is hopefully going to be very useful!
I agree regarding the tutorial on using block code in ads. That is where I got my information from originally. I have followed the tutorial, but I have become stuck now that nothing is showing.
I won’t tinker around with it too much until we see what @leohsiang says regarding the questions you have put forward.
I have added the generate blocks code pasted into Advanced Ads, below, for reference.
<!-- wp:generateblocks/headline {"uniqueId":"0c0eaa73","alignment":"center","textColor":"#0f1c2b","showAdvancedTypography":true,"fontWeight":"700","fontSize":44,"lineHeight":60,"lineHeightUnit":"px","marginBottom":"15","opacities":[],"transitions":[],"boxShadows":[],"transforms":[],"textShadows":[],"filters":[]} -->
<h2 class="gb-headline gb-headline-0c0eaa73 gb-headline-text">Need an ad placeholder?</h2>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/headline {"uniqueId":"7f6a9b48","element":"p","alignment":"center","textColor":"#0f1c2b","showAdvancedTypography":true,"fontSize":16,"fontSizeMobile":24,"lineHeight":40,"lineHeightUnit":"px","marginBottom":"20","paddingRightTablet":"20","paddingLeftTablet":"20","paddingRightMobile":"20","paddingLeftMobile":"20","iconColor":"#8eb2a6","iconLocation":"above","iconPaddingRight":"","iconPaddingBottom":"0.5","iconSize":40,"iconSizeUnit":"px","htmlAttributes":[],"opacities":[],"transitions":[],"boxShadows":[],"transforms":[],"textShadows":[],"filters":[]} -->
<p class="gb-headline gb-headline-7f6a9b48 gb-headline-text">Ad placeholder text.</p>
<!-- /wp:generateblocks/headline -->
<!-- wp:generateblocks/button-container {"uniqueId":"bc6b524d","alignment":"center","marginTop":"30","marginBottom":"0","isDynamic":true} -->
<!-- wp:generateblocks/button {"uniqueId":"6e46798f","hasUrl":true,"hasIcon":true,"iconLocation":"right","backgroundColor":"#e63946","textColor":"#ffffff","backgroundColorHover":"#e63946","backgroundColorHoverOpacity":0.95,"textColorHover":"#ffffff","fontWeight":"bold","paddingTop":"15","paddingRight":"20","paddingBottom":"15","paddingLeft":"20","borderRadiusTopRight":"4","borderRadiusBottomRight":"4","borderRadiusBottomLeft":"4","borderRadiusTopLeft":"4","iconPaddingRight":"","iconPaddingLeft":"0","htmlAttributes":[],"opacities":[],"transitions":[{"state":"normal","target":"self","timingFunction":"ease","property":"all","duration":0.5,"delay":""}],"boxShadows":[{"state":"normal","target":"self","customSelector":"","inset":false,"color":"#000000","colorOpacity":0.1,"xOffset":0,"yOffset":4,"blur":10,"spread":""}],"transforms":[{"type":"translate","state":"hover","target":"self","translateY":-5}],"textShadows":[],"filters":[]} -->
<a class="gb-button gb-button-6e46798f" href="#"><span class="gb-button-text">View ad placeholder</span><span class="gb-icon"><svg aria-hidden="true" role="img" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></span></a>
<!-- /wp:generateblocks/button -->
<!-- /wp:generateblocks/button-container -->