Skip to content
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

Dynamic Adsense ID #188

Open
f3rran opened this issue Dec 19, 2023 · 1 comment
Open

Dynamic Adsense ID #188

f3rran opened this issue Dec 19, 2023 · 1 comment

Comments

@f3rran
Copy link

f3rran commented Dec 19, 2023

I'm developing a project that needs the possibility of add the AdSense ID from a remote server API endpoint.

Does this library allow this? I can't see the option.

@kylegl
Copy link
Contributor

kylegl commented Mar 19, 2024

Hey f3rran,

Yes i believe this is possible. you can override the client via the ad-client prop on the Adsbygoogle component. Or you can use the useAdsense composable and apply output to an <ins /> element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants