Hello Gary,

Please use a userInterestTaxonomyType of *BRAND*. I just ran it myself to 
double-check. That will get you the list that you need. 

Take care,
Nadine, AdWords API Team

On Monday, April 23, 2018 at 4:57:19 PM UTC-4, Gary Jiang wrote:
>
> I see. So which type should I pass for affinity user interest?
>
> On Monday, April 23, 2018 at 1:42:55 PM UTC-7, Nadine Sundquist (AdWords 
> API Team) wrote:
>>
>> Hi Gary,
>>
>> I admit that error is pretty unclear. Yes, you are totally right. You do 
>> need to pass in a type. 
>>
>> Regards,
>> Nadine, AdWords API Team
>>
>> On Monday, April 23, 2018 at 2:49:48 PM UTC-4, Gary Jiang wrote:
>>>
>>> INFO:googleads.common:2018-04-23 18:06:04,555 SOAP response:
>>>  <?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/v201802";>
>>>           <requestId>00056a87e424f2080a62e416d80f31ee</requestId>
>>>           <serviceName>ConstantDataService</serviceName>
>>>           <methodName>getUserInterestCriterion</methodName>
>>>           <operations>1</operations>
>>>           <responseTime>217</responseTime>
>>>        </ResponseHeader>
>>>     </soap:Header>
>>>     <soap:Body>
>>>        <soap:Fault>
>>>           <faultcode>soap:Server</faultcode>
>>>           <faultstring>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
>>> com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]</faultstring>
>>>           <detail>
>>>              <ApiExceptionFault xmlns="
>>> https://adwords.google.com/api/adwords/cm/v201802";>
>>>                 <message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR 
>>> @ 
>>> com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]</message>
>>>                 
>>> <ApplicationException.Type>ApiException</ApplicationException.Type>
>>>                 <errors xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="InternalApiError">
>>>                    <fieldPath/>
>>>                    <trigger/>
>>>                   
>>>  <errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</errorString>
>>>                    <ApiError.Type>InternalApiError</ApiError.Type>
>>>                    <reason>UNEXPECTED_INTERNAL_API_ERROR</reason>
>>>                 </errors>
>>>              </ApiExceptionFault>
>>>           </detail>
>>>        </soap:Fault>
>>>     </soap:Body>
>>>  </soap:Envelope>
>>>  This is what I got when I tried calling  
>>> ConstantDataService.getUserInterestCriterion() 
>>> <https://developers.google.com/adwords/api/docs/reference/v201802/ConstantDataService#getuserinterestcriterion>
>>>  API, 
>>> do I always need to pass a type?
>>>
>>>
>>> On Wednesday, April 18, 2018 at 8:07:47 PM UTC-7, Nadine Sundquist 
>>> (AdWords API Team) wrote:
>>>>
>>>> Hello Gary,
>>>>
>>>> I don't have a CSV ready to go because we have to go through the 
>>>> process of getting that properly published, but we do have an API service 
>>>> that can get you this list. You can use 
>>>> ConstantDataService.getUserInterestCriterion() 
>>>> <https://developers.google.com/adwords/api/docs/reference/v201802/ConstantDataService#getuserinterestcriterion>
>>>>  to 
>>>> get back the list of available ones already. Please get back to me if you 
>>>> see those old ones when you pull them down through that service. That 
>>>> would 
>>>> mean that there is a further issue. I've found that service is up-to-date, 
>>>> though.
>>>>
>>>> Cheers,
>>>> Nadine, AdWords API Team
>>>>
>>>> On Wednesday, April 18, 2018 at 12:48:43 PM UTC-4, Gary Jiang wrote:
>>>>>
>>>>> Also can we have a list of outdated categories in the CSV file so far? 
>>>>> Thanks
>>>>>
>>>>> On Wednesday, April 18, 2018 at 7:00:11 AM UTC-7, Nadine Sundquist 
>>>>> (AdWords API Team) wrote:
>>>>>>
>>>>>> Hello Gary,
>>>>>>
>>>>>> Thank you for providing all the amazing details privately. They were 
>>>>>> really helpful in tracking this down. I'm answering out on the forum in 
>>>>>> case one of your fellow developers bumps into this. I turns out that the 
>>>>>> affinity 
>>>>>> categories 
>>>>>> <https://developers.google.com/adwords/api/docs/appendix/codes-formats#affinity-categories>
>>>>>>  we 
>>>>>> currently have listed in our documentation are a bit out of sync with 
>>>>>> the 
>>>>>> AdWords UI. We'll get them updated right away. Those categories that are 
>>>>>> giving you an error don't even exist in the AdWords UI. In our back-end 
>>>>>> system, they must have been recently removed, and we didn't update our 
>>>>>> list 
>>>>>> to reflect that. Thank you for catching this and bringing this to our 
>>>>>> attention. Unfortunately, this means those categories are no longer 
>>>>>> available, but at least you've helped some people by making sure our 
>>>>>> documentation gets updated. Thank you!
>>>>>>
>>>>>> Best,
>>>>>> Nadine, AdWords API Team
>>>>>>
>>>>>> On Tuesday, April 17, 2018 at 2:05:39 AM UTC-4, Vincent Racaza 
>>>>>> (AdWords API Team) wrote:
>>>>>>>
>>>>>>> Hi Gary,
>>>>>>>
>>>>>>> You just need to set the userInterestId 
>>>>>>> <https://developers.google.com/adwords/api/docs/reference/v201802/CampaignCriterionService.CriterionUserInterest#userinterestid>
>>>>>>>  field, 
>>>>>>> and not the userInterestParentid 
>>>>>>> <https://developers.google.com/adwords/api/docs/reference/v201802/CampaignCriterionService.CriterionUserInterest#userinterestparentid>
>>>>>>>  field 
>>>>>>> as this is a read-only field when creating a CriterionUserInterest. 
>>>>>>> Kindly 
>>>>>>> edit your request and let me know how it works. If any issues occur, 
>>>>>>> please 
>>>>>>> provide the SOAP request and response logs via *Reply privately to 
>>>>>>> author* option so I can further check.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Vincent
>>>>>>> AdWords API Team
>>>>>>>
>>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/be22ef29-26cc-40b2-884e-455a188f822e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Matthew Wawrin
    • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
      • ... Matthew Wawrin
        • ... Matthew Wawrin
  • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
    • ... Gary Jiang
      • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
    • ... Gary Jiang
      • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
        • ... Gary Jiang
        • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
        • ... Gary Jiang
        • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
        • ... Gary Jiang

Reply via email to