.
>
>
> On Sunday, July 6, 2014 5:59:29 AM UTC+4, stiggywigget wrote:
>>
>> Cost field is a decimal value "7.44" in XML format for API v201309 (PHP)
>> Cost field is a integer value "744" in XML for
Minor correction.
$xml = ReportUtils::DownloadReport($reportDefinition, $filepath = NULL,
$user, NULL);
On Sunday, July 6, 2014 12:14:00 PM UTC-4, stiggywigget wrote:
>
> The docs clearly state that for a CAMPAIGN_PERFORMANCE_REPORT field "Cost"
> is type Money.
>
;reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
$reportDefinition->downloadFormat = 'XML';
$reportDefinition->selector = $selector;
$xml_data = DownloadReport($user, $reportDefinition);
For v201309:
For v201402:
Please help!
On Saturday, July 5, 2014 9:59:29 PM UTC-4,
Cost field is a decimal value "7.44" in XML format for API v201309 (PHP)
Cost field is a integer value "744" in XML format for API v201402 (PHP)
I haven't found an explanation for this change.
TIA.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
Our existing application uses the AdWordsUser class constructor to send
email/pass OR authentication token. It sends $oauth2Info = NULL. This has
worked fine until the current php api release (necessary for 201302/201306
support). Now it throws an oAuth2 Exception. I'm aware that ClientLogin is
v201209
PHP api v.3.2.0
I've had this problem since last Thursday.
$myObject = $infoService->get($selector); // OK; returns the object
$myObject->apiUsageRecords is null. // Bad; should be an array
This occurs perhaps 20% of the calls using the identical login.
Intermittent and seemly random. A
Sorry, v201209.
On Thursday, October 25, 2012 11:04:24 AM UTC-4, stiggywigget wrote:
>
> $myObject = $infoService->get($selector);
>
> $myObject->apiUsageRecords is null. When I run again it has the data
> expected. Service problem? Down
$myObject = $infoService->get($selector);
$myObject->apiUsageRecords is null. When I run again it has the data
expected. Service problem? Downtime posted somewhere?
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.co
Sorry, I found the 2.7.1 libraries. Now to see if they work with this
old (14 months!) code.
Kirk
On Feb 13, 10:33 pm, stiggywigget wrote:
> Need to fix the issue with requiring DeveloperTokens (as of 2/7/12).
> Stated required libraries is 2.7.1. Where can I find this version. Or
>
Need to fix the issue with requiring DeveloperTokens (as of 2/7/12).
Stated required libraries is 2.7.1. Where can I find this version. Or
anything older than v3.0.0. It appears to me that v.3 is going to
break the application and force significant rewrites. I'm using 201008
v.2.3.0 now.
Thanks!
Want to second this request. Using a keyword like 'LAST_7_DAYS' makes
reports sensitive to timezone. Is there really no mapping of ids to
timezones? Just +-GMT?
Thanks.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot
I'm trying to sort by date when defining and adding a report.
In PHP:
$selector->fields = array('CampaignId', 'CampaignName', 'Status', 'Clicks',
'Cost', 'Date');
$selector->ordering = array('Date'); // Is this correct?
$reportDefinition = new ReportDefinition();
$reportDefinition->reportName = '
Thanks. I am doing the filtering on my end now, as you suggest. I think
having a filter when requesting reports for a given client would be
very useful. Adding that as a feature request would be great. But for
now it's a solved problem.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also fin
FWIW, I've found it most efficient to store reportIds locally. There's
no filter to determine that an existing report matches criteria
(fields, predicates, date range) without iterating through all of them.
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussio
I'm new to AdWords and to the API. I'm writing a batch process that
will create and download reports. And that's all fine. But I'd also
like to be able to determine if a report with certain criteria already
exists. I can get _all_ the reports for a client id but I can't get a
report for a campaignI
I'm trying to implement something like this:
1. ClientLogin with email/pass - OK
2. Get AuthToken - OK
3. Use AuthToken for all requests - OK
But when the AuthToken expires (simulated by setting it to an
incorrect value) I get a SoapFault which has no public properties. I
can't recover from it an
Line 61 in OAuthUtils.php tries to create an instance of the OAuth
class. But there isn't such a class in the library. Is OAuth in PHP
possible?
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.c
Just a note so as to not mislead anybody. Where I wrote:
$new_token = $user->GetAuthToken();
// Now start over from the top, etc.
Before requesting the new token I create a new $user but sending login
email/pass.
$user = new AdWordsUser(SEND EMAIL AND PASS);
Then perform the same test. If there'
Thanks. I'm not trying to get information from the token. I'm trying to
handle the SoapFault that occurs when a token expires. I found a
solution.
$user = new AdWordsUser(SEND THE TOKEN HERE);
try {
// test using the CampaignService.
$campaignService = $user->GetCampaignService('v201008');
$sele
19 matches
Mail list logo