Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Issue usign apility v.13
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
LucaMago  
View profile  
 More options Jul 2, 8:59 am
From: LucaMago <l.magon...@blicomm.net>
Date: Thu, 2 Jul 2009 05:59:20 -0700 (PDT)
Local: Thurs, Jul 2 2009 8:59 am
Subject: Issue usign apility v.13
Hi, I’m writing because, from yesterday at 14.00 (more or less) we
can’t no more use the apility service.

Every time we try to use the apility we have this error:

Message: The specified account is inactive.
Code: 119

We are using v.1.13.1 of apility, and the error comes out when we call
the method getAllCampaigns(), while if we simply make a new istance of
APIlityUser() there are no errors.

We tried to change the account name, and its password but without
success.

Is important to say that the accounts that we tried to use, work if we
connect to the account manager panel, where we manage our campaigns.

We checked the developer and application tokens and they are both
correct compared to the ones that are in the account manager in the
apility section.

We tried to set an invalid developer tokens and, correctly, it say
that is incorrect.

We tried to change the password, in the authentication.ini file,  used
to connect to the account manager but the error is always the same:
error 119.

We have enough credit to use the apility as the account manager says
correctly.
This is really a big issue for us and for our customers.
Looking at the XML that the calls generate it seems correct, and the
answer says, always, that the account is inactive generating a 500
internal server error.

What can we do?
Thank in advance for your support

Best regards,
Luca


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rwhite35  
View profile  
 More options Jul 2, 7:33 pm
From: rwhite35 <rwh...@echotimesoftware.com>
Date: Thu, 2 Jul 2009 16:33:36 -0700 (PDT)
Local: Thurs, Jul 2 2009 7:33 pm
Subject: Re: Issue usign apility v.13
Hi Luca,

The script that is calling getAllCampaigns() may need both the clients
email and the their account ID.

My script works like this:

//create short varaibles for Google API
$mccemail = MCC_USER;  //constant set in an include file
$mccpwd = MCC_PWD;  //constant set in an include file
$clientacc = $_SESSION['useremail'];  //Clients Google Account Email
from session var
$clientid = $_SESSION['googleid'];  //Clients Google campaign ID from
session var
$devtoken = GAPI_DEV;  //constant set in an include file
$apptoken = GAPI_APP;   //constant set in an include file

(...later on...)

//use the clients Google account ID stored in the dbase
$campaignObject = createCampaignObject($clientid);
$handle = array($campaignObject->getCampaignStats($startday,
$endday));
echo "<pre>";
print_r($handle);
echo "</pre>";

Where you would swap out getCampaignStats for getAllCampaigns.

Note the object being created is using the ID and NOT the email.  The
client email was already used to authenticate with APIlity.

rwhite35

On Jul 2, 12:59 pm, LucaMago <l.magon...@blicomm.net> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google