I have recently started building out support for audience data in our system, right now I am simply creating CriterionUserList <https://developers.google.com/adwords/api/docs/reference/v201502/AdGroupCriterionService.CriterionUserList> using v201502 of the Perl Adwords API, but I have a couple of questions as a result of this process:
1) It appears that userListName is not being returned when a CriterionUserList is created, I am wondering why this is I make a request to create two CriterionUserLists with dummy data: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header> <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/v201502"> <clientCustomerId>3302759889</clientCustomerId> <developerToken>REDACTED</developerToken> <userAgent>REDACTED</userAgent> <validateOnly>false</validateOnly> <partialFailure>false</partialFailure> </RequestHeader> </SOAP-ENV:Header> <SOAP-ENV:Body> <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201502"> <operations> <operator>ADD</operator> * <operand xsi:type="BiddableAdGroupCriterion">* * <adGroupId>24344259004</adGroupId>* * <criterion xsi:type="CriterionUserList">* * <userListId>11443018661</userListId>* * <userListName>Audience1-AudienceService.t1443018661</userListName>* * </criterion>* * <bidModifier>0.1</bidModifier>* * </operand>* </operations> <operations> <operator>ADD</operator> * <operand xsi:type="BiddableAdGroupCriterion">* * <adGroupId>24344259004</adGroupId>* * <criterion xsi:type="CriterionUserList">* * <userListId>21443018661</userListId>* * <userListName>Audience2-AudienceService.t1443018661</userListName>* * </criterion>* * <bidModifier>10</bidModifier>* * </operand>* </operations> </mutate> </SOAP-ENV:Body> </SOAP-ENV:Envelope> the corresponding response only lists userListId and type for each CriterionUserList: <?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/v201502"> <requestId>0005206ac85512910a8148c41c02a7cc</requestId> <serviceName>AdGroupCriterionService</serviceName> <methodName>mutate</methodName> <operations>2</operations> <responseTime>245</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <mutateResponse xmlns="https://adwords.google.com/api/adwords/cm/v201502"> <rval> <ListReturnValue.Type>AdGroupCriterionReturnValue</ListReturnValue.Type> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="BiddableAdGroupCriterion"> <adGroupId>24344213764</adGroupId> * <criterion xsi:type="CriterionUserList">* * <id>192301809604</id>* * <type>USER_LIST</type>* * <Criterion.Type>CriterionUserList</Criterion.Type>* * <userListId>72150894150</userListId>* * </criterion>* <AdGroupCriterion.Type>BiddableAdGroupCriterion</AdGroupCriterion.Type> <userStatus>ENABLED</userStatus> <systemServingStatus>ELIGIBLE</systemServingStatus> <approvalStatus>APPROVED</approvalStatus> <biddingStrategyConfiguration> <biddingStrategyType>MANUAL_CPC</biddingStrategyType> <biddingStrategySource>CAMPAIGN</biddingStrategySource> <biddingScheme xsi:type="ManualCpcBiddingScheme"> <BiddingScheme.Type>ManualCpcBiddingScheme</BiddingScheme.Type> <enhancedCpcEnabled>false</enhancedCpcEnabled> </biddingScheme> <bids xsi:type="CpmBid"> <Bids.Type>CpmBid</Bids.Type> <bid> <ComparableValue.Type>Money</ComparableValue.Type> <microAmount>10000</microAmount> </bid> <cpmBidSource>ADGROUP</cpmBidSource> </bids> <bids xsi:type="CpcBid"> <Bids.Type>CpcBid</Bids.Type> <bid> <ComparableValue.Type>Money</ComparableValue.Type> <microAmount>100000</microAmount> </bid> <cpcBidSource>ADGROUP</cpcBidSource> </bids> </biddingStrategyConfiguration> <bidModifier>10.0</bidModifier> </value> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="BiddableAdGroupCriterion"> <adGroupId>24344213764</adGroupId> * <criterion xsi:type="CriterionUserList">* * <id>192301809604</id>* * <type>USER_LIST</type>* * <Criterion.Type>CriterionUserList</Criterion.Type>* * <userListId>72150894150</userListId>* * </criterion>* <AdGroupCriterion.Type>BiddableAdGroupCriterion</AdGroupCriterion.Type> <userStatus>ENABLED</userStatus> <systemServingStatus>ELIGIBLE</systemServingStatus> <approvalStatus>APPROVED</approvalStatus> <biddingStrategyConfiguration> <biddingStrategyType>MANUAL_CPC</biddingStrategyType> <biddingStrategySource>CAMPAIGN</biddingStrategySource> <biddingScheme xsi:type="ManualCpcBiddingScheme"> <BiddingScheme.Type>ManualCpcBiddingScheme</BiddingScheme.Type> <enhancedCpcEnabled>false</enhancedCpcEnabled> </biddingScheme> <bids xsi:type="CpmBid"> <Bids.Type>CpmBid</Bids.Type> <bid> <ComparableValue.Type>Money</ComparableValue.Type> <microAmount>10000</microAmount> </bid> <cpmBidSource>ADGROUP</cpmBidSource> </bids> <bids xsi:type="CpcBid"> <Bids.Type>CpcBid</Bids.Type> <bid> <ComparableValue.Type>Money</ComparableValue.Type> <microAmount>100000</microAmount> </bid> <cpcBidSource>ADGROUP</cpcBidSource> </bids> </biddingStrategyConfiguration> <bidModifier>10.0</bidModifier> </value> </rval> </mutateResponse> </soap:Body> </soap:Envelope> Thoughts on why userListName is not included in the response? 1a) Why do I need to supply userListId when creating CriterionUserLists via the API, I believe in the UI you just supply a name. When I left that out I got a RequiredError for that field. 2) Is it possible to create a CriterionUserInterest <https://developers.google.com/adwords/api/docs/reference/v201502/AdGroupCriterionService.CriterionUserInterest> using v201502 of the API? Whenever I tried to make a similar request as above changing the type to USER_INTEREST I received an "Internal API Error". -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/6001f45c-6c5c-41aa-9ab3-bda78a6f315a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
