Hi Josh,
I am trying to download the ACCOUNT_PERFORMANCE_REPORT from Adwords API. I
have all the information to make a session with API. But the problem was I
am having 800+ client customer id s to pass. Is there any alternate way to
download the report for all the client Ids in a single shot. Thanks In
Advance.
On Monday, 21 July 2014 11:28:59 UTC-7, Josh Radcliff (AdWords API Team)
wrote:
>
> Hi,
>
> Let's try to keep things as straightforward as possible. Could you:
>
> 1. Copy your *adwords.properties* file to your home directory.
> 2. Change your constructor call to simply:
> my $client = Google::Ads::AdWords::Client->new();
> 3. Try the example again.
>
> Thanks,
> Josh, AdWords API Team
>
> On Monday, July 21, 2014 12:26:35 PM UTC-4, Dhiraj Shinde wrote:
>>
>> i am setting client object like follows
>> my $client = Google::Ads::AdWords::Client->new(
>> {
>> version => 'v201406',
>> properties_file =>
>> "/home/dhiraj/perl/GOOGLE-ADWORDS-PERL-CLIENT-2.16.0/adwords.properties",
>> }
>> );
>>
>> adword.properties file contain all info as i told you in my prev post and
>> when i tried running the script and for
>>
>> download_criteria_report.pl it is showing error as follows
>>
>> {
>> "error" : "invalid_client",
>> "error_description" : "The OAuth client was not found."
>> } at ../../../lib/Google/Ads/Common/OAuth2ApplicationsHandler.pm line 127.
>> Can't call method "isa" on an undefined value at
>> ../../../lib/Google/Ads/Common/ReportUtils.pm line 74.
>>
>>
>> On Tuesday, July 15, 2014 9:13:42 PM UTC+5:30, Dhiraj Shinde wrote:
>>>
>>> Hi All,
>>> I am working on project which need some Google ad-word API
>>> usage, actually i need to download campaign_performance_report for my
>>> client for particular date, using the following script
>>>
>>> my $mech = WWW::Mechanize->new();
>>> $mech->add_header({
>>> clientCustomerId => "xxx-xxx-xxxx",#valid client customer id
>>> 'Authorization: Bearer'
>>> =>'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',#my access token with scope
>>> manage adword campaign
>>> developerToken => 'xxxxxxxxxxxxxxxxxxx'});
>>> $response = $mech->post("
>>> https://adwords.google.com/api/adwords/reportdownload/v201406",
>>> { __rdquery =>
>>> 'SELECT+CampaignName+CampaignId+Cost+FROM+CAMPAIGN_PERFORMANCE_REPORT+DURING+20140619,20140619',__fmt
>>>
>>> => 'CSV'
>>> }
>>> );
>>>
>>> when i see the response of above request i got
>>> <?xml version="1.0" encoding="UTF-8"
>>> standalone="yes"?><reportDownloadError><ApiError><type>ReportDownloadError.INVALID_PARAMETER</type><trigger>Missing
>>>
>>> client
>>> information</trigger><fieldPath></fieldPath></ApiError></reportDownloadError>
>>>
>>> i am following approach mentioned in the link
>>> https://developers.google.com/adwords/api/docs/guides/awql
>>>
>>> i don't understand what exactly is missing ?
>>> need help from expert
>>>
>>>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/dcb4ffdc-5294-4d17-af58-4932254e4db8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.