Friday, August 2, 2013

Digest for adsense-api@googlegroups.com - 4 Messages in 2 Topics

Group: http://groups.google.com/group/adsense-api/topics

    sean@apc.io Jul 31 10:24PM -0700  

    Hi
     
    We have an Adsense account and have a Google API key.
     
    We want to use the "JSON/Atom Custom Search API" with our server and
    include Ads. The Developer's Guide has the following section:
     
    https://developers.google.com/custom-search/docs/money
     
    But I don't understand how to use this on the server-side. Could somebody
    explain how to integrate the two?
     
    Thanks!
     
    Sean

     

    "Jose Alcérreca (AdSense API Team)" <adsenseapiadvisor+jose@google.com> Aug 01 04:24AM -0700  

    Hi Sean,
     
    You can ask that in the Google Custom Search API Forum:
     
    http://productforums.google.com/forum/#!forum/customsearch
     
    Cheers,
    Jose
     
    ---
    Jose Alcérreca
    Developer Relations
     
    Google UK Limited
    Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
    9TQ
    Registered in England Number: 3977902
     
     
     

     

    이준호 <jhlee@adop.kr> Jul 31 10:51PM -0700  

    Hello.
     
    I've got an ad script in Google Adsense service page.
     
    this is below:
     
    1.
     
    <script type="text/javascript"><!--
     
    google_ad_client = "ca-pub-1234567890";
     
    /* 120x600_Region/House */
     
    google_ad_slot = "xxxxxxxxxxx";
     
    google_ad_width = 120;
     
    google_ad_height = 600;
     
    //-->
     
    </script>
     
    <script type="text/javascript"
     
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
     
    </script>
     
     
     
    And the following ad script is what I've got using adsense host api:
     
    2.
     
    <script type="text/javascript"><!--
     
    google_ad_client = "ca-pub-0987654321";
     
    google_ad_host = "ca-host-pub-1357924680";
     
    /* Web 200x300 */
     
    google_ad_slot = "yyyyyyyyyy";
     
    google_ad_width = 250;
     
    google_ad_height = 250;
     
    //-->
     
    </script>
     
    <script type="text/javascript"
     
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
     
    </script>
     
     
    There is a difference between scripts(first script has no 'google_ad_host
    = ca-host-pub-1357924680', but second script has), so I'd like to add 'google_ad_host
    = ca-host-pub-1357924680' to the second script.
     
     
    At this moment, I have a question. If I add the line, does the second
    script work properly? I wonder if google's 'earning distribution process'
    will work normally in this case.
     
     
    Thank you.

     

    "Jose Alcérreca (AdSense API Team)" <adsenseapiadvisor+jose@google.com> Aug 01 04:21AM -0700  

    Hi,
     
    I guess you want to add that parameter to the first script, not the second.
     
    Always use the getAdCode method to retrieve generated ad code (you must
    cache or store it somewhere, not call getAdCode for every impression). You
    shouldn't modify the script manually as their structure can change without
    notice.
     
    Cheers,
    Jose
     
    ---
    Jose Alcérreca
    Developer Relations
     
    Google UK Limited
    Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
    9TQ
    Registered in England Number: 3977902
     
    On Thursday, 1 August 2013 06:51:12 UTC+1, 이준호 wrote:

     

--
You received this message because you are subscribed to the Google Groups "AdSense API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adsense-api+unsubscribe@googlegroups.com.
To post to this group, send email to adsense-api@googlegroups.com.
Visit this group at http://groups.google.com/group/adsense-api.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment