
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@arc-core-components/feature_ads-arc-ad
Advanced tools
Core component that can be used within a Fusion repo to quickly get an ad.
This is a Core Component using ArcAds.
The ArcAds Core Component can be used in any PageBuilder Fusion implementation. It provides an interface for interacting with ArcAds and renders the ad. As long as you have a few pieces of information (DFP id, slot names and targeting values), you can get up and running very quickly.
Check out the Skeleton Repo to see a basic Fusion implementation of it. You may need to alter targeting values, depending on business requirements.
To get started locally and see an ad, you'll need three things:
Once you've cloned the repo:
Rename the mdx file so that it's parsable by
doczmv index.mdx.fixture index.mdx
Change the dfp id and possibly the slotname within the mdx file.
<ArcAd
id="div-1"
dfpId={/* ADD YOUR ID HERE */}
slotName="something"
dimensions={[[728,90], [800,250]]}
ampLayout={{
width: 300,
height: 250,
multiSize: "300x150,300x100,300x75,300x50"
}}
></ArcAd>
Make sure the above reflects the correct dfp ID.
npm run docz:devCan I use this in AMP?
Yes! Just pass in the isAmp prop to be true.
FAQs
Core component that can be used within a Fusion repo to quickly get an ad.
We found that @arc-core-components/feature_ads-arc-ad demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.