Re: Got a refresh token for an MCC account, but GetCampaigns results in: AuthenticationError.NOT_ADS_USER

2014-03-07 Thread Frank Tolsma
t all of your descendant AdWords accounts under the MCC. > > Thanks, > > Ray > > On Thursday, March 6, 2014 4:37:16 PM UTC-5, Jake Wilson wrote: >> >> I'm not sure exactly which library you are using but for example, when >> I'm using the PHP library, you ha

Re: Got a refresh token for an MCC account, but GetCampaigns results in: AuthenticationError.NOT_ADS_USER

2014-03-06 Thread Frank Tolsma
ed a regular AdWords > (non-MCC) account. You'll need to iterate through different CIDs to pull > data for each account. > > Thanks, > > Ray > > On Wednesday, March 5, 2014 9:30:36 AM UTC-5, Frank Tolsma wrote: >> >> Going through the OAuth2 steps, I genera

Got a refresh token for an MCC account, but GetCampaigns results in: AuthenticationError.NOT_ADS_USER

2014-03-05 Thread Frank Tolsma
Going through the OAuth2 steps, I generated a refreshToken and put that in ads.properties. That was for a 'normal' account, one that is managed by/from the MCC account. Running GetCampaigns worked. Then I did the same for the MCC account, because I need all campaigns, for all customers. But tha

Re: OAuth2 migration - Maven based examples - how to run from command line ?

2014-03-05 Thread Frank Tolsma
sponded to you on your other thread. Let's continue our > conversation there. > > Cheers, > > Ray > > On Tuesday, March 4, 2014 11:17:25 AM UTC-5, Frank Tolsma wrote: >> >> I use Java from the Netbeans environment and have downloaded the Maven >> versio

Re: OAuth2 migration - using Java/Netbeans - Maven hm... how to generate something that can simply be run from the command line, without using Maven

2014-03-05 Thread Frank Tolsma
ou: > > mvn exec:java > -Dexec.mainClass="adwords.axis.v201309.basicoperations.GetCampaigns" > > Please make sure you have ads.properties file in your home directory or > the classpath. > > Thanks, > > Ray > > > On Tuesday, March 4, 2014 9:35:17 AM UTC-5

OAuth2 migration - using Java/Netbeans - Maven hm... how to generate something that can simply be run from the command line, without using Maven

2014-03-04 Thread Frank Tolsma
Migrating from ClientLogin to OAuth2, I thought it a good idea to start using Maven, as suggested. I can run the examples (like GetCampaigns) from within Netbeans, by doing a (right mouse menu): Run File. But I have to run this from another machine as well, that does not have Netbeans and Maven

OAuth2 migration - Maven based examples - how to run from command line ?

2014-03-04 Thread Frank Tolsma
I use Java from the Netbeans environment and have downloaded the Maven version of the Adwords API examples. Running them from within Netbeans, by doing Run - File, works, but how can I get Maven to build something executable that can be run from the command line? I realize this is more a Maven