+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 22 of 22

 

Thread: Adwords API released

  1. #16
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Posts
    2,448
    Thanks
    0
    Thanked 0 Times in 0 Posts


    Whoops, yeah I had attached the wrong one *blush*. I had also fixed the dates. Lets try again...
    Attached Files Attached Files

  2. #17
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Cambridge
    Posts
    384
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That's a big improvement - the pooling of the requests has halved the time taken to request the main page for me. Thanks for the help Rich.

    Just a minor thing for anyone else who has a try, you'll want to change line 10 from:

    require_once('file:///C|/work/cinoan/ebay/nusoap.php');

    to

    require_once('nusoap.php');

    (still getting silly 'Request unknown' errors on my nokia though for the subpages - think I might need a new phone or something... )

  3. #18
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Posts
    2,448
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hmm, not my day today - and don't even ask why I started working in a folder called ebay, I haven't got a clue either!

  4. #19
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Cambridge
    Posts
    384
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Lol... not sure why we're doing this (I've got an essay to write...) but I've added a compact / full view so I can scroll down all campaigns on my small phone screen quickly (without all the CTR/CPC rubbish cluttering it up).

    The way you've added all requests for the campaigns into a single quick array means that a daily spend breakdown for, say, the last 7 days would be easy to make, and wouldn't require many calls either. Next button to add

    added: The best thing would be the start screen showing the last 7 days, broken down daily (today at the top). Click on a day, it takes you to compact view of campaigns (or full view) for that day, then click on campaign --> full stats. Perfect
    Attached Files Attached Files
    Last edited by chrisk999; 29-01-05 at 06:00 PM.

  5. #20
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Cambridge
    Posts
    384
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rich,

    Have you ever had the problem of the script temporarily producing the following error:

    Active Campaigns: 2005-03-19 (at 10:03:00)

    Warning: Invalid argument supplied for foreach() in /home/public_html/adwords/index-html.php on line 48

    Warning: Invalid argument supplied for foreach() in /home/public_html/adwords/index-html.php on line 57
    TOTAL: £0.00

    Bit odd, as this happens when the api still appears to be operational, but it fixes itself several hours later - v odd?

  6. #21
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Posts
    2,448
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I haven't been using the script myself but it looks like the getAllAdWordsCampaigns and getCampaignStats aren't returning any data for some reason. If you add the following before the two foreach lines you might get a better indication of the issue.
    PHP Code:
    if ($campaignclient->fault) { 
        echo 
    "<p>FAULT:  {$client->fault}</p>"
        echo 
    "<p>Code: {$client->faultcode}</p>"
        echo 
    "<p>String: {$client->faultstring}</p>";
        echo 
    "<p>Detail: {$client->faultdetail}</p>";


  7. #22
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Cambridge
    Posts
    384
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Cheers Rich!

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2