-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(google-adsense): add Auto Ads support and improve script injection #366
Conversation
- Added `autoAds` option to enable or disable Auto Ads dynamically. - Modified `scriptInput.src` to append ?`client=ca-pub-XXXXXX` dynamically.
@nexoscreator is attempting to deploy a commit to the Nuxt Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for the work on this PR, as I don't use Google Adsense myself your feedback is really helpful. All looks good although I'm a bit confused on "Auto Ads". Is this something from Google Ad vocabulary or is this something you've created? It seems like we can possibly just always init the |
Thank you for reviewing my PR! Regarding your question about "Auto Ads", it is an official term used by Google AdSense. Auto Ads automatically place ads on a page based on Google's algorithm. Here is the official documentation for reference: Google AdSense Auto Ads. As for initializing the |
β¦ behavior - [View Review](#366 (review))
β¦D and site verification methods
π Linked issue
No
β Type of change
π Description
Code Changes
autoAds
option to enable or disable Auto Ads dynamically.scriptInput.src
to append?client=ca-pub-XXXXXX
dynamically.autoAds
is enabled to support automatic ad placement.Documentation Updates
autoAds
configuration.nuxt.config.ts
to illustrate usage.data-ad-format
anddata-ad-layout
for in-article and in-feed ads.ads.txt
file.π· Screenshots (if applicable)
N/A
β Checklist