reporting - multiple customers - SetClientCustomerId( array(id1, id2) )

2014-11-07 Thread iateadonut
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/

Re: updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2013-10-15 Thread iateadonut
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

impressions clicks bug - clicktype headline

2013-09-26 Thread iateadonut
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,

Re: dateRangeType = 'LAST_7_DAYS'; not working correctly - Downloading report on july 22 not giving july 21 data

2013-07-23 Thread iateadonut
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

dateRangeType = 'LAST_7_DAYS'; not working correctly - Downloading report on july 22 not giving july 21 data

2013-07-22 Thread iateadonut
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

Re: updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2013-07-22 Thread iateadonut
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

do enum fields ever change?

2012-07-12 Thread iateadonut
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

GetTextAds.php and GetAdGroups.php returning no ads/adgroups

2012-07-11 Thread iateadonut
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 | +++ |

cannot add Enabled, Deleted, Paused predicates to keyword report - [SelectorError.INVALID_PREDICATE_ENUM_VALUE @ selector; trigger:'Enabled'; errorDetails:Enabled, SelectorError.INVALID_PREDICATE_ENUM

2012-06-08 Thread iateadonut
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

Re: updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2012-02-14 Thread iateadonut
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

Re: updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2012-02-09 Thread iateadonut
, 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

Re: updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2011-12-16 Thread iateadonut
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

Re: updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2011-12-16 Thread iateadonut
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

Re: [ReportDefinitionError. CUSTOMER_SERVING_TYPE_REPORT_MISMATCH @ operations]

2011-12-16 Thread iateadonut
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';

Re: updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2011-12-15 Thread iateadonut
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

Re: updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2011-12-14 Thread iateadonut
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

Re: updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2011-12-12 Thread iateadonut
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

Re: updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2011-12-01 Thread iateadonut
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

updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2011-11-23 Thread iateadonut
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,

Re: How to get the list of ads of the campaign without knowing adgroupid

2011-11-18 Thread iateadonut
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

Re: [ReportDefinitionError. CUSTOMER_SERVING_TYPE_REPORT_MISMATCH @ operations]

2011-11-17 Thread iateadonut
? 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

Re: Fetch Keyword object from Adwords account

2011-11-17 Thread iateadonut
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

Re: How to get the list of ads of the campaign without knowing adgroupid

2011-11-17 Thread iateadonut
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

Re: advanced broad

2011-11-04 Thread iateadonut
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

Re: [ReportDefinitionError. CUSTOMER_SERVING_TYPE_REPORT_MISMATCH @ operations]

2011-11-04 Thread iateadonut
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);

Re: Stats.Network in API calls and/or Report-based workarounds

2011-11-02 Thread iateadonut
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

Re: Fetch Keyword object from Adwords account

2011-11-02 Thread iateadonut
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

adding developer to account?

2011-11-02 Thread iateadonut
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

advanced broad

2011-11-02 Thread iateadonut
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

Re: Marketing Dashboards

2011-11-01 Thread iateadonut
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

getting keywords maxCPC using php from GetAdGroupCriterionService

2011-10-17 Thread iateadonut
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)) {

running getAllAds.php - getting No ads were found.

2011-10-03 Thread iateadonut
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

Re: Impression share and display network

2011-10-03 Thread iateadonut
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

Re: running getAllAds.php - getting No ads were found.

2011-10-03 Thread iateadonut
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

acceptable inputs for the array $selector-fields in GetCampaignService()

2011-08-31 Thread iateadonut
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