Recently catched a problem with my app which creates adgroup performance
report definition and then fetches report results. That seemed to work for a
while. But this app was not in active usage and now tests fail. I'm using
perl client library if it matters.
The problem that I cant create report definition:
...
<mutate xmlns="https://adwords.google.com/api/adwords/cm/v201101">
<operations>
<operator>ADD</operator>
<operand>
<selector>
<fields>Id</fields>
<fields>CampaignName</fields>
<fields>AdGroupName</fields>
<fields>Cost</fields>
<fields>AccountCurrencyCode</fields>
</selector>
<reportName>Report Tue Jun 7 13:04:15 2011</reportName>
<reportType>ADGROUP_PERFORMANCE_REPORT</reportType>
<dateRangeType>YESTERDAY</dateRangeType>
<downloadFormat>CSV</downloadFormat>
<clientSelectors>
<login>[email protected]</login>
</clientSelectors>
</operand>
</operations>
</mutate>
...
This results in error:
...
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>ReportDefinitionError.MISSING_CUSTOMER_ID_AND_LABEL_ID
@ ; trigger:'ClientSelector{Cid=0, OCid=0,
[email protected], ECid=null, LabelId=null,
Predicates=[]}'</faultstring>
<detail>
<ApiExceptionFault
xmlns="https://adwords.google.com/api/adwords/cm/v201101">
<message>ReportDefinitionError.MISSING_CUSTOMER_ID_AND_LABEL_ID
@ ; trigger:'ClientSelector{Cid=0, OCid=0,
[email protected], ECid=null, LabelId=null,
Predicates=[]}'</message>
<ApplicationException.Type>ApiException</ApplicationException.Type>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ReportDefinitionError">
<fieldPath />
<trigger>ClientSelector{Cid=0, OCid=0,
[email protected], ECid=null, LabelId=null,
Predicates=[]}</trigger>
<errorString>ReportDefinitionError.MISSING_CUSTOMER_ID_AND_LABEL_ID</errorString>
<ApiError.Type>ReportDefinitionError</ApiError.Type>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>
...
Why behavior have changed? What may be the reason of this error?
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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