API reports wrong status vs website

8 views
Skip to first unread message

mse...@covad.net

unread,
Oct 18, 2005, 9:55:53 PM10/18/05
to AdWords API Forum
There seems to be a problem/bug in the API.

I am looking at the keyword through the adwords website, and it's
status is displayed as Inactive.

The API (Keyword.getStatus()) returns KeywordStatus.Disabled for same
keyword.

Should return KeywordStatus.OnHold.


Please advise.

Patrick Chanezon

unread,
Oct 18, 2005, 10:37:14 PM10/18/05
to mse...@covad.net, AdWords API Forum
We're looking into it. There should not be any Disabled keywords in the system anymore.

In the meantime you can workaround the API returning Disabled using this algorithm:
if (status == "Disabled") {
     if (maxCpc  < minCpc) {
          status = "Onhold";
     } else {
          status = "Normal";
     }
}

P@
--
Patrick Chanezon, AdWords API evangelist
http://blog.chanezon.com/
http://www.google.com/apis/adwords/

Maxim Senin

unread,
Oct 18, 2005, 11:32:50 PM10/18/05
to Patrick Chanezon, AdWords API Forum
That's a good idea. Thanks.

Maxim Senin

unread,
Oct 19, 2005, 12:11:53 AM10/19/05
to Patrick Chanezon, AdWords API Forum
Something weird is happening that may be related.
 
Keyword is in Paused AdGroup, adwords website shows it as Inactive.
 
But SOAP API returns Keyword.getStatus() == KeywordStatus.InTrial, which is supposed to be no longer in use. Should be KeywordStatus.OnHold.
 
I used your workaround for now for InTrial too.
 
Maxim
----- Original Message -----
Sent: Tuesday, October 18, 2005 7:37 PM
Subject: Re: AdWords API API reports wrong status vs website

Patrick Chanezon

unread,
Oct 20, 2005, 11:30:45 PM10/20/05
to mse...@covad.net, AdWords API Forum
This problem, the API returning wrong statuses, has been fixed yesterday, 10/19.

P@
Reply all
Reply to author
Forward
0 new messages