my $email = 'x...@x.com';
my $password = 'xxxxxxxxxx';
my $developer_token = 'xxxxxxxxxxxxxxxxxxxxxxxxx';
my $url = 'https://adwords.google.com/api/adwords/v13/ReportService';
my $wsdl = $url . '?wsdl';
print "$client_email - $client \n";
my $service = SOAP::Lite->service($wsdl)->autotype(0)->readable(1)-
>proxy($url);
$service->on_fault(sub {
                     my $response = $ARG[1];
                     die('The following SOAP fault occurred:', "\n",
                         '  faultcode: ', $response->faultcode(),
"\n",
                         '  faultstring: ', $response->faultstring(),
"\n")
                   });
# SOAP::Lite->import(+trace => 'debug');
# Define SOAP headers.
my @headers = (
  SOAP::Header->name('email' => $email),
  SOAP::Header->name('password' => $password),
  SOAP::Header->name('clientEmail' => $client_email),
  SOAP::Header->name('useragent' => $client),
  SOAP::Header->name('developerToken' => $developer_token),
);

my $report_job = SOAP::Data->name('job' =>
  {'selectedReportType' => 'Url',
   'aggregationTypes' => ['Daily'],
   'startDay' => $startdate,
   'endDay' => $enddate,
   'selectedColumns' => [qw(Campaign AdGroup Keyword
KeywordTypeDisplay DestinationURL
                                KeywordStatus FirstPageCpc QualityScore 
MaximumCPC
                                MaxContentCPC PreferredCPM AdGroupStatus 
CampaignStatus
                                Impressions Clicks CTR CPC Cost AveragePosition
                                CostPerConverstion CostPerTransaction 
TotalConversionValue)]

On Sep 2, 4:54 am, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hi Susan,
>
> Can you please post the sanitized SOAP requests for both the clients?
> I can ask the AdWords team to investigate your issue.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Sep 1, 7:36 pm, Susan Ostroski <stcnoteb...@gmail.com> wrote:
>
> > I'm using the Url report to get our clients data and I'm getting a
> > different result with two clients.
>
> > My job request
>
> > my $report_job = SOAP::Data->name('job' =>
> >   {'selectedReportType' => 'Url',
> >    'aggregationTypes' => ['Daily'],
> >    'startDay' => $startdate,
> >    'endDay' => $enddate,
> >    'selectedColumns' => [qw(Campaign AdGroup Keyword
> > KeywordTypeDisplay DestinationURL
> >                                 KeywordStatus FirstPageCpc QualityScore 
> > MaximumCPC
> >                                 MaxContentCPC PreferredCPM AdGroupStatus 
> > CampaignStatus
> >                                 Impressions Clicks CTR CPC Cost 
> > AveragePosition
> >                                 CostPerConverstion CostPerTransaction 
> > TotalConversionValue)]
>
> > One client I don't get the keyword and I get siteKwStatus. The other
> > client I get Keyword but not sitKwStatus.
>
> > Has anyone seen this?
>
> > Thanks for any help
>
>

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