I'm wondering if there is a way yet, to download a single report for
multiple customers, something like SetClientCustomerId( array(id1, id2) )
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
Very cool, Paul! Thanks for letting us know!
On Wednesday, November 23, 2011 12:26:50 PM UTC-5, iateadonut wrote:
The following code generates a report for me:
$user = new AdWordsUser();
$user-LogDefaults();
$reportDefinitionId = (float) '131128463';
$result = ReportUtils
Clicks for an ad appears to be taken from all clicktypes, while impressions
appears to be taken from only clicktype='Headline'.
At our company, we do daily downloads of all ads and put that into a
database table, adw_ads.
Notice in the attached png,
clicks = 267
impressions = 2659
However,
that had
today's date = July 22?
Oliver
On Monday, July 22, 2013 4:51:16 PM UTC+1, iateadonut wrote:
I'm using the dataRangeType of LAST_7_DAYS, which started malfunctioning
today. (The same script I ran today did not give me results for
yesterday. When I ran it last week, it did give
I'm using the dataRangeType of LAST_7_DAYS, which started malfunctioning
today. (The same script I ran today did not give me results for
yesterday. When I ran it last week, it did give me results for
'yesterday'.)
In other words, the following test script, when run on July 22, does not
Great, I'm glad it worked for you. I've used pcntl for a few things since.
Be careful installing pcntl on a server you share with others, though. A
runaway fork can easily take down your whole server.
On Monday, June 3, 2013 9:44:19 PM UTC-4, Bill Zhang wrote:
Thank you iateadonut. Your
For example, in an ad_performance_report, there is a field:
Slot enum('SearchRhs', 'SearchTop', 'SearchOther', 'Content', 'AfsTop',
'AfsOther', 'Unknown')
Will the values in enum ever change in the future? Has there every been a
report field that was enum that was changed? Or is there a
Hi,
I'm trying to get text ads. But first, I've tried to get ad groups using
GetAdGroups.php.
From a daily report I run, I can see that the following ad groups coincide
with the following campaign:
+++
| campaignId | adGroupId |
+++
|
My keyword and campaign report totals are not matching up. It seems to be
a problem with keywords that are paused not showing up in the keyword
report.
Here is the log and the error I'm getting:
short version:
predicates
fieldStatus/field
operatorIN/operator
was using too old of a version of 201109 - updated to the
2012.jan.something release and it works now.
On Feb 9, 10:49 pm, iateadonut orienta@gmail.com wrote:
This no longer works and I'm getting a
QuotaCheckError.INVALID_TOKEN_HEADER error.
I understand this has something to do
, just to try. (This did not give me an error, incidentally,
but, then I'm not sure how to display errors in $user objects.)
Anyway, This doesn't work. Can you give me a clue how this is
supposed to work?
On Dec 16 2011, 5:57 pm, iateadonut orienta@gmail.com wrote:
OK,
changed:
$user
I'm misunderstanding:
I do this command only once:
$user = new AdWordsUser();
and then I loop through my customerId's like this:
$user-SetClientId($customerId);
I thought only 'new AdWordsUser()' would generate a new AuthToken?
On Dec 16, 3:11 am, Anash P. Oommen anash.p.oommen
to the fork and
each process will have a complete copy of the AdWordsUser object, AuthToken
and all, which can then be used to make requests without fear of CAPTCHA
challenges.
- Kevin Winter
AdWords API Team
On Friday, December 16, 2011 1:42:57 PM UTC-5, iateadonut wrote:
I'm
here's php code that will fetch reports for multiple clients, if you
have a lot of them (10 at a time):
?php
error_reporting(E_STRICT | E_ALL);
// You can set the include path to src directory or reference
// AdWordsUser.php directly via require_once.
// $path = '/path/to/aw_api_php_lib/src';
downloads that way:http://php.net/manual/en/function.pcntl-fork.php
- Kevin Winter
AdWords API Team
On Wednesday, December 14, 2011 11:33:59 PM UTC-5, iateadonut wrote:
How do you suggest requesting 10 reports at a time (from an array of
300 customerId's) using php? or is this impossible
How do you suggest requesting 10 reports at a time (from an array of
300 customerId's) using php? or is this impossible?
On Dec 12, 12:33 pm, Kevin Winter kevin.win...@google.com wrote:
Hi,
Given that AdHoc reports cost 0 units, the cost of requesting the report
to you as a developer is
My client has more than 300 sub-accounts that his company manages.
Sometimes, the sub=account may have no data returned when generating a
report.
I should just fetch each report anyway? 10 at a time and fetch 300
reports?
(Just making sure.) Thanks.
On Dec 1, 2:03 pm, Eric Koleda
Thanks.
How do I download a report that has information for all my clients
with adHoc reports?
Also, through adHoc reports, selector 'Cost' is a microAmount? How
can I change that back to a dollar amount?
Thank you.
On Nov 30, 6:07 pm, Eric Koleda eric.kol...@google.com wrote:
Hi,
The
The following code generates a report for me:
$user = new AdWordsUser();
$user-LogDefaults();
$reportDefinitionId = (float) '131128463';
$result = ReportUtils::RunAsyncReport($reportDefinitionId,
$queryToken, $user, $options);
This is the old CrossClient type of download.
This code,
Why not just loop through all the ad group id's through GetAllAds
after you receive them from GetAllAdGroups?
On Nov 16, 12:18 am, dummy one dummyone...@gmail.com wrote:
Hi ,
How to get the list of ads of the particular campaign , without
passing the adgroup id . Do google api v201101
?
On Nov 4, 1:57 pm, Kevin Winter kevin.win...@google.com wrote:
Hi,
@iateadonut, this is unsupported and will be going away. We strongly
encourage everyone to migrate to v201109 AdHoc
reports:http://code.google.com/apis/adwords/docs/reportingtopics.html#adhoc
@Andreas, Yes
Kevin,
Thanks.
- Moved the adWordsUser instantiation out of the loop.
- This is already done that way:
while ( $row06 = $result06-fetch_object() ) {
$distinctAdGroupId[] = (float) $row06-
adGroupId;}
Notice that all the adgroupsId's are put into an array and
In the PHP api, there is a file GetAllAdGroups.php in the /examples
folder. I'm sure there is something similar for java.
On Nov 16, 12:18 am, dummy one dummyone...@gmail.com wrote:
Hi ,
How to get the list of ads of the particular campaign , without
passing the adgroup id . Do google api
yes
On Nov 4, 4:58 am, Dmitriy imediamos...@gmail.com wrote:
Do you mean
BROAD: some keyword
ADVANCED BROAD: +some +keyword
?
On 2 ноя, 23:11, iateadonut orienta@gmail.com wrote:
http://code.google.com/apis/adwords/docs/reference/latest/AdGroupCrit...
How do we do advanced
You can get a report for all clients.
The php in the first post is wrong. Where it says:
$user = new AdWordsUser();
$user-SetClientId(eigene ID);
$user-LogDefaults();
Escape out the second line:
$user = new AdWordsUser();
//$user-SetClientId(eigene ID);
a) Try AddCrossClientReportDefinition.php - Make sure to add $selector-
fields = array('AdNetworkType1', 'AdNetworkType2'... - one of those
two, and you'll get the information you need.
b) This costs something like $.125/day, right? About $4/month? It
will be much cheaper for your clients to
PHP ok? This is what I have in my notes:
//adWords API stuff - see GetAllAdGroupCriteria.php
//make array containing all adGroupId's
$query06 = select distinct(adGroupId) from $db.$prefix.keywords
where ExternalCustomerId='$customerId' and
( month(date)=month(date(now())) or
Hi,
I work for a company and through them, through a google account -
accou...@gmail.com, I have access to the API (my own developer token).
I have another google account that I use for myself, for my own
adwords account, and email, etc.
I'm wondering if accou...@gmail.com can authorize the API
http://code.google.com/apis/adwords/docs/reference/latest/AdGroupCriterionService.KeywordMatchType.html
How do we do advanced broad type?
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
Would you download the report once a day?
I would recommend using the script: /examples/v201101/
DownloadCrossClientReport.php, modified of course to your
specifications.
Then, you could pull the data into a database and then create php
scripts to display your reports.
If you can't afford to
If I'm producing an object with:
$adGroupCriterionService = $user-
GetAdGroupCriterionService('v201101');
$selector-fields = array('Id', 'KeywordText');
and returning it with:
$page = $adGroupCriterionService-get($selector);
// Display ad group criteria.
if (isset($page-entries)) {
I've taken adGroup id's from a report generated in the MCC. It
clearly shows impressions and clicks for ad group id's, but when I
insert one of these id's into the $adGroupId variable in
getAllAds.php, and run getAllAds.php, I receive the reply No Ads were
found.
I'm using v201101.
Not sure why
When you create your report definition using
Add...ReportDefinition.php from the example folder, make sure to
insert the proper fields.
You can find a list of accepted fields here:
http://code.google.com/apis/adwords/docs/appendix/reports.html
On Oct 1, 9:54 pm, Nick Chernih
Found the answer.
I'm running a platform managing many clients and I had to make sure
that:
$user-SetClientId('');
was set properly, because the default value of the client id of that
object is set by the auth.ini file.
On Oct 3, 12:13 pm, iateadonut orienta@gmail.com wrote:
I've taken
referencing GetAllCampaigns.php
// Get the CampaignService.
$campaignService = $user-GetCampaignService('v201101');
// Create selector.
$selector = new Selector();
$selector-fields = array('Id', 'Name');
$selector-ordering = array(new OrderBy('Name', 'ASCENDING'));
// Get all
35 matches
Mail list logo