Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 10

google_ad_client supported in _config.yml?

Dear all, 

 

Does anyone know if the variable google_ad_client is supported in _config.yml?

 

Your replies are much appreciated. 

 

Yours

9 Replies
Community Manager
Message 2 of 10

Re: google_ad_client supported in _config.yml?

Hi @orschiro,

 

Thank you for being here! I'm pretty sure Pages supports ad sense, thought to make that work you have to create a separate file then import it to your .yml.  Here is a blog post with more specifics.

 

 

I hope this helps!

 

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 3
Message 3 of 10

Re: google_ad_client supported in _config.yml?

Dear @AndreaGriffiths11,

 

Thanks for sharing the blog post, appreciate it.

 

Could you spend a brief amount looking at my setup?

 

Here is what I did.

 

1. Added `google_ad_client` to _config.yml

2. Added _includes/header.html

3. Added _includes/body.html

 

However, ads do not appear on orzanna.de

 

Any advice is much appreciated.

 

Happy Christmas!

 

Yours

Community Manager
Message 4 of 10

Re: google_ad_client supported in _config.yml?

Hi @orschiro,

 

Thank you for including your implementation. It can take a couple of days for Google to approve it, once you've added the code to your site, you should receive another email from Google with the approval.

 

I hope this helps!

Best,

Andrea

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 3
Message 5 of 10

Re: google_ad_client supported in _config.yml?

@AndreaGriffiths11 I am going to check it in a few days. 

 

Appreciated.

 

Merry Christmas!

Copilot Lvl 3
Message 6 of 10

Re: google_ad_client supported in _config.yml?

@AndreaGriffiths11 interestingly ads show up on mobile but they don't on desktop. Do you have any ideas why that could be?


Happy New Year!

Community Manager
Message 7 of 10

Re: google_ad_client supported in _config.yml?

Hey @orschiro, that's very interesting hmmmm, if you are still not seeing it could you try the

Ad preview diagnostic tool?

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 3
Message 8 of 10

Re: google_ad_client supported in _config.yml?

Thanks @AndreaGriffiths11.

 

I tried [the preview](https://adwords.google.com/anon/AdPreview?lang=de&loc=1004363&device=30001&st=orzanna.de) but I am not able to access my actual page to test whether or not ads are being displayed. 

 

Do you?

Community Manager
Message 9 of 10

Re: google_ad_client supported in _config.yml?

Hey @orschiro,

 

Sorry about the delay! I've been out for some training. I'm able to see the page w/o any issues on my end, is it showing up for you?

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 3
Message 10 of 10

Re: google_ad_client supported in _config.yml?

@AndreaGriffiths11 I hope you enjoyed a good training. 

 

My issue has been resolved meanwhile.-

 

Thank you. :-)