Batch Job v201705

2017-06-21 Thread Kanan Farzali
Hi All, I have updated my old code into the new version v201705. //Bulk Adwords functions public function createBatchJob($clientId, $operations) { $oAuth2Credential = (new OAuth2TokenBuilder()) ->fromFile() ->build(); // Construct an API session configured from a properti

Creating Bath Job Doesn't Work

2017-06-20 Thread Kanan Farzali
Hi Google, I have recently updated my code to the new API - v 201705 now being used and the code has been updated respectively. The new code looks like this (php): function createBatchJob($clientId, $operations) { $oAuth2Credential = (new OAuth2TokenBuilder()) ->fromFile() ->build(); // Co

Switching from MutateJobService to BulkJobService

2016-04-12 Thread Kanan Farzali
Hi, I am trying to change the old 'MutateJobService' to 'BulkJobService' as the former service has been deprecated in the last version of the API. I use PHP, and my code currently looks like this: public function create_mutate_job($client_id, $operations) { $user = new AdWordsUser(

Re: Which one is our current bid in a bid simulation data?

2016-03-19 Thread Kanan Farzali
bleValueType":"Money"},"clicks":0,"cost":{"microAmount":0,"ComparableValueType":"Money"},"impressions":15,"promotedImpressions":0},{"bid":{"microAmount":8,"ComparableValueType":&qu

Re: Which one is our current bid in a bid simulation data?

2016-03-19 Thread Kanan Farzali
On Monday, March 14, 2016 at 10:01:32 AM UTC, Kanan Farzali wrote: > > Hi Google Team, > > When I get data from Adwords API (BidLandscape), it gives the data in a > similar format: > > {"data":{"entries":[ > > > {"type":"UNI

Re: Which one is our current bid in a bid simulation data?

2016-03-15 Thread Kanan Farzali
current bid for the ad group, and > then compare that bid to the landscape points to find the point that > matches your bid. I know this isn't ideal, but it might help if you > urgently need to match up the data in this way. > > Thanks, > Josh, AdWords API Team >

Re: Which one is our current bid in a bid simulation data?

2016-03-14 Thread Kanan Farzali
landscapeCurrent boolean attribute > <https://developers.google.com/adwords/api/docs/reference/v201601/DataService.AdGroupBidLandscape#landscapecurrent> > populated. > This will be set to *true* for the landscape for the current bid. > > Cheers, > Josh, AdWords API Team &

Which one is our current bid in a bid simulation data?

2016-03-14 Thread Kanan Farzali
Hi Google Team, When I get data from Adwords API (BidLandscape), it gives the data in a similar format: {"data":{"entries":[ {"type":"UNIFORM","landscapeCurrent":null,"campaignId":"xxx","adGroupId":"xxx","startDate":"20160308","endDate":"20160309","landscapePoints":[{"bid":{"microAmount":43

Which one is my current cpc in Bid Simulator data from API?

2016-03-14 Thread Kanan Farzali
Hi Google Team, When I get data from Adwords API (BidLandscape), it gives the data in a similar format: {"data":{"entries":[ {"type":"UNIFORM","landscapeCurrent":null,"campaignId":"xxx","adGroupId":"xxx","startDate":"20160308","endDate":"20160309","landscapePoints":[{"bid":{"microAmount":43

Re: DataService (v201101) not returning results within the Selector DateRange

2016-02-08 Thread Kanan Farzali
How to do it with php? Can you answer here: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/adwords-api/0EfkcsNf7DU/hg3fDoRMGAAJ ? On Friday, February 5, 2016 at 9:43:46 PM UTC, Anthony Madrigal wrote: > > Hi Kanan, > > You can set the DateRange for the DataService by

How to set date range in Bid Landscapes - Adwords API

2016-02-08 Thread Kanan Farzali
I am playing with Bid Landscapes , and as the official documentation describes: Bid landscapes are a way for you to research information about estimated performance for your ad groups and criteria. I am testing the API in

Re: DataService (v201101) not returning results within the Selector DateRange

2016-02-05 Thread Kanan Farzali
How to set DateRange for DataService? On Thursday, October 6, 2011 at 8:01:02 PM UTC+1, David Torres wrote: > > Hi, > > The dateRange field is generic for the selector and serves to specify a > date range for statistics returned by other services i.e. CampaignService > but it has no effect for t

Re: A silly question. What is an AdGroupBidLandscape?

2016-02-05 Thread Kanan Farzali
You mentioned that bid landscapes are either retrieved at ad group level or criterion level. What is the best way to get that data fro a client level if client got like 1000 campaigns? On Tuesday, August 7, 2012 at 6:25:39 PM UTC+1, jstedman wrote: > > Probably not as silly a question as you thi

Re: Setting CpcBid in a keyword when using the AdGroupCriterionService

2015-10-20 Thread Kanan Farzali
Is Criterion ID is a keyword ID here? Thanks. On Monday, October 12, 2015 at 5:30:15 PM UTC+1, Alan Coleman wrote: > > Hello everyone, > > I'm using the AdGroupCriterionService > > in > an attempt to upd

How to change bids on keyword?

2015-10-19 Thread Kanan Farzali
Hi, I want to change bids on keywords, but it looks like it fails silently. My code is in PHP. Input variables are: 1. Client ID 2. Keyword ID 3. Amount What is wrong in this code? public function setKeywordBidOperations($client_id, $hierarchy, $bidNonMicro) { $user = new AdwordsUser(