15 messages in com.googlegroups.adwords-apiRe: .NET Structure Reports internal e...
FromSent OnAttachments
Rori Stumpf26 Jan 2008 09:31 
Rori Stumpf28 Jan 2008 09:41 
AdWords API Advisor01 Feb 2008 12:07 
Rori Stumpf02 Feb 2008 09:55 
Rori Stumpf08 Feb 2008 07:34 
AdWords API Advisor08 Feb 2008 11:20 
Rori Stumpf08 Feb 2008 18:55 
Rori Stumpf12 Feb 2008 11:39 
AdWords API Advisor12 Feb 2008 14:57 
brut...@gmail.com12 Feb 2008 15:34 
brut...@gmail.com12 Feb 2008 15:39 
brut...@gmail.com12 Feb 2008 15:41 
AdWords API Advisor13 Feb 2008 12:08 
brut...@gmail.com14 Feb 2008 04:20 
brut...@gmail.com14 Feb 2008 05:58 
Subject:Re: .NET Structure Reports internal error
From:brut...@gmail.com (brut@gmail.com)
Date:02/14/2008 04:20:21 AM
List:com.googlegroups.adwords-api

I understand that Stan. But when I schedule report in Sandbox, an empty report is returned (there are no mock data in report), it's normal?

Bruno.

On 13 fev, 17:09, AdWords API Advisor <adwo@google.com> wrote:

Hi brutakashi,

Reports that are scheduled in Sandbox contain generic, mock data, unrelated to any account.  Even if your Sandbox account has data in it (i.e. campaigns, ad groups, ads), the data won't show up in the this report.
 See,http://www.google.com/apis/adwords/developer/adwords_api_sandbox.html....

The Sandbox is usually used for developing, testing, and debugging purpose.  To get real and meaningful data you should schedule report against your live account, in production environment.

--Stan

On Feb 12, 6:41 pm, "brut@gmail.com" <brut@gmail.com> wrote:

i'm using sandbox

Hi Stan,

My English is terrible, but I'm problem with the use of adwords api and I will explain my question, ok? :-)

I download the sources "google-api-adwords-dotnet.csproj" and ran the following steps: 1 - I ran the example "CampaignServiceDemo" (created campaign) 2 - I ran the example "CheckKeywordTrafficDemo" (there was traffic "HasTraffic") 3 - But when do the examples "ReportServiceStructureDemo" or "ReportServiceKeywordDemo", the XMLs files (https://sandbox.google.com/ sandboxreports/defined.xml) are empty.

<?xml version="1.0" standalone="yes"?> <report>   <table>     <columns>       <column name="campaign">       </column>       <column name="adgroup">       </column>       <column name="agStatus">       </column>       <column name="imps">       </column>       <column name="clicks">       </column>       <column name="ctr">       </column>       <column name="cpc">       </column>       <column name="cost">       </column>       <column name="pos">       </column>     </columns>     <rows>     </rows>   </table>   <totals>     <grandtotal imps="0" clicks="0" ctr="0.0" cpc="0" cost="0" pos="0.0">     </grandtotal>   </totals> </report>

Have any ideas of what could be?

Thanks

On 12 fev, 19:57, AdWords API Advisor <adwo@google.com> wrote:

Hi Rori,

In .NET, although you are not specifying dates explicitly, they get inserted automatically based on the current specification in the ReportService WSDL (i.e. startDay and endDay are listed as required). This is specific to .NET.  If you look into the outgoing SOAP XML message, you should see <startDay>0001-01-01</startDay> and <endDay>0001-01-01</endDay> tags.

As mentioned earlier in the thread, this should be fixed in the next code update.

--Stan

On Feb 12, 2:39 pm, Rori Stumpf <rstu@gmail.com> wrote:

Stan,

Any update on this? It is money out of my pocket every time these reports fail, so I don't want to keep on running up the tab to find out what is fixed and what isn't.

Thanks, Rori

On Feb 8, 9:55 pm, Rori Stumpf <rstu@gmail.com> wrote:

Thanks Stan. Note that the empty report condition also occurs *without* a start and end date! e.g.

            AdWordsUser user = new AdWordsUser();             // user.useSandbox();  // use sandbox

            // Get the service.             ReportService service = (ReportService)user.getService("ReportService");

            // Set the report up             DefinedReportJob reportJob = new DefinedReportJob();             reportJob.selectedReportType = "Structure";             reportJob.aggregationTypes = new String[] { "Keyword" };

            reportJob.selectedColumns = new String[] {                 "Campaign", "CampaignId", "AdGroup", "AdGroupId", "Keyword",                 "KeywordId", "KeywordStatus", "MaximumCPC"             };

            try             {                 service.validateReportJob(reportJob);

                long jobId = service.scheduleReportJob(reportJob);

On Feb 8, 2:20 pm, AdWords API Advisor <adwo@google.com> wrote:

Hello Rori,

 Account Structure report requests that include startDay and endDay values lead to empty reports in production at the moment. This will be resolved in the next server-side code update. Apologies for the inconvenience in the meantime.

Cheers, -Jeff Posnick, AdWords API Team

On Feb 8, 10:35 am, Rori Stumpf <rstu@gmail.com> wrote:

Any word on whether this is fixed on production yet?

Thanks!

Hi Stan,

Yes, indeed, the validation does pass on production. However, an empty report is returned.

Thanks, Rori

<report>  <table>   <columns>    <column name="campaignid" />    <column name="campaign" />    <column name="adgroupid" />    <column name="adgroup" />    <column name="keywordid" />    <column name="keyword" />    <column name="kwStatus" />    <column name="maxCpc" />   </columns>  <rows />   </table>   <totals>   <grandtotal />   </totals>   </report>

On Feb 1, 3:08 pm, AdWords API Advisor <adwo@google.com> wrote:

Hi Rori,

It looks like a bug in validationReportJob() on sandbox. We are looking into it. In a meantime, skipping the validation step and just scheduling structure report job should work. In production, adwords.google.com, the validation of structure reports should work as expected.

Here's an example for scheduling structure report in .NET client library. I plan to release an update with these examples early next week.

// Get the service. ReportService service = (ReportService) user.getService("ReportService");

// Create the report job. DefinedReportJob reportJob = new DefinedReportJob(); reportJob.name = "Structure Report"; reportJob.selectedReportType = "Structure"; reportJob.aggregationTypes = new String[] {"Keyword"}; reportJob.selectedColumns = new String[] {   "Campaign", "CampaignId", "AdGroup", "AdGroupId", "Keyword",   "KeywordId", "KeywordStatus", "MaximumCPC"

};- Ocultar texto entre aspas -

- Mostrar texto entre aspas -- Ocultar texto entre aspas -

- Mostrar texto entre aspas -- Ocultar texto entre aspas -