Hi Dorian,

I've taken a look at this, and I thought for some reason it was a 
segmenting field as well at some point. Perhaps, the documentation is out 
of date or something has changed. Sometimes, we do have implicit 
segmentation that happens, but I'm not sure if that is what is happening 
here. Let me check with a couple of teammates here, and I'll get back to 
you.

Best,
Nadine, AdWords API Team 

On Friday, June 10, 2016 at 4:08:11 AM UTC-4, Dorian Kind wrote:
>
> Hi Umesh,
>
> thanks for your reply. I'm really not sure whether ConversionTypeName is 
> an attribute. As an example, for a given account and the following report 
> definition:
>
> <reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201603
> ">
>   <selector>
>     <fields>CampaignId</fields>
>     <predicates>
>       <field>Conversions</field>
>       <operator>GREATER_THAN</operator>
>       <values>0</values>
>     </predicates>
>     <dateRange>
>       <min>20150126</min>
>       <max>20150201</max>
>     </dateRange>
>   </selector>
>   <reportName>Test Report</reportName>
>   <reportType>CAMPAIGN_PERFORMANCE_REPORT</reportType>
>   <dateRangeType>CUSTOM_DATE</dateRangeType>
>   <downloadFormat>CSV</downloadFormat>
> </reportDefinition>
>
> the returned report contains 99 lines. If I add ConversionTypeName:
>
> <reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201603
> ">
>   <selector>
>     <fields>CampaignId</fields>
>     <fields>ConversionTypeName</fields>
>     <predicates>
>       <field>Conversions</field>
>       <operator>GREATER_THAN</operator>
>       <values>0</values>
>     </predicates>
>     <dateRange>
>       <min>20150126</min>
>       <max>20150201</max>
>     </dateRange>
>   </selector>
>   <reportName>Test Report</reportName>
>   <reportType>CAMPAIGN_PERFORMANCE_REPORT</reportType>
>   <dateRangeType>CUSTOM_DATE</dateRangeType>
>   <downloadFormat>CSV</downloadFormat>
> </reportDefinition>
>
> I get back 110 lines. The additional lines are from campaigns that had 
> conversions of multiple types during the reporting period. This seems 
> consistent with the hypothesis that ConversionTypeName is a segmenting 
> field.
>
> About the zero-conversion lines, I realized that these only show up if you 
> add certain other fields. If you take the last example, remove the 
> predicate and add 'CostPerConversion':
>
> <reportDefinition xmlns="https://adwords.google.com/api/adwords/cm/v201603
> ">
>   <selector>
>     <fields>CampaignId</fields>
>     <fields>ConversionTypeName</fields>
>     <fields>CostPerConversion</fields>
>     <dateRange>
>       <min>20150126</min>
>       <max>20150201</max>
>     </dateRange>
>   </selector>
>   <reportName>Test Report</reportName>
>   <reportType>CAMPAIGN_PERFORMANCE_REPORT</reportType>
>   <dateRangeType>CUSTOM_DATE</dateRangeType>
>   <downloadFormat>CSV</downloadFormat>
> </reportDefinition>
>
> Now 226 lines are returned. The additional lines are all for conversion 
> type "Other" and have zero conversions.
> It's a bit strange that this field is compatible with the 
> "ConversionTypeName" field anyway, because the "Cost" field (which seems to 
> be required to be able to calculate cost per conversion) is *not* compatible 
> with "ConversionTypeName".
>
> To summarize:
> 1. Would you agree that "ConversionTypeName" is a segmenting field? (If 
> so, the documentation should be updated.)
> 2. Why is "CostPerConversion" compatible with "ConversionTypeName" when 
> "Cost" is not? And why does adding the "CostPerConversion" field result in 
> the returned report having more lines (namely the "Other" ones)?
>
> Thanks and cheers,
> Dorian
>
> On Thursday, June 9, 2016 at 7:12:05 PM UTC+2, Umesh Dengale wrote:
>>
>> Hi Dorian,
>>
>> The ConversionTypeName 
>> <https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report#conversiontypename>
>>  field prevents 
>> zero-conversions rows from being returned as you mentioned above. The 
>> ConversionTypeName is field of type *attribute* and not a *segment* type. 
>> It may happen that you might be using some other segment field in the 
>> report selector. If you getting records for ConversionCategoryName 
>> <https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report#conversioncategoryname>
>>  (Other) 
>> for zero conversions then provide me *privately* the report query and 
>> clientCustomerId. Just click *Reply privately to author* in the forum 
>> when responding.
>>
>> Thanks,
>> Umesh, AdWords API Team.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0cb4b8b1-daa6-4d6e-880f-2dd45214ab33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Exact behavior... Dorian Kind
    • Re: Exact... 'Umesh Dengale' via AdWords API Forum
      • Re: E... Dorian Kind
        • R... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
          • ... Dorian Kind
            • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
              • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
                • ... Dorian Kind
                • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
                • ... Dorian Kind
                • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
                • ... Dorian Kind
                • ... 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum

Reply via email to