Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: BM Maven 1.01
-
Fix Version/s: BM Maven 1.01
-
Component/s: Bid Management Tool
-
Labels:None
-
Environment:
staging-xml1
Description
Testing with 'Campaign #5: CPM content with keywords'. This campaign is a CPM campaign. I have changed the bid from .26 to .27 in Admax, and ran: ./sebidmgr.sh -d4 --accountid 17 --seuser 8 --bid --search --content 2> /tmp/Oct24_jelliott3
In the log, I get 2 errors:
You can see the error, BiddingError.BID_TOO_HIGH_FOR_DAILY_BUDGET. I have the budget for this campaign set to $1.00, and have tried this with many CPM campaigns, all getting the same error.
I have also checked the xlm file, and there you can see '<AdGroupBids.Type>ManualCPCAdGroupBids</AdGroupBids.Type><keywordMaxCpc>' when is should be ManualCPM, see the db query below.
-----------------------------------------------
2011-10-24 09:00:59.469 (2) [P2T3]: Exception [Exception setting bids for group identifier:1021326401]:com.thesearchagency.searchengines.SearchEngineCommandException: java.lang.ClassCastException: com.google.api.adwords.v201101.cm.ManualCPCAdGroupBids
at com.thesearchagency.searchengines.google.GoogleAdWordsAPI.setGroupBid(GoogleAdWordsAPI.java:1454)
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.setGroupBids(GoogleAPISearchEngine.java:1986)
at com.thesearchagency.searchengines.SearchEngineBidManager$SearchEngineAccountWorker.run(SearchEngineBidManager.java:1017)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: com.google.api.adwords.v201101.cm.ManualCPCAdGroupBids
at com.thesearchagency.searchengines.google.GoogleAdWordsAPI.setGroupBid(GoogleAdWordsAPI.java:1402)
... 8 more
AND
2011-10-24 09:01:00.170 (2) [P2T1]: Exception [Exception setting bids for group identifier:1543456361]:com.thesearchagency.searchengines.SearchEngineCommandException: [BiddingError.BID_TOO_HIGH_FOR_DAILY_BUDGET @ operations[0].operand.bids.keywordMaxCpc.amount.microAmount; trigger:'250000']
at com.thesearchagency.searchengines.google.GoogleAdWordsAPI.setGroupBid(GoogleAdWordsAPI.java:1454)
at com.thesearchagency.searchengines.google.GoogleAPISearchEngine.setGroupBids(GoogleAPISearchEngine.java:1986)
at com.thesearchagency.searchengines.SearchEngineBidManager$SearchEngineAccountWorker.run(SearchEngineBidManager.java:1017)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: [BiddingError.BID_TOO_HIGH_FOR_DAILY_BUDGET @ operations[0].operand.bids.keywordMaxCpc.amount.microAmount; trigger:'250000']
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
mysql> select * from tsacommon.searchEngineAccounts where description='Campaign #5: CPM content with keywords';
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
id | accountID | distributionID | searchEngineUserID | description | shortCode | paused | searchEngineIdentifier | searchEngineScope | inContent | enabled | useConversionData | searchEngineStatus | searchEngineStatusText | budgetType | budgetAmount | lastChecked | networkType | contentType | biddingStrategy | hidden |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
20487 | 17 | 3 | 8 | Campaign #5: CPM content with keywords | NULL | false | 31372391 | true | true | false | ok | SERVING | dailyDivide | 0.05 | 2011-08-10 11:06:13 | CONTENT_CONTEXTUAL,CONTENT_NETWORK | CONTENT_CONTEXTUAL,CONTENT_NETWORK | ManualCPM | false |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 row in set (0.01 sec)
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header><ns1:RequestHeader soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201101"><ns1:authToken xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201101">******</ns1:authToken><ns1:clientCustomerId>4191136789</ns1:clientCustomerId><ns1:developerToken>ojCnjZaM6RD1h0yt_DOJZg</ns1:developerToken><ns1:userAgent>AdWords API Java Client Library - v8.3.1 - The Search Agency</ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:partialFailure>false</ns1:partialFailure></ns1:RequestHeader></soapenv:Header><soapenv:Body><mutate xmlns="https://adwords.google.com/api/adwords/cm/v201101"><operations><operator>SET</operator><operand><id>1543456361</id><campaignId>46292231</campaignId><bids xsi:type="ns2:ManualCPCAdGroupBids" xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201101"><AdGroupBids.Type>ManualCPCAdGroupBids</AdGroupBids.Type><keywordMaxCpc><amount><ComparableValue.Type>Money</ComparableValue.Type><microAmount>250000</microAmount></amount></keywordMaxCpc><keywordContentMaxCpc><amount><microAmount>10000</microAmount></amount></keywordContentMaxCpc><enhancedCpcEnabled>false</enhancedCpcEnabled></bids></operand></operations></mutate></soapenv:Body></soapenv:Envelope>
[24 Oct 2011 09:01:00,111 - DEBUG]
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201101"><requestId>0004b00d876ce6180a4255690000450c</requestId><operations>1</operations><responseTime>70</responseTime><units>5</units></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[BiddingError.BID_TOO_HIGH_FOR_DAILY_BUDGET @ operations[0].operand.bids.keywordMaxCpc.amount.microAmount; trigger:'250000']</faultstring><detail><ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201101"><message>[BiddingError.BID_TOO_HIGH_FOR_DAILY_BUDGET @ operations[0].operand.bids.keywordMaxCpc.amount.microAmount; trigger:'250000']</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors xsi:type="BiddingError" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><fieldPath>operations[0].operand.bids.keywordMaxCpc.amount.microAmount</fieldPath><trigger>250000</trigger><errorString>BiddingError.BID_TOO_HIGH_FOR_DAILY_BUDGET</errorString><ApiError.Type>BiddingError</ApiError.Type><reason>BID_TOO_HIGH_FOR_DAILY_BUDGET</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>