Category Archives: Social Media

Facebook is Requiring the Business Manager for Custom Audiences

Facebook is Requiring Business Manager for Custom Audiences

If you are not using the Facebook Business Manager yet, you may be forced to make a change soon.  Facebook is requiring people to switch to the Business Manager to continue using the Customer Lists within Custom Audiences.

Don’t be afraid.  I know that many people don’t like Facebook Business Manager because it feels confusing and complex.  I’ll admit, I was not a Facebook Business Manager fan for a long time.

But Facebook Business Manager is actually not a bad thing.  In this article, you’ll learn why Facebook is making this change, who is affected, and what you need to do to get started.

Why is Facebook Requiring People to Use Business Manager?

Facebook is making a lot of changes due to the security issues, privacy concerns that came out of Cambridge Analytica, and they are doing whatever it takes to regain the public trust.

Facebook hasn’t made any specific announcement about this change.  But I found out from Logan Young of Blitzmetrics that Facebook is doing this to tighten privacy rules and just centralize everything in Business Manager.

The ONLY part of the Custom Audiences that are currently affected by this change are the Customer File Audiences.  These are the emails or phone number you may have uploaded into the Audiences section.

As of October 15th, 2018, you won’t be able to create new audiences with Customer Files and as of October 31st you won’t be able to create new Ad Sets using those Custom Audiences.

Connect your Facebook Account to Business Manager

 

Do you have to use Facebook Business Manager?

Many people are using their current Facebook Page and their Facebook Ad Account the way they have always used it which is connected to their personal Facebook profile.

That will still continue to work as long as you don’t need to upload your customer file into the Business Manager or create new Ad Sets with an uploaded customer file audience.

But I imagine that Facebook will continue to push users towards the Business Manager in the future to help them manage privacy and security.

What is Facebook Business Manager?

The Facebook Business Manager is just another way to access Pages and Advertising Accounts.  Facebook released the Business Manager in 2014 and it’s main purpose is to make Pages and Ad Accounts easier and more secure to work on for teams of people.

Think of it as an “umbrella” that the Page and the Ad Account lives under.  You will know you are in the Business Manager if you have your “Business Name” showing at the top rather than your personal profile name.

You can easily give different people on your team different levels of access to each Facebook Page or Ads Account in your management portfolio.

Once you move the Ads account and the Page into the Business Manger, they actually work EXACTLY the same.  Think of the Business Manager as the access portal.

One of the rumors about Facebook Business Manager is that once you add your Facebook Page and Ads Account there you can never get them out.  And that actually is only true for Ad Accounts that you “Claim” as your own.

Definitely watch whether you Claim Ownership or just Request Access to the Ad Account when you add it.  Only “Add an Ad Account” that you truly own.  If you need to just work on a client’s Ad Account and you are in your own Business Manager, you should Request Access rather than claim it.

Claim Ownership of a Facebook Ad Account

 

See my tutorial on the Facebook Business Manager for more help understanding how it works.

 

How do you move your accounts into Facebook Business Manager?

There are many ways to move accounts into the Facebook Business Manager and that also makes things a little confusing.  One of the easiest ways is to follow the steps outlined when you see the message in the Audiences section that I showed in the first image.

When you click Connect, you will see a pop-up box that may include any Business Manager Accounts you are currently connected with.

If it’s appropriate to add that Ad Account into an existing Business Manager then do that.  But most often you will probably be creating a new Business Manager.

Move your Facebook Ad Account to Business Manager

 

The other way to create a Business Manager is to just go to https://business.facebook.com/ and get started from there.

Either way, you will be moved into the Creation phase when you click the Create Account button.

Create Business Manager

 

My friend Liz Jostes at Eli Rose also has a tutorial on moving your accounts into the Facebook Business Manager.

In order to use Facebook Business Manager after you get the initial naming setup done, you need to complete these 3 steps (if you haven’t done them already in the setup process):

  1. Add Pages and Ads Accounts – Only Claim Pages or accounts that you own (you can also create a brand new Ads account if you don’t use one already)
  2. Add People – Invite the people with an email address and they will get an email notification to join
  3. Assign People to the Assets that they are allowed to work on – Once the people have joined, you can then assign the assets that they can access

This can all be done from the Business Settings Page (either the blue button in the upper right corner or navigate to the menu item from the upper left corner).

Adding Assets to users in Business Manager

 

I know it might feel scary to start using the Business Manager and I do agree that it is more complex initially but it’s really not that bad once you get it set up.

The Ads Account behaves exactly the same and you can access all the same things with the Pages that you are used to, it’s just an extra step to get in there.

And if this means the Facebook is going to be a little more secure than I think it’s worth it.

The post Facebook is Requiring the Business Manager for Custom Audiences appeared first on Andrea Vahl.

Marketers can now use LinkedIn category data for targeting through Bing search

Advertisers can leverage the data across text ads, shopping and most Bing search products available in the U.S. The post Marketers can now use LinkedIn category data for targeting through Bing search appeared first on Marketing Land.

Please visit Marketing Land for the full article.

6 of the best social listening tools for 2019

In your personal life, reading people’s minds is a questionable superpower; but the business benefits of being able to listen in on people’s thoughts are infinite. And while social media monitoring isn’t exactly about reading people’s minds, it’s as close to it as it gets. Social listening gives...

Please visit Marketing Land for the full article.

Splicing HTML’s DNA With CSS Attribute Selectors

Splicing HTML’s DNA With CSS Attribute Selectors

Splicing HTML’s DNA With CSS Attribute Selectors

John Rhea

For most of my career, attribute selectors have been more magic than science. I’d stare, gobsmacked, at the CSS for outputting a link in a print style sheet, understanding nothing. I’d dutifully copy, and paste it into my print stylesheet then run off to put out whatever project was the largest burning trash heap.

But you don’t have to stare slack-jawed at CSS attribute selectors anymore. By the end of this article, you’ll use them to run diagnostics on your site, fix otherwise unsolvable problems, and generate technologic experiences so advanced they feel like magic. You may think I’m promising too much and you’re right, but once you understand the power of attribute selectors, you might feel like exaggerating yourself.

On the most basic level, you put an HTML attribute in square brackets and call it an attribute selector like so:

[href] {
   color: chartreuse;
}

The text of any element that has an href and doesn’t have a more specific selector will now magically turn chartreuse. Attribute selector specificity is the same as classes.

Note: For more on the cage match that is CSS specificity, you can read “CSS Specificity: Things You Should Know” or if you like Star Wars: “CSS Specificity Wars”.

But you can do far more with attribute selectors. Just like your DNA, they have built-in logic to help you choose all kinds of attribute combinations and values. Instead of only exact matching the way a tag, class, or id selector would, they can match any attribute and even string values within attributes.

Attribute Selection

Attribute selectors can live on their own or be more specific, i.e. if you need to select all div tags that had a title attribute.

div[title]

But you could also select the children of divs that have a title by doing the following:

div [title]

To be clear, no space between them means the attribute is on the same element (just like an element and class without a space), and a space between them means a descendant selector, i.e. selecting the element’s children who have the attribute.

You can get far more granular in how you select attributes including the values of attributes.

div[title="dna"]

The above selects all divs with an exact title of “dna”. A title of “dna is awesome” or “dnamutation” wouldn’t be selected, though there are selector algorithms that handle each of those cases (and more). We’ll get to those soon.

Note: Quotation marks are not required in attribute selectors in most cases, but I will use them because I believe it increases clarity and ensures edge cases work appropriately.

If you wanted to select “dna” out of a space separated list like “my beautiful dna” or “mutating dna is fun!” you can add a tilde or “squiggly,” as I like to call it, in front of the equal sign.

div[title~="dna"]

You can select titles such as “dontblamemeblamemydna” or “his-stupidity-is-from-upbringing-not-dna” then you can use the dollar sign $ to match the end of a title.

[title$="dna"]

To match the front of an attribute value such as titles of “dnamutants” or “dna-splicing-for-all” use a caret.

[title^="dna"]

While having an exact match is helpful it might be too tight of a selection, and the caret front match might be too wide for your needs. For instance, you might not want to select a title of “genealogy”, but still select both “gene” and “gene-data”. The exclamation point or “bang,” as I like to call it, is just that, it does an exact match, but includes when the exact match is followed by a dash.

[title!="gene"]

To be clear, though this construction often means “not equal” in many programming languages, in CSS attribute selectors it is an exact match plus an exact match at the beginning of the value followed by a dash.

Lastly, there’s a full search attribute operator that will match any substring.

[title*="dna"]

But use it wisely as the above will match “I-like-my-dna-like-my-meat-rare” as well as “edna”, “kidnapping”, and “echidnas” (something Edna really shouldn’t do.)

What makes these attribute selectors even more powerful is that they’re stackable — allowing you to select elements with multiple matching factors.

But you need to find the a tag that has a title and has a class ending in “genes”? Here’s how:

a[title][class$="genes"]

Not only can you select the attributes of an HTML element you can also print their mutated genes using pseudo-“science” (meaning pseudo-elements and the content declaration).

<span class="joke" title="Gene Editing!">What’s the first thing a biotech journalist does after finishing the first draft of an article?</span>
.joke:hover:after {
   content: "Answer:" attr(title);
   display: block;
}

The code above will show the answer to one of the worst jokes ever written on hover (yes, I wrote it myself, and, yes, calling it a “joke” is being generous).

The last thing to know is that you can add a flag to make the attribute searches case insensitive. You add an i before the closing square bracket.

[title*="DNA" i]

And thus it would match “dna”, “DNA”, “dnA”, and any other variation.

The only downside to this is that the i only works in Firefox, Chrome, Safari, Opera and a smattering of mobile browsers.

Now that we’ve seen how to select with attribute selectors, let’s look at some use cases. I’ve divided them into two categories: General Uses and Diagnostics.

General Uses

Style By Input Type

You can style input types differently, e.g. email vs. phone.

input[type="email"] {
   color: papayawhip;
}
input[type="tel"] {
   color: thistle;
}

Display Telephone Links

You can hide a phone number at certain sizes and display a phone link instead to make calling easier on a phone.

span.phone {
   display: none;
}
a[href^="tel"] {
   display: block;
}

Internal vs. External Links, Secure vs. Insecure

You can treat internal and external links differently and style secure links differently from insecure links.

a[href^="http"]{
   color: bisque;
}
a:not([href^="http"]) {
  color: darksalmon;
}
 
a[href^="http://"]:after {
   content: url(unlock-icon.svg);
}
a[href^="https://"]:after {
   content: url(lock-icon.svg);
}

Download Icons

One attribute HTML5 gave us was “download” which tells the browser to, you guessed it, download that file rather than trying to open it. This is useful for PDFs and DOCs you want people to access but don’t want them to open right now. It also makes the workflow for downloading lots of files in a row easier. The downside to the download attribute is that there’s no default visual that distinguishes it from a more traditional link. Often this is what you want, but when it’s not, you can do something like the below.

a[download]:after { 
   content: url(download-arrow.svg);
}

You could also communicate file types with different icons like PDF vs. DOCX vs. ODF, and so on.

a[href$="pdf"]:after {
   content: url(pdf-icon.svg);
}
a[href$="docx"]:after {
   content: url(docx-icon.svg);
}
a[href$="odf"]:after {
   content: url(open-office-icon.svg);
}

You could also make sure that those icons were only on downloadable links by stacking the attribute selector.

a[download][href$="pdf"]:after {
   content: url(pdf-icon.svg);
}

Override Or Reapply Obsolete/Deprecated Code

We’ve all come across old sites that have outdated code, but sometimes updating the code isn’t worth the time it’d take to do it on six thousand pages. You might need to override or even reapply a style implemented as an attribute before HTML5.

<div bgcolor="#000000" color="#FFFFFF">Old, holey genes</div>
 
div[bgcolor="#000000"] { /*override*/
   background-color: #222222 !important;
}
div[color="#FFFFFF"] { /*reapply*/
   color: #FFFFFF;
}

Override Specific Inline Styles

Sometimes you’ll come across inline styles that are gumming up the works, but they’re coming from code outside your control. It should be said if you can change them that would be ideal, but if you can’t, here’s a workaround.

Note: This works best if you know the exact property and value you want to override, and if you want it overridden wherever it appears.

For this example, the element’s margin is set in pixels, but it needs to be expanded and set in ems so that the element can re-adjust properly if the user changes the default font size.

<div style="color: #222222; margin: 8px; background-color: #EFEFEF;"Teenage Mutant Ninja Myrtle</div>
 
div[style*="margin: 8px"] {
   margin: 1em !important;
}

Note: This approach should be used with extreme caution as if you ever need to override this style you’ll fall into an !important war and kittens will die.

Showing File Types

The list of acceptable files for a file input is invisible by default. Typically, we’d use a pseudo element for exposing them and, though you can’t do pseudo elements on most input tags (or at all in Firefox or Edge), you can use them on file inputs.

<input type="file" accept="pdf,doc,docx">
 
[accept] {
   content: "Acceptable file types: " attr(accept);
}

HTML Accordion Menu

The not-well-publicized details and summary tag duo are a way to do expandable/accordion menus with just HTML. Details wrap both the summary tag and the content you want to display when the accordion is open. Clicking on the summary expands the detail tag and adds an open attribute. The open attribute makes it easy to style an open details tag differently from a closed details tag.

<details>
  <summary>List of Genes</summary>
    Roddenberry
    Hackman
    Wilder
    Kelly
    Luen Yang
    Simmons
</details>
details[open] {
   background-color: hotpink;
}

Printing Links

Showing URLs in print styles led me down this road to understanding attribute selectors. You should know how to construct it yourself now. You simply select all a tags with an href, add a pseudo-element, and print them using attr() and content.

a[href]:after {
   content: " (" attr(href) ") ";
}

Custom Tooltips

Creating custom tooltips is fun and easy with attribute selectors (okay, fun if you’re a nerd like me, but easy either way).

Note: This code should get you in the general vicinity, but may need some tweaks to the spacing, padding, and color scheme depending on your site’s environment and whether you have better taste than me or not.

[title] {
  position: relative;
  display: block;
}
[title]:hover:after {
  content: attr(title);
  color: hotpink;
  background-color: slateblue;
  display: block;
  padding: .225em .35em;
  position: absolute;
  right: -5px;
  bottom: -5px;
}

AccessKeys

One of the great things about the web is that it provides many different options for accessing information. One rarely used attribute is the ability to set an accesskey so that that item can be accessed directly through a key combination and the letter set by accesskey (the exact key combination depends on the browser). But there’s no easy way to know what keys have been set on a website.

The following code will show those keys on :focus. I don’t use on hover because most of the time people who need the accesskey are those who have trouble using a mouse. You can add that as a second option, but be sure it isn’t the only option.

a[accesskey]:focus:after {
   content: " AccessKey: " attr(accesskey);
}

Diagnostics

These options are for helping you identify issues either during the build process or locally while trying to fix issues. Putting these on your production site will make errors stick out to your users.

Audio Without Controls

I don’t use the audio tag too often, but when I do use it, I often forget to include the controls attribute. The result: nothing is shown. If you’re working in Firefox, this code can help you suss out if you’ve got an audio element hiding or if syntax or some other issue is preventing it from appearing (it only works in Firefox).

audio:not([controls]) {
  width: 100px;
  height: 20px;
  background-color: chartreuse;
  display: block;
}

No Alt Text

Images without alt text are a logistics and accessibility nightmare. They’re hard to find by just looking at the page, but if you add this they’ll pop right out.

Note: I use outline instead of border because borders could add to the element’s width and mess up the layout. outline does not add width.

img:not([alt]) { /* no alt attribute */ 
  outline: 2em solid chartreuse; 
}
img[alt=""] { /* alt attribute is blank */ 
  outline: 2em solid cadetblue; 
}

Asynchronous Javascript Files

Web pages can be a conglomerate of content management systems and plugins and frameworks and code that Ted (sitting three cubicles over) wrote on vacation because the site was down and he fears your boss. Figuring out what JavaScript loads asynchronously and what doesn’t can help you focus on where to enhance page performance.

script[src]:not([async]) {
  display: block;
  width: 100%;
  height: 1em;
  background-color: red;
}
script:after {
  content: attr(src);
}

Javascript Event Elements

You can also highlight elements that have a JavaScript event attribute to refactor them into your JavaScript file. I’ve focused on the OnMouseOver attribute here, but it works for any of the JavaScript event attributes.

[OnMouseOver] {
   color: burlywood;
}
[OnMouseOver]:after {
   content: "JS: " attr(OnMouseOver);
}

Hidden Items

If you need to see where your hidden elements or hidden inputs live you can show them with:

[hidden], [type="hidden"] {
  display: block;
}

But with all these amazing capabilities you think there must be a catch. Surely attribute selectors must only work while flagged in Chrome or in the nightly builds of Fiery Foxes on the Edge of a Safari. This is just too good to be true. And, unfortunately, there is a catch.

If you want to work with attribute selectors in that most beloved of browsers — that is, IE6 — you won’t be able to. (It’s okay; let the tears fall. No judgments.) Pretty much everywhere else you’re good to go. Attribute selectors are part of the CSS 2.1 spec and thus have been in browsers for the better part of a decade.

And so these selectors should no longer be magical to you but revealed as a sufficiently advanced technology. They are more science than magic, and now that you know their deepest secrets, it’s up to you. Go forth and work mystifying wonders of science upon the web.

Smashing Editorial (dm, ra, yk, il)