Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3656375
Ads.txt code
Closed

Comments

  •  6
    WA started the conversation

    where do I add Ads.txt code?

    I see the theme comes with Ads manager. Is it possible to use these settings for controlling where google ads go instead of using the AdSense by ad unit option to customize the ads locations.

    thank you 

  •  2,540
    PenciDesign replied

    Hi,

    Please install the Ads.txt Manager plugin and follow the document at this link: https://wordpress.org/plugins/ads-txt/

    Regards,
    PenciDesign.

  •  6
    WA replied

    I followed the instructions it didn't work. It showed blank.

    I used "File Manager Pro" plugin, there is an easy youtube tutorial and it shows how to add the file manually.

    I added and I can see the ads.txt file in the root folder. But when i check the URL its not showing ads.txt file. I checked the text entered correct. I checked the file name is correct. 

    Kindly advise. 

  •  2,540
    PenciDesign replied

    Hi,

    For this case, please send me your WordPress admin account in a PRIVATE reply.
    I'll log in and try to help you check this problem.

    Regards,
    PenciDesign.



  •   WA replied privately
  •  2,540
    PenciDesign replied

    Hi,

    Please also send me your site URL.

    Regards,
    PenciDesign.


  •   WA replied privately
  •  6
    WA replied

    I dont like the auto google ads, I would like to add different ads manually copying the code and placing it for all posts only. 

    Kindly advise how to add the code for only post pages to place ads in between the content of the posts. 

    Where to add the code. In the ads manager tab of the theme. 

  •  2,540
    PenciDesign replied

    Hi,

    If you need to manually insert the ad code, please go to Dashboard → Soledad → Ads Manager.

    Regards,
    PenciDesign.


  •   WA replied privately
  •  2,540
    PenciDesign replied

    Hi,

    Please put the content into the ads.txt file:

    # ads.txt file for Example.com
    # This file lists the authorized digital advertising sellers for Example.com # Authorized sellers
    google.com, pub-1234567890123456, DIRECT, f08c47fec0942fa0
    appnexus.com, 1234, DIRECT, a1b2c3d4e5f6
    rubiconproject.com, 5678, DIRECT, 0abcd1234efgh5678 # Reseller relationships
    indexexchange.com, 9876, RESELLER, 1234abcd5678efgh
    openx.com, 5432, RESELLER, abc123def456ghi789 # Additional authorized sellers
    sovrn.com, 1111, DIRECT, abcdef123456
    pubmatic.com, 2222, DIRECT, 123456abcdef
    adtech.com, 3333, RESELLER, abc123def456ghi789

    Explanation of the format:
    1. Domain Name (e.g., google.com): The domain of the advertising system.
    2. Publisher ID (e.g., pub-1234567890123456): The identifier associated with the account or publisher in the advertising system.
    3. Relationship Type (DIRECT or RESELLER): Indicates if the publisher is directly authorized (DIRECT) or through a reseller (RESELLER).
    4. Certification Authority ID (optional, e.g., f08c47fec0942fa0): An ID that identifies the advertising system in a globally unique manner.

    Feel free to modify the example with your specific information.

    Regards,
    PenciDesign.


  •  6
    WA replied

    I copied the ads.txt  content directly from google. copy and paste. 

    This is what is shown on google instructions:

    Copy and paste the following code into your ads.txt file and upload to your site's root directory. If you have an existing ads.txt file, paste the code there. Changes may take a few days to update. If you're not sure where to add your ads.txt file, go to your site's help page for specific instructions, or see the ads.txt guide for more details.

    with google.com and my ID and code.

    Google gives the exact code needed to be added to the Ads.txt file. Which I did. It could be its blocked by something.

  •  2,540
    PenciDesign replied

    Hi,

    Have you added this to the ads.txt file? I checked, but it is still blank: https://worldlyassets.com/ads.txt

    Regards,
    PenciDesign.


  •  6
    WA replied

    yes I added the code from google to the ads.txt file which I created and the content is there. But when  I check my website url.ads.txt it's blank. But if you open the file there is Content there. 

    I have been trying for the past 10 hours and learning from tutorials it should be a simple copy and paste. 

  •  2,540
    PenciDesign replied

    Hi,

    Please send me the code you received from Google, and I'll help you add it.

    Regards,
    PenciDesign.


  •   WA replied privately
  •  2,540
    PenciDesign replied

    Hi,

    Your ads.txt file now shows the correct content:

    eJAz6zG.png

    Please clear all the browser caches and check again.

    Regards,
    PenciDesign.


  •   WA replied privately
  •  2,540
    PenciDesign replied

    Hi,

    Here is the screenshot containing the custom code you added to the single post. It is already showing on the front-end, but the ads are not displaying, which means you have not added the correct ads code: https://imgur.com/a/tjoxzbj

    Please check and make sure you have added the correct ads banner code from Google.

    Regards,
    PenciDesign.


  •  6
    WA replied

    You are right, I had the wrong code, I was working on it for long hours. Thank you for correcting this. 

  •  6
    WA replied

    Please see attachment. I have inserted google ads code for display ads - Vertical banner.

     I have chosen right banner. clicked on Float Left Right Ads. But I don't see the ad displayed. The others for single and homepage is working fine only for the right banner is not working. 

    Kindly advise

    Attached files:  1.png

  •  2,540
    PenciDesign replied

    Hi,

    The problem is that Google has not yet delivered the ad banner to this unit. Please wait a few hours and then check again.

    Regards,
    PenciDesign.


  •  6
    WA replied

    Dear Support, 

    After waiting for two days, I see no changes to the right side banner. There is no display of vertical ads on the right side. As shown in the image attached in the previous post. Kindly advise. 

  •  2,540
    PenciDesign replied

    Hi,

    1. Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

    #side-ads-right,
    #side-ads-left {
        min-height: 800px;
    }

    2. The code you've added is already showing on the front end, which means the problem doesn't lie with Soledad. The code I sent will force this area to always display with a height of 800px.

    HUx43q5.png

    Regards,
    PenciDesign.