Hi, Josh.

Thanks for looking into this.  I ran my tests again today, and now it seems 
to be working.  I didn't think I changed anything since I originally tried, 
although it's definitely possible that I did.  Anyway, it is working as 
expected now, using the boomuserlist::12345 type of value in the predicate 
as I originally was trying.

Thanks again,
Greg

On Monday, March 10, 2014 11:43:38 AM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Greg,
>
> I was able to select data for a specific audience and get back results for 
> that campaign via the following report XML:
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <reportDefinition xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201402";>
>   <ns2:selector>
>     <ns2:fields>AdGroupId</ns2:fields>
>     <ns2:fields>AdGroupName</ns2:fields>
>     <ns2:fields>Criteria</ns2:fields>
>     <ns2:fields>Ctr</ns2:fields>
>     <ns2:fields>Date</ns2:fields>
>     <ns2:predicates>
>       <ns2:field>Criteria</ns2:field>
>       <ns2:operator>EQUALS</ns2:operator>
>       <ns2:values>boomuserlist::2709416</ns2:values>
>     </ns2:predicates>
>   </ns2:selector>
>   <ns2:reportName>Audience performance report 
> #1394469398903</ns2:reportName>
>   <ns2:reportType>AUDIENCE_PERFORMANCE_REPORT</ns2:reportType>
>   <ns2:dateRangeType>YESTERDAY</ns2:dateRangeType>
>   <ns2:downloadFormat>CSV</ns2:downloadFormat>
>   <ns2:includeZeroImpressions>false</ns2:includeZeroImpressions>
> </reportDefinition>
>
> I created the predicate using the Java client library as follows:
>
>     Predicate predicate = new Predicate();
>     predicate.setField("Criteria");
>     predicate.setOperator(PredicateOperator.EQUALS);
>     predicate.getValues().add("boomuserlist::2709416");
>
> It sounds like you tried the exact same approach but it didn't work for 
> you.  Could you compare your requests to mine and let me know if you see 
> any differences?
>
> Thanks,
> Josh, AdWords API Team
>
> On Monday, March 10, 2014 11:19:28 AM UTC-4, GregT wrote:
>>
>> Hi, Josh.
>>
>> An example campaign id is 101508056.
>>
>> Thanks,
>> Greg
>>
>> On Monday, March 10, 2014 10:08:30 AM UTC-5, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi Greg,
>>>
>>> I may have a solution on this one, but I'd like to test it out first on 
>>> a campaign with some data.  Could you post one or more campaign IDs I could 
>>> use to test?  When posting, please adhere to the forum 
>>> rules<https://groups.google.com/forum/#!msg/adwords-api/lUQpWowB44k/4SLfkHbk4ZgJ>regarding
>>>  posting of confidential information.
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Friday, March 7, 2014 12:09:48 PM UTC-5, GregT wrote:
>>>>
>>>> Hi,
>>>>
>>>> Sometimes when pulling audience structure data for RLSA with the 
>>>> audience performance report, I want to get the data for just one audience 
>>>> for a campaign.  However, whenever I try to use a predicate that limits 
>>>> the 
>>>> audience, I get back no rows.  The predicates for status and campaign id 
>>>> work fine (returning what I would expect if I don't also add in the 
>>>> criteria predicate).  I know that audience criteria are a little odd, with 
>>>> the "boomuserlist::12345" format (
>>>> https://groups.google.com/forum/#!topic/adwords-api/TwCw8z80I9w), so 
>>>> I'm not sure if I'm creating the predicate incorrectly, or it might just 
>>>> not be possible.
>>>>
>>>> The predicates I've tried unsuccessfully are predicates where Criteria 
>>>> equals boomuserlist::12345 or Criteria equals 12345, where 12345 is the id 
>>>> of the audience.  This is with v201309 (Java library).
>>>>
>>>> Should one of these predicates work, or is there a different predicate 
>>>> I should use, or is this just not possible?  Obviously, I can work around 
>>>> it by filtering by audience id as I parse the report, but I'd rather not 
>>>> if 
>>>> I don't have to.
>>>>
>>>> Thanks in advance,
>>>> Greg
>>>>
>>>>
>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to