Hello, I'm just getting started and am making requests to the sandbox. On 
the rate sheet, it says that TargetingIdeaService costs .1 x Targeting Idea 
rounded up to the nearest integer + 5 units per request. However, the unit 
key in the SOAP response seems to indicate 1 unit per Targeting Idea. I'm 
pasting the SOAP below. For this, there are 3 targeting ideas, so I would 
expect the unit cost to be .1x3 + 5 rounded up to the nearest integer, 
which would be 6. However, it says the unit cost is 3. Can someone help me 
out with this?

<?xml version="1.0" encoding="UTF-8"?><env:Envelope 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:wsdl="https://adwords.google.com/api/adwords/o/v201109"; 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";><env:Header><wsdl:RequestHeader
 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";><userAgent>AwApi-Ruby-0.4.3|Ruby
 
Sample</userAgent><developerToken>token</developerToken><authToken>token</authToken></wsdl:RequestHeader></env:Header><env:Body><get
 
xmlns="https://adwords.google.com/api/adwords/o/v201109";><selector><searchParameters
 
xsi:type="RelatedToKeywordSearchParameter"><wsdl:keywords 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";><text>japan 
travel</text><matchType>BROAD</matchType></wsdl:keywords></searchParameters><ideaType>KEYWORD</ideaType><requestType>IDEAS</requestType><requestedAttributeTypes>CRITERION</requestedAttributeTypes><requestedAttributeTypes>AVERAGE_TARGETED_MONTHLY_SEARCHES</requestedAttributeTypes><requestedAttributeTypes>COMPETITION</requestedAttributeTypes><wsdl:paging
 
xmlns="https://adwords.google.com/api/adwords/cm/v201109";><startIndex>0</startIndex><numberResults>3</numberResults></wsdl:paging></selector></get></env:Body></env:Envelope>
HTTPI executes HTTP POST using the httpclient adapter
SOAP response (status 200):
<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201109"; 
xmlns="https://adwords.google.com/api/adwords/o/v201109";><ns2:requestId>0004b3729385cdd00ada72cc00005207</ns2:requestId><ns2:serviceName>AccountService</ns2:serviceName><ns2:methodName>get</ns2:methodName><ns2:operations>3</ns2:operations><ns2:responseTime>164</ns2:responseTime><ns2:units>3</ns2:units></ResponseHeader></soap:Header><soap:Body><getResponse
 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201109"; 
xmlns="https://adwords.google.com/api/adwords/o/v201109";><rval><totalNumEntries>3</totalNumEntries><entries><data><key>CRITERION</key><value
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="CriterionAttribute"><Attribute.Type>CriterionAttribute</Attribute.Type><value
 
xsi:type="ns2:Keyword"><ns2:Criterion.Type>Keyword</ns2:Criterion.Type><ns2:text>japan
 
travel 
56d46d87</ns2:text><ns2:matchType>EXACT</ns2:matchType></value></value></data><data><key>AVERAGE_TARGETED_MONTHLY_SEARCHES</key><value
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="LongAttribute"><Attribute.Type>LongAttribute</Attribute.Type><value>368000</value></value></data><data><key>COMPETITION</key><value
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="DoubleAttribute"><Attribute.Type>DoubleAttribute</Attribute.Type></value></data></entries><entries><data><key>CRITERION</key><value
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="CriterionAttribute"><Attribute.Type>CriterionAttribute</Attribute.Type><value
 
xsi:type="ns2:Keyword"><ns2:Criterion.Type>Keyword</ns2:Criterion.Type><ns2:text>japan
 
travel 
55786054</ns2:text><ns2:matchType>BROAD</ns2:matchType></value></value></data><data><key>AVERAGE_TARGETED_MONTHLY_SEARCHES</key><value
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="LongAttribute"><Attribute.Type>LongAttribute</Attribute.Type><value>450000</value></value></data><data><key>COMPETITION</key><value
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="DoubleAttribute"><Attribute.Type>DoubleAttribute</Attribute.Type></value></data></entries><entries><data><key>CRITERION</key><value
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="CriterionAttribute"><Attribute.Type>CriterionAttribute</Attribute.Type><value
 
xsi:type="ns2:Keyword"><ns2:Criterion.Type>Keyword</ns2:Criterion.Type><ns2:text>red
 
herring 
62b8df55</ns2:text><ns2:matchType>PHRASE</ns2:matchType></value></value></data><data><key>AVERAGE_TARGETED_MONTHLY_SEARCHES</key><value
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="LongAttribute"><Attribute.Type>LongAttribute</Attribute.Type><value>301000</value></value></data><data><key>COMPETITION</key><value
 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="DoubleAttribute"><Attribute.Type>DoubleAttribute</Attribute.Type></value></data></entries></rval></getResponse></soap:Body></soap:Envelope>
Keyword: "japan travel 56d46d87", match type: "EXACT", volume: 368000
Keyword: "japan travel 55786054", match type: "BROAD", volume: 450000
Keyword: "red herring 62b8df55", match type: "PHRASE", volume: 301000
Total keywords related to "japan travel": 3.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to