Hi Eric,
Got the MCC billing account working and now i'm able to submit the
DefinedReportJob and get back the url for the report but for some
reason all the reports contain the headers only with the colomn names
but with no data. This happens in the sandbox and in the "real"
account, which btw bills us for the empty reports.
This is the code I'm using to define the report:
// Create the report job.
            DefinedReportJob reportJob = new DefinedReportJob();
            reportJob.name = "Keyword Report";
            reportJob.selectedReportType = "Campaign";
            reportJob.crossClient = true;
            reportJob.aggregationTypes = new String[] { "Daily" };
            reportJob.adWordsType = AdWordsType.ContentOnly;
           // reportJob.adWordsTypeSpecified = false;
            reportJob.endDay = DateTime.Today;  // defaults to today
            reportJob.startDay = new DateTime(2010, 5, 1);
          //  reportJob.selectedColumns = new String[] {
          //"Campaign", "CampaignId"};
            //reportJob.name = "Structure Report";
           // reportJob.selectedReportType = "Structure";

           // reportJob.aggregationTypes = new String[] { "Keyword" };
            reportJob.selectedColumns = new String[] { "Campaign",
"CampaignId", "Clicks" };
          //"Campaign", "CampaignId","Clicks","Impressions"};

            //reportJob.campaigns = new int[] { 52613103 };
            //reportJob.adGroupStatuses = new AdGroupStatus[]
{ AdGroupStatus.Enabled };

I've tested against specific campaigns and without specifying a
specific campaigns.
Any clue?

Regards


On Jun 11, 6:35 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hi Oren,
>
> You cannot start using the production API until the MCC account that
> owns your developer token has billing information set up.  You need to
> configure this in the AdWords web interface, and after that you should
> be able to use the API.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Jun 10, 8:27 am, oren <baj...@gmail.com> wrote:
>
>
>
> > Hi,
> > As mentioned I'm a newbie to this api.
> > While implementing a reporting job using the .NET example I got empty
> > reports from the sanbox (unlike google's statement 
> > here:http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo...)
>
> > So I tried to working with the real account in order to get some data
> > but I got an exception:
> > BillingException:
> > No billing information entered
>
> > The reporting job API does not have a field in which I'm supposed to
> > supply billing info, so my guess is that somewhere within the system
> > there's a missing data field.
>
> > Has anyone ever encountered this?
>
> > Any assistance will be appreciatedRegards,
> > Oren.

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