Hi Pete,

This error appears to be consistent with the AdWords UI, which doesn't 
offer "Health" as an available interest to target.  I'm working with the 
core engineers to determine the exact cause, but my guess is that we are 
pruning certain values from the list of verticals for topics that we don't 
track for users:

Google will not associate with a user's cookie any sensitive interest 
> categories, such as those based on race, religion, sexual orientation, 
> health, or sensitive financial categories and more.

http://support.google.com/adwords/bin/answer.py?hl=en&answer=140188

Once I have more information I'll work on updating the verticals reference 
to clearly state which topics are available for user interest criteria.

Best,
- Eric Koleda, AdWords API Team

On Wednesday, March 7, 2012 2:49:50 PM UTC-5, Pete Lavetsky (AdWords API 
Guru) wrote:
>
> I'm getting an INVALID_USER_INTEREST error on a seemingly valid Interest. 
>  It is category "Health" and has an id of 45 as listed here: 
> http://code.google.com/apis/adwords/docs/appendix/verticals.html
>
> All other codes from that page seem to be working
>
> <?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/v201109";>
> <ns1:authToken xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201109";>******</ns1:authToken>
> <ns1:clientCustomerId>XXX</ns1:clientCustomerId>
> <ns1:developerToken>XXX</ns1:developerToken>
> <ns1:userAgent>AdWords API Java Client Library - v8.4.2 - 
> Tweezer</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/v201109";>
> <operations>
> <operator>ADD</operator>
> <operand xsi:type="ns11:BiddableAdGroupCriterion" xmlns:ns11="
> https://adwords.google.com/api/adwords/cm/v201109";>
> <adGroupId>5506634496</adGroupId>
> <criterion xsi:type="ns11:CriterionUserInterest">
> <userInterestId>45</userInterestId>
> <userInterestName>Health</userInterestName>
> </criterion>
> <AdGroupCriterion.Type>USER_INTEREST</AdGroupCriterion.Type>
> </operand>
> </operations>
> </mutate>
> </soapenv:Body>
> </soapenv:Envelope>
>
> <?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/v201109";>
> <requestId>0004baabe48113a80ae7684700004118</requestId>
> <serviceName>AdGroupCriterionService</serviceName>
> <methodName>mutate</methodName>
> <operations>1</operations>
> <responseTime>891</responseTime>
> <units>15</units>
> </ResponseHeader>
> </soap:Header>
> <soap:Body>
> <soap:Fault>
> <faultcode>soap:Server</faultcode>
> <faultstring>[CriterionError.INVALID_USER_INTEREST @ 
> operations[9].operand.criterion.userInterestId; trigger:'45']</faultstring>
> <detail>
> <ApiExceptionFault xmlns="
> https://adwords.google.com/api/adwords/cm/v201109";>
> <message>[CriterionError.INVALID_USER_INTEREST @ 
> operations[9].operand.criterion.userInterestId; trigger:'45']</message>
> <ApplicationException.Type>ApiException</ApplicationException.Type>
> <errors xsi:type="CriterionError" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> <fieldPath>operations[9].operand.criterion.userInterestId</fieldPath>
> <trigger>45</trigger>
> <errorString>CriterionError.INVALID_USER_INTEREST</errorString>
> <ApiError.Type>CriterionError</ApiError.Type>
> <reason>INVALID_USER_INTEREST</reason>
> </errors>
> </ApiExceptionFault>
> </detail>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
>
> Pete
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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