Re: How to get the top performing ad for a campaign?

2014-05-29 Thread Jake Wilson
Thank you for looking into this Michael. If you could reply to this post when you discover the answer or if/when it's fixed I would appreciate it. In the meantime I will run my query to grab everything and then sort it locally. Thanks, -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: How to get the top performing ad for a campaign?

2014-05-29 Thread Jake Wilson
I also get a similar error when using LIMIT... Any clues? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Yo

Re: How to get the top performing ad for a campaign?

2014-05-29 Thread Jake Wilson
eferencing. The query works just fine without the ORDER BY clause. On Thursday, May 29, 2014 8:56:23 AM UTC-6, Jake Wilson wrote: > > Ah okay that wasn't clear to me. Thank you! > > On Thursday, May 29, 2014 7:32:40 AM UTC-6, Michael Cloonan (AdWords API > Team) wro

Re: How to get the top performing ad for a campaign?

2014-05-29 Thread Jake Wilson
en running the report, just not when fetching report > definitions. > > Regards, > Mike, AdWords API Team > > On Wednesday, May 28, 2014 6:51:47 PM UTC-4, Jake Wilson wrote: >> >> I'm looking at all the ads for a campaign. I want to fetch the top >> performin

How to get the top performing ad for a campaign?

2014-05-28 Thread Jake Wilson
I'm looking at all the ads for a campaign. I want to fetch the top performing ad from the campaign. By top performing I guess I would choose the ad with the highest CTR maybe? Or maybe the Conversion rate. Anyways, I'm doing this kind of thing: $user = new AdWordsUser(); $user->setClientCus

Re: Fetch all campaigns for all accounts w/o iterating thru accounts?

2014-04-22 Thread Jake Wilson
Also, I've tried to do a "structure report", but it tells me "The client customer ID must be specified for report downloads." Any clues on this? On Tuesday, April 22, 2014 12:27:12 PM UTC-6, Jake Wilson wrote: > > We have multiple accounts in our MMC. Right now,

Fetch all campaigns for all accounts w/o iterating thru accounts?

2014-04-22 Thread Jake Wilson
We have multiple accounts in our MMC. Right now, in order to fetch a list of campaigns, it's on a per-account basis. That is, we have to specify which account we want to fetch campaigns for: $user = new AdWordsUser(); $user->setClientCustomerId($accountId); $campaignService = $user->GetServic

Re: PHP API > Custom date range for AD_PERFORMANCE_REPORT

2014-03-18 Thread Jake Wilson
$reportDefinition->dateRangeType = 'CUSTOM_DATE'; > > > - Danial, AdWords API Team. > > > On Tuesday, March 18, 2014 3:02:20 AM UTC+4, Jake Wilson wrote: >> >> Trying to get an ad performance report for a custom range: >> >> $reportDefinition = new ReportDefini

PHP API > Custom date range for AD_PERFORMANCE_REPORT

2014-03-17 Thread Jake Wilson
Trying to get an ad performance report for a custom range: $reportDefinition = new ReportDefinition(); $reportDefinition->selector = $selector; $reportDefinition->reportName = 'Ad performance report #' . uniqid(); $reportDefinition->dateRange = new DateRange('20140101', '20140110'); $reportDefinit

Re: PHP Lib - Report data w/o pre-formatted downloaded report file?

2014-03-14 Thread Jake Wilson
sounds like this would be preferable > for your use case. > > Cheers, > Josh, AdWords API Team > > On Friday, March 14, 2014 12:43:24 AM UTC-4, Jake Wilson wrote: >> >> Using the PHP Lib, there is the ReportUtils.php class(es). The way the >> exampl

PHP Lib - Report data w/o pre-formatted downloaded report file?

2014-03-13 Thread Jake Wilson
Using the PHP Lib, there is the ReportUtils.php class(es). The way the example scripts work for reporting is that your report is downloaded to a file on your computer. The file is pre-formatted sort of like this: Report Title Blah Blah StartDate - End Date CSV column description data rows (csv

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

2014-03-06 Thread Jake Wilson
I'm not sure exactly which library you are using but for example, when I'm using the PHP library, you have to specify which Account ID you want to fetch campaigns for like this: $user = new AdWordsUser(); $user->setClientCustomerId(39495930303); <--- Account ID You have to get the account IDs

How to get cost, clicks, impressions etc for keyword?

2014-03-05 Thread Jake Wilson
I'm using the PHP lib. Can't figure out how to get various reporting information for a specific keyword in an Adgroup in a certain date range. Also I can't figure out how to get the same values for the sum of all keywords in an Adgroup for a date range. I think that I'm mostly confused on the

Re: PHP > AdGroupService SelectorError.INVALID_FIELD_NAME @ serviceSelector

2014-03-05 Thread Jake Wilson
de', SelectorError.INVALID_FIELD_NAME @ serviceSelector; trigger:'TargetSpendBidCeiling', SelectorError.INVALID_FIELD_NAME @ serviceSelector; trigger:'TargetSpendSpendTarget'] If I remove the invalid fields from the array in the script, then I get back a response just fine

PHP > AdGroupService SelectorError.INVALID_FIELD_NAME @ serviceSelector

2014-03-04 Thread Jake Wilson
I'm using the PHP lib. According to the following page: https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201309-AdGroupService I should be able to query for the following values: BidType BiddingStrategyId BiddingStrategyName BiddingStrategySource BiddingStrategyType Cam

GetRefreshToken.php > Error: disabled_client The OAuth client was disabled.

2014-03-03 Thread Jake Wilson
I am building a simple web app to connect to our Adwords MMC and spit out some reports. In the Google API Console I created a new Client ID. I chose Installed Application even though this is a web-based PHP tool I'm making. This page: https://developers.google.com/adwords/api/docs/guides/aut

PHP API > GetRefreshToken.php > Error: disabled_client The OAuth client was disabled.

2014-03-03 Thread Jake Wilson
I am building a simple web app to connect to our Adwords MMC and spit out some reports. In the Google API Console I created a new (Installed Application) Client ID. I chose Installed Application even though this is a web-based PHP tool I'm making. This page: https://developers.google.com/adw

GetRefreshToken.php > Error: disabled_client The OAuth client was disabled.

2014-03-03 Thread Jake Wilson
I am building a simple web app to connect to our Adwords MMC and spit out some reports. In the Google API Console I created a new Client ID. I chose Installed Application even though this is a web-based PHP tool I'm making. This page: https://developers.google.com/adwords/api/docs/guides/auth