Hey Joecampbell,
Thanks for reaching out.
You can embed ads and groups within your posts/pages using the Advanced Ads Block.
Since Gutenberg changed the way widgets work in WordPress you can also embed the ads via “Sidebar Widget” placements. This brings the advantage of being able to assign new ads to all places where the placement is used from the placement overview page.
You can also give specific ad management rights to your users so they can handle ads but nothing else from the backend.
If you want to disable ads for specific posts or pages, this would also be possible from the edit screen.
Speaking of ACF I am only aware on how to use this to build custom “ads”. Please see this manual for reference.
Please let me know if you need anything else.
Best regards,
Henning
Hi Henning,
I appreciate the speedy response. I don’t think you understand my question, so please allow me to provide a use case:
A website has a sidebar ad position used to display partners via a weighted group:
Partner A (5 weight)
Partner B (10 weight)
Partner C (5 weight)
On a specific post, I would like to only display Partner C (every site visit). Why, because the content for that particular post is relevant to that partner.
How can I accomplish this?
My initial thought was via a Gutenberg metabox, but I do not see one for Advanced Ads. My next thought is to use an ACF select that allows me to select a partner, but I do not know how to implement this.
Any assistance would be most appreciated.
Regards,
Joe
Hi Joe,
Thanks for the clarification.
This would be possible using ordered ad groups and display conditions matching this particular page you want to show the ad C.
The simple version of this is looking like:
Partner A (10 weight)
Partner B (10 weight)
Partner C (11 weight + condition)
This results in a 50/50 chance to appear for partner ad A and B, except the condition from partner C is matching. Every time the group is called, partner ad C is checked first and if the condition is true, this ad will appear 100%.
Conditions you can use here are the one for “specific pages” or categories. Also, tags can be useful if there is more content you want to assign to an ad partner.
To have partner ad C also within your usual rotation, you’ll need a second copy of this ad:
Partner A (10 weight)
Partner B (10 weight)
Partner C (11 weight + condition)
Partner C (10 weight)
A little more complicated it gets if you want the partner ads to have different chances of appearance like in your example. Here you’ll need two groups, and ordered one to ensure partner ad C is always checked first, and a random group assigned with the weights you need.
Using the ad group ad type and nested groups, you can create a behavior like:
Ordered Group:
Partner C (11 weight + condition)
Random Group (10 weight)
> Partner A (5 weight)
> Partner B (10 weight)
> Partner C (5 weight)
Two related tips:
- The content placement comes with the possibility to create custom injection rules depending on words in your texts. So, every time partner C is mentioned in the text, you can show an item after this paragraph.
- The same logic comes into place if you want to create fallback ads.
Best regards,
Henning
Thank you Henning – greatly appreciate the detailed explanation 😀