Re: How to handle RateExceededError.retryAfterSeconds in PHP v201502

2015-07-28 Thread Kristopher Windsor
Someone just asked a similar question, so I replied to that other thread: Other thread Thanks, On Tuesday, July 28, 2015 at 6:02:34 AM UTC-7, Sarah Riddell wrote: > > Hi, > > Today i am facing *RateExceededError *on my standard ac

Re: Wait and Retry logic to avoid RateExceedError in PHP

2015-07-28 Thread Kristopher Windsor
public static function mutateEntities($adwords_user, $service_name, $ops){ $service = $adwords_user->GetService($service_name, Utils:: ADWORDS_VERSION); $opc = count($ops); if ($opc > 5000) throw new \Exception('Too many operations for ' . $service_name); for ($iii = 0; $i

Re: RateExceededError keep

2015-07-23 Thread Kristopher Windsor
find our the exact reason we >>>>>> get this error? >>>>>> >>>>>> Thanks! >>>>>> >>>>>> On Thursday, July 23, 2015 at 4:21:42 PM UTC+3, Michael Cloonan >>>>>> (AdWords API Team) wrote: >&g

Re: RateExceededError keep

2015-07-22 Thread Kristopher Windsor
I am also seeing this error. Our application has been running for months without major changes, and we just noticed many rate exceeded errors starting yesterday. We have a token bucket implementation, exponential back-off strategy, everything that was recommended. I think something has changed

How to Get Reach Estimate Through the API?

2015-07-13 Thread Kristopher Windsor
Hi, In the Adwords UI, "you can see an estimate of impressions available per week on the Google Display Network for your ad group" (see below link). https://support.google.com/adwords/answer/2475441?hl=en The above page says: "The estimates you see don't represent the actual traffic your ads w

Re: Lots of 502 bad gateway errors

2015-06-09 Thread Kristopher Windsor
Hi, I am seeing this error much more than usual, starting sometime in the last 2-3 weeks: SOAP-ERROR: Parsing WSDL: Couldn't load from > 'https:\/\/adwords.google.com\/api\/adwords\/cm\/v201502\/AdGroupService?wsdl' > > : failed to load external entity > \"https:\/\/adwords.google.com\/api\/

"Google Analytics column titles have been updated to match the Adwords user interface" 201502 migration

2015-05-01 Thread Kristopher Windsor
Hi, In the migration guide to Adwords API v201502, I see: Google Analytics column titles have been updated to match the Adwords user > interface > What is this referring to? Thanks, -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googlea

AD_PERFORMANCE_REPORT vs Display Ads in "Ads in mobile apps" campaigns

2015-04-08 Thread Kristopher Windsor
Hi, I have found that Display Ads -- the ads in campaigns with subtype "Ads in mobile apps" -- do not appear correctly in this report. I am using the AD_PERFORMANCE_REPORT report via v201409, php, CSV format. - Text Display Ads -- the headline is: *Display Ad created 9/15/14 - Play With Mi

Namespace for PHP Client Library

2014-11-24 Thread Kristopher Windsor
Hi, The Adwords API PHP client library defines, among other things, a class named "Logger" in the global namespace that will conflict with another Logger class we want to use. Is there an easy way to put all of the client library code into a namespace to avoid the class name collision? In AdsU

Re: Which API errors should be retried?

2014-11-20 Thread Kristopher Windsor
this closely? It seems like it is tedious to find the actual instances of ApiError within SoapFault. On Tuesday, November 18, 2014 1:35:34 PM UTC-8, Kristopher Windsor wrote: > > Hi, > > When the Adwords API throws an Exception, I'd like to know if I should > retry (intermittent

Which API errors should be retried?

2014-11-18 Thread Kristopher Windsor
Hi, When the Adwords API throws an Exception, I'd like to know if I should retry (intermittent errors) or not (bad input on my end). I am using the PHP client library. For example, I should retry for this case: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR But not for this case: BiddingError.B

Re: Placement Performance Report isRestrict

2014-10-29 Thread Kristopher Windsor
Thanks! That makes sense. And I see that this setting is applied per adgroup per criterion type, rather than per criterion. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDev

Re: is it possible via API v201409 to set a campaign sub-type , and how?

2014-10-29 Thread Kristopher Windsor
>From the release notes: https://developers.google.com/adwords/api/docs/reference/ Mobile campaigns for search and display > > Search Mobile App and Display Mobile App campaign subtypes >

Re: Click through rate bigger the 100%

2014-10-29 Thread Kristopher Windsor
I have seen what is probably the same issue in the Adwords UI, where for a particular placement, I can get 1 impressions 3 clicks for example. On Tuesday, October 28, 2014 3:27:30 PM UTC-7, Luca Fiaschi wrote: > > Hi, > Pulling a keyword performance report > >SELECT Clicks, Conversions,

How to use skipReportSummary in PHP Client Library?

2014-10-29 Thread Kristopher Windsor
Hi, I see the new Adwords version allows a skipReportSummary setting for reports. How can I set this field in the PHP Client library? I do not see a reference to it in the ReportDefinition class. Thanks, -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Googl

Placement Performance Report isRestrict

2014-10-29 Thread Kristopher Windsor
Hi, I cannot figure out from the documentation what the intended use of isRestrict is for this report, PLACEMENT_PERFORMANCE_REPORT. The docs say: Use the isRestrict column to distinguish between placements you target vs. > placements only used for bidding. > And: Defines if criterion is use

Re: Fault occurred while processing - BiddableAdGroupCriterion [v201402] [PHP]

2014-10-02 Thread Kristopher Windsor
Nevermind, I found the error. I was doing: new AdGroupCriterionOperation($op, 'SET') But AdGroupCriterionOperation does not take a second parameter like AdGroupOperation, so operator was null. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https:/

Re: Fault occurred while processing - BiddableAdGroupCriterion [v201402] [PHP]

2014-10-02 Thread Kristopher Windsor
Or without catching the original Exception, the stack trace is: Fatal error: Uncaught SoapFault exception: [soap:Server] Fault occurred while processing. in /code/bidder/lib/legacy/adwords/Google/Api/Ads/Common/ Lib/AdsSoapClient.php:232 Stack trace: #0 /code/bidder/lib/legacy/adwords/Google/Api/

Re: Fault occurred while processing - BiddableAdGroupCriterion [v201402] [PHP]

2014-10-02 Thread Kristopher Windsor
rds/AdwordsCampaignAPI.php(306): AdGroupCriterionService->mutate(Array)... On Thursday, October 2, 2014 6:03:02 PM UTC-7, Kristopher Windsor wrote: > > Hi, > > I am querying for BiddableAdGroupCriterion, changing the > biddingStrategyConfiguration on each criterion, and then

Fault occurred while processing - BiddableAdGroupCriterion [v201402] [PHP]

2014-10-02 Thread Kristopher Windsor
Hi, I am querying for BiddableAdGroupCriterion, changing the biddingStrategyConfiguration on each criterion, and then trying to send the changes to Adwords. I get this same error regardless if operator is ADD or SET. How can I fix this? Thanks, Code: public static function mutateEntities($a

How to create campaign that will show up as "Mobile app installs" in Adwords UI?

2014-09-08 Thread Kristopher Windsor
In the Adwords UI there is this campaign subtype "Mobile app installs," and if you choose it, you select one mobile app that is tied to the campaign. In the API, I see nothing to differentiate campaign subtypes "Mobile app installs" from "Ads in mobile apps," and no way to tie a mobile app to a

Re: How to add OPERATING_SYSTEM_VERSION criterion to campaign [PHP] [v201402]

2014-07-29 Thread Kristopher Windsor
> > . > > Cheers, > Josh, AdWords API Team > > On Monday, July 28, 2014 3:53:26 PM UTC-4, Kristopher Windsor wrote: >> >> Hi, >> >> I would like to apply an OperatingSystemVersion criterion to a campaign. >> The code below does not work because I cre

How to add OPERATING_SYSTEM_VERSION criterion to campaign [PHP] [v201402]

2014-07-28 Thread Kristopher Windsor
Hi, I would like to apply an OperatingSystemVersion criterion to a campaign. The code below does not work because I create a criterion, but it does not have an ID. public function doOSVersionCriterion($campaign){ $campaignCriterionService = $this->user->GetService( 'CampaignCriterionServ