Hi,

This is a two-part query.

Part 1:
I am creating an ADGROUP_PERFORMANCE_REPORT report definition (v201008,
ReportDefinitionService, Sandbox). My final report will require all the
possible fields available for this report definition. I have
successfully added and downloaded some basic reports with a couple of
fields (eg. AdGroupId, AdGroupName, Cost). As it's the sandbox, the
cost data (etc) returned for the individual adgroups is 0 (which is
fine) however if I create a report definition with other fields
(specifically AdNetworkType1, AdNetworkType2, ClickType, Date &
DayOfWeek - so far), when I download that report, it returns the
columns with the column names but no rows at all, not even with 0 data.
Is it something I'm doing wrong? (and do you need further info from me
to find out)?

Part 2:
When I attempt to modify a report definition that I've created, I have
no problems modifying it's reportName or dateRangeType, but when I try
to update it's selector I get an UNEXPECTED_INTERNAL_API_ERROR error.
again, am I doing something wrong? See soap request & response below.

Many thanks,
AI

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201008";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<SOAP-ENV:Header>
<ns1:RequestHeader xsi:type="ns1:RequestHeader">
<ns1:authToken>*****</ns1:authToken>
<ns1:clientEmail>CLIENTEMAIL</ns1:clientEmail>
<ns1:developerToken>DEVTOKEN</ns1:developerToken>
<ns1:userAgent>USERAGENT</ns1:userAgent>
</ns1:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:mutate>
<ns1:operations>
<ns1:operator>SET</ns1:operator>
<ns1:operand>
<ns1:id>4492</ns1:id>
<ns1:selector>
<ns1:fields>AdGroupId</ns1:fields>
<ns1:fields>AdGroupName</ns1:fields>
<ns1:fields>AverageCpc</ns1:fields>
<ns1:fields>CampaignId</ns1:fields>
<ns1:fields>Cost</ns1:fields>
</ns1:selector>
<ns1:reportName>XXX - Adgroup spend report #1287677216</ns1:reportName>
<ns1:dateRangeType>TODAY</ns1:dateRangeType>
</ns1:operand>
</ns1:operations>
</ns1:mutate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Header>
<ResponseHeader
xmlns="https://adwords.google.com/api/adwords/cm/v201008";>
<requestId>3aa676c7355e046e452370546969324a</requestId>
<operations>1</operations>
<responseTime>275</responseTime>
<units>1</units>
</ResponseHeader>
</soap:Header>
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ ]</faultstring>
<detail>
<ApiExceptionFault
xmlns="https://adwords.google.com/api/adwords/cm/v201008";>
<message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ ]</message>
<ApplicationException.Type>ApiException</ApplicationException.Type>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="InternalApiError">
<fieldPath/>
<trigger/>
<errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</errorString>
<ApiError.Type>InternalApiError</ApiError.Type>
<reason>UNEXPECTED_INTERNAL_API_ERROR</reason>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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

Reply via email to