Re: Error right after installing

2012-11-26 Thread Neil Kirk
local/share/perl/5.12.4/Google/Ads/AdWords/v201008/InfoSelector.pm /usr/local/share/perl/5.12.4/Google/Ads/AdWords/v201109/InfoSelector.pm I have run all steps in the perl client library README. Any idea why it hasn't installed? On Monday, 26 November 2012 16:34:42 UTC, Neil Kirk wrote: >

Re: Error right after installing

2012-11-26 Thread Neil Kirk
Hi, I have installed the new v201209 Perl client library and am getting this error: Can't locate Google/Ads/AdWords/v201209/InfoSelector.pm in @INC (@INC contains: ../../../lib /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12

v201209 get client usage Perl example

2012-11-21 Thread Neil Kirk
I have upgraded my Perl client library to v201209 (2.7.4), and am trying to run the get_client_usage.pl example file, but am getting the following error: Can't locate Google/Ads/AdWords/v201209/InfoSelector.pm in @INC (@INC contains: ../../../lib /etc/perl /usr/local/lib/perl/5.12.4 /usr/local

Re: LOGIN_COOKIE_REQUIRED error with Perl Library on V201109 after I changed MCC Login password

2012-09-26 Thread Neil Kirk
Hi Anash, I'm getting this error, but I've found that it's related to the crontab job that is running my script. The script and prpoerties file is location in the /home/neilkirk/adwords folder (on an Ubuntu server), but the crontab running the script is the root crontab. If I run the job using

Re: Only get active keywords

2012-04-05 Thread Neil Kirk
ECIFIED AdParamError INVALID_ADGROUP_CRITERION_SPECIFIED this happens to about 50% of my criterion, which is kinda wasteful in terms of API units. Any help would be massively appreciated. On Thursday, 5 April 2012 14:09:23 UTC+1, Neil Kirk wrote: > &

Only get active keywords

2012-04-05 Thread Neil Kirk
Hi, I am setting paramaters for my keywords using the Perl API. When I get the keywords for a particular ad group, it retrieves all the keywords and so it trying to set parameters for a lot of keywords that it doesn't need to/is returning a lot of keywords that it doesn't need to. Is there any

Re: AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED

2012-03-23 Thread Neil Kirk
Hi Eric, Our keywords aren't new, but I still randomly get this error. This is the Parameter XML received when I requested it: http://www.w3.org/2001/XMLSchema-instance"; xsi:type="BiddableAdGroupCriterion"> 2010965785 BIDDABLE 12099920 KEYWORD Keyword sms marketing BROAD BiddableAdG

AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED

2012-02-21 Thread Neil Kirk
Hi, I am getting this error on some keywords, when trying to set the parameters. I get all the keywords for a particular ad group and then update them, but some return this error. Here is one request that worked: [21 Feb 2012 10:24:01,829 - INFO ] Outgoing Request: http://www.w3.org/2001/XMLSch

Currency symbol errors when setting params

2012-02-21 Thread Neil Kirk
Hi there, I am getting Content-Length header value was wrong errors when trying to set a price as a parameter insertion text. It works fine with the USD '$' symbol, but it doesn't work with the GBP '£': my $ad_param1 = Google::Ads::AdWords::v201109::AdParam->new({ adGroupId => $ad_group_id, crit

Re: ADD_OPERATION_NOT_PERMITTED when using sample code v201109

2012-02-14 Thread Neil Kirk
Hi Anash, I have tried using another Google account, but still can add campaigns... The adwords.properties file: email=@gmail.com password= clientCustomerId=4094931487 userAgent=skeniver developerToken=@gmail.com++GBP The example script get_campaigns.pl, returns no campaigns (as expe

Re: ADD_OPERATION_NOT_PERMITTED when using sample code v201109

2012-02-13 Thread Neil Kirk
Hey, When I run the get_account_hierarchy.pl example, it returns: Login, CustomerId (Status, Description) Root, 0 -- client_5+@gmail.com, 0 (ESTABLISHED) client_5+@gmail.com, 0 (ESTABLISHED) This loops over and over again, until I ctrl+c to break the script. I have tried getting th

Re: ADD_OPERATION_NOT_PERMITTED when using sample code v201109

2012-02-09 Thread Neil Kirk
Hi, Thanks. I have made some changes and am now trying to do the same thing using my personal gmail account: email=@gmail.com password= clientCustomerId=0 userAgent=skeniver developerToken=@gmail.com++GBP alternateUrl=https://adwords-sandbox.google.com and am still getting the same

Re: ADD_OPERATION_NOT_PERMITTED when using sample code v201109

2012-02-06 Thread Neil Kirk
Hi, I am having the same problem. I am trying to upgrade my application to use v201109. My properties file is: email=@.com password= userAgent=AdwordsSandbox developerToken=@.com++GBP alternateUrl=https://adwords-sandbox.google.com When I run the get_campaigns.pl from the ex

Re: track unit usage

2012-02-01 Thread Neil Kirk
Hi David, Thanks! Much apreciated. The project at work was delayed for a while in order to upgrade our account to an MCC account; which has finally happened, so we should be going live with my app soon :) -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discuss

track unit usage

2011-11-24 Thread Neil Kirk
I was wondering if there is any way in the Perl client library to track the number of API units used for a particular call. For example, say I get all the campaigns, is there a specific way to track how many units have been used: $page = $adwords_client->CampaignService()->get({serviceSelector =

Error handling in Perl

2011-11-18 Thread Neil Kirk
Hi I am trying to catch errors returned back from Adwords in my program, but am unsure how to do it. With an expired authentication tekon in the client, the lines: $page = $adClient->CampaignService()->get({ serviceSelector => $selector, }); which output: Error deserializing message: A fault w

Required Minimum Functionality for setting ad params

2011-11-07 Thread Neil Kirk
Hi, I have been reading the RMF info, as soon I will want to submit my app for approval. It simply reads campaigns, then ad groups, then criterion and then sets ad params according to my current pricing. Is there a minimum functionality requirement for this? I don't do any creation (bar the

No email/password specified

2011-11-03 Thread Neil Kirk
Hi, I am trying to use the perl client library, but I want to connect to the API using an authToken rather than the adwords.properties file. So far, I use my email and password to get an authToken (that part works fine), but when I try to create a new adwords client, I get the No email/passwor

Re: Default Properties File is Uninitialized

2011-09-21 Thread Neil Kirk
Hey David I was. it was previously being called in another method. I have since changed my script to call it once at the beginning and the issue has disappeared. Let me know if you would still like me to add this to the issues list! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also fin

Default Properties File is Uninitialized

2011-09-14 Thread Neil Kirk
I am running a perl script on a sandbox account. Using the add_campaign.pl, I have added a couple of campaigns and using the get_all_campaigns.pl example, I can read them back. I copied that code into my script and it runs just fine; I get both campaigns returned. So I did the same thing with a

Re: Calling the get() for the CampaignService??

2011-09-14 Thread Neil Kirk
Hi David I have finally figured out how this all works! Took me a while but am now gettings to grips with it. I have another question regarding the adwords.properties file... If I place the adwords.properties file in /home/neilkirk and run the add_campaign.pl file from /home/neilkirk/awapi_pe

Where do I put my adwords.properties file?

2011-09-13 Thread Neil Kirk
I am running a perl script with this path: /var/www/cgi-bin/adwords/adwords.cgi which simply has the code from the add_campaign.pl in it (in the hopes that it adds a campaign). The adwords.properties file is currently located at: /var/www/cgi-bin/adwords/adwords.properties But when I run the s

Re: Calling the get() for the CampaignService??

2011-08-10 Thread Neil Kirk
Hey David Is it possible to use the client API without installing it; ie. copying the files to a directory and using: use FindBin; use lib "$FindBin::Bin/"; use Google::Ads::Adwords; My hosting company isn't able to install the library as it's not on CPAN, so this is the last option available t

Re: Calling the get() for the CampaignService??

2011-07-19 Thread Neil Kirk
Hey David What is the difference between Google::Adwords available on CPAN and the Google::Ads::Adwords module? Using Google::Adwords mentions using your password to make requests (which I think is an older method and I should be using the Authentication Token). But I have this code: my $servi

Re: Calling the get() for the CampaignService??

2011-07-19 Thread Neil Kirk
Hey David What is the difference between Google::Adwords available on CPAN and the Google::Ads::Adwords module? Using Google::Adwords mentions using your password to make requests (which I think is an older method and I should be using the Authentication Token). But I have this code: my $servi

Re: Sandbox Developer Token is Invalid??

2011-07-13 Thread Neil Kirk
I think this is happening because the request is going to production rather than to the sandbox. How do I change the request to direct to the sandbox? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.g

Sandbox Developer Token is Invalid??

2011-07-13 Thread Neil Kirk
Hi there I am trying to connect to the adwords API using the Perl Client Library, but am hitting a couple of problems. I am following the instructions the Sandbox best practices article but am getting a 'dev

Re: Calling the get() for the CampaignService??

2011-07-12 Thread Neil Kirk
Hey David Probably because I have been taking the instructions quite literally (and not being sure if the client library is installed with my hosting service). I was initially hoping to use the client library (why make things harder for yourself, right :) I now believe that the client library

Calling the get() for the CampaignService??

2011-07-08 Thread Neil Kirk
Hi all I am trying to get to grips with the adwords API in PERL for a work project, but can't figure it out at all. I have been trying to follow these pages: http://code.google.com/apis/adwords/docs/sandbox.html http://code.google.com/apis/adwords/docs/reference/latest/CampaignService.html#get I