Hi Oscar,

Thanks for sending the info. The criteria ID you provided from the Click 
Performance Report is for a *UserList* criterion. You can see this is if 
you add the *CriteriaType* column to the Criteria Performance Report 
<https://developers.google.com/adwords/api/docs/appendix/reports#criteria> and 
filter by (criterion) ID:

SELECT Date, CampaignId, AdGroupId,* Id, CriteriaType* FROM 
CRITERIA_PERFORMANCE_REPORT WHERE *Id = xxx* DURING 20140827,20140827

Keyword ID      Criteria Type  Impressions
789...........  User List      6233

The reason the *Click Performance Report* and the *Criteria Performance 
Report* both return this criterion ID instead of a keyword ID is that these 
reports are both single attribution reports 
<https://developers.google.com/adwords/api/docs/guides/reporting-concepts#single>,
 
so AdWords picks the most relevant criterion for each impression on those 
reports. Impressions in a *Display Network* campaign can be triggered by 
various criteria, not just keywords, which is why the API offers criterion 
type-specific reports such as the *Display Keywords Performance Report*, 
the *Age Range Performance Report*, etc.

For user lists, there's the Audience Performance Report 
<https://developers.google.com/adwords/api/docs/appendix/reports#audience>, 
which returns the following for your campaign and ad group for that day.

Audience                Impressions
boomuserlist::6978660   179
boomuserlist::8113860   6233
boomuserlist::8113980   28
Total                   6440

So for you particular use case, you'll have to keep in mind that the 
*CriteriaId* returned in the *Click Performance Report* is not going to 
always be for a keyword. To determine the type of criteria, you could:

   1. Run the *Click Performance Report* and capture the *CriteriaId*
   2. Run a *Criteria Performance Report*, filtered by your *CampaignId, 
   AdGroupId, *and *Id* (criterion), and include *CriteriaType* in the list 
   of selected fields. This report should use the same single attribution 
   logic as the *Click Performance Report*.
   3. For each *Id/CriteriaType* pair returned in step 2, run the multiple 
   attribution report 
   
<https://developers.google.com/adwords/api/docs/guides/reporting-concepts#multiple>
 that 
   corresponds to the *CriteriaType* to gather more criterion type-specific 
   information, if desired.

Cheers,
Josh, AdWords API Team

On Thursday, August 28, 2014 3:07:36 PM UTC-4, Oscar Martinez wrote:
>
> Hi Josh, 
>
> I sent you privately the information of the Google Click ID, Campaign 
> ID, Ad group ID, Keyword ID.
>
> Thank you, 
>
> On Thursday, August 28, 2014 11:07:14 AM UTC-6, Oscar Martinez wrote:
>>
>> Hi, 
>>
>> We are creating a small report for my company. We need to get Campaign 
>> Name, AdGroup Name and Keywords for a gclid. We have these steps:
>>
>> 1. Capture and save gclid.
>> 2. CLICK_PERFORMANCE_REPORT to get CampaignId, AdGroupId and CriteriaId 
>> (Keyword ID) filtering by gclid and DateRange=TODAY (or Yesterday, if we 
>> saved the gclid yesterday).
>> 3. KEYWORD_PERFORMANCE_REPORT to get KeywordText, CampaignName and 
>> AdGroupName, filtering by Id (Keyword ID) and DateRange=ALL_TIME.
>>
>> If we test using gclid from today, we get data on steps 2 and 3 (Good). 
>> If we test using gclid from yesterday we get results only on step 2, but 
>> step 3 is empty (Bad).
>> We have 2 saved gclid from today and 1 saved gclid from yesterday. I can 
>> post the gclid information, but I'm not sure if it's a good idea to do it 
>> public.
>>
>> Pdata: The documentation in spanish is different to english version. In 
>> spanish we don't have the Click Report. We had to use a browser in English 
>> to see it.
>>
>> Thank you, 
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/0c49b9d3-a6c9-4984-8609-d5f72e58ace8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to