2 messages in com.googlegroups.adwords-apiRe: getCriteria returns different cri...
FromSent OnAttachments
dr7d710 Sep 2007 10:27 
dr7d710 Sep 2007 11:00 
Subject:Re: getCriteria returns different criteria than requested
From:dr7d7 (ghol@gmail.com)
Date:09/10/2007 11:00:02 AM
List:com.googlegroups.adwords-api

Hi,

I just wanted to update the status of this issue.

Basically the problem is that there are two identical (same text and match type) keywords in the ad group. One of these (the wrong one by ID) is being returned by the above call.

The problem has been mostly likely traced back to a different bug which allowed the same keyword to be added to an ad group. I'm still investigating whether the keyword(s) were added using the API or not.

I'm in contact with an AdWords rep, and he said he's going to file a bug on this.

Thanks!

Below is a SOAP in/out transaction.

The transaction is me requesting to get criterion 100229404 (getCriteria call). You will notice that the response returns me a completely different criteria (343410114). (I have XXXX'd out the credentials and token btw)

Is this a known bug?

Thanks, Galen

======================================================= ======================================================= = Elapsed: 750 milliseconds = In message: <?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:email

soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns1="https://adwords.google.com/api/adwords/v10">X.@XXX.com</ ns1:email><ns2:password

soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns2="https://adwords.google.com/api/adwords/v10">XXXXXX</ ns2:password><ns3:developerToken

soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns3="https://adwords.google.com/api/adwords/v10">XXXXXXXXXXXXXX</ ns3:developerToken><ns4:applicationToken

soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns4="https://adwords.google.com/api/adwords/ v10">XXXXXXXXXXXXXXXX</ns4:applicationToken><ns5:useragent

soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns5="https://adwords.google.com/api/adwords/v10">google java lib 0.10 asdfasdffgdfgf</ns5:useragent></ soapenv:Header><soapenv:Body><getCriteria xmlns="https://adwords.google.com/api/adwords/ v10"><adGroupId>362977824</adGroupId><criterionIds>100229404</ criterionIds></getCriteria></soapenv:Body></soapenv:Envelope> = Out message: <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> <responseTime soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/adwords/v10">507</responseTime> <operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/ next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/adwords/v10">1</operations> <units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/adwords/v10">1</units> <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/ next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/adwords/v10">XXXXXXXXXXXXXXXX</ requestId> </soapenv:Header> <soapenv:Body> <getCriteriaResponse xmlns="https://adwords.google.com/api/adwords/ v10"> <getCriteriaReturn xsi:type="ns1:Keyword" xmlns:ns1="https://adwords.google.com/api/adwords/v10"> <ns1:adGroupId>362977824</ns1:adGroupId> <ns1:criterionType>Keyword</ns1:criterionType> <ns1:id>343410114</ns1:id> <ns1:language></ns1:language> <ns1:negative>false</ns1:negative> <ns1:paused>false</ns1:paused> <ns1:status>Active</ns1:status> <ns1:maxCpc>2540000</ns1:maxCpc> <ns1:minCpc>100000</ns1:minCpc> <ns1:text>keyword text</ns1:text> <ns1:type>Broad</ns1:type> </getCriteriaReturn> </getCriteriaResponse> </soapenv:Body> </soapenv:Envelope> ======================================================= =======================================================