Re: Pause/Enable/Delete text ad and keyword

2012-07-03 Thread opalepatrick
I'd be an adwords guru as well if I went around giving linkd to the docs 
and not answering the question

On Friday, January 7, 2011 9:23:43 PM UTC+1, Pete Lavetsky (AdWords API 
Guru) wrote:

 API reference is here: 
 http://code.google.com/apis/adwords/docs/developer/index.html 

 Code examples here: 
 http://code.google.com/apis/adwords/docs/clientlibraries.html 

 Pete 

 On Jan 7, 9:23 am, Ramesh Amala Srinivasan amalavisi...@gmail.com 
 wrote: 
  i have some text ads under a group. 
  i am able to change the status of the group - pause/enable/delete 
  
  now how do i update the status of text ads ?? 
  
   also i want to update status of keywords [active/inactive or pause]

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


php code examples update keyword status

2012-07-03 Thread opalepatrick
HI,

be appreciated if someone can point me at a current link with php examples 
showing how to update keyword status.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: php code examples update keyword status

2012-07-03 Thread opalepatrick
Thanks a lot Steve, run off now and have a go :-)

On Tuesday, July 3, 2012 5:36:04 PM UTC+2, Steve wrote:



 On Tuesday, July 3, 2012 8:30:40 AM UTC-7, opalepatrick wrote:

 HI,

 be appreciated if someone can point me at a current link with php 
 examples showing how to update keyword status.



 Hi.

 Here is a function (in PHP) I use to perform basic updates to keywords... 
 like CPC updates, activate, url, etc. 

 public function updateKeywords($ary) { 
 
 $user = new AdWordsUser(null, $this-username, $this-password, 
 $this-developerToken);
 $user-SetDefaultServer($this-setServer);
 $user-LogAll();
 $user-SetClientId(null);

 $user-SetClientId($this-customerId); 

 // Get the service, which loads the required classes.
 $adGroupCriterionService = 
 $user-GetService('AdGroupCriterionService', 'v201109'); 

 // Create criterion using an existing ID. Use the base class 
 Criterion
 // instead of Keyword to avoid having to set keyword-specific 
 fields.
 $criterion = new Criterion();
 $criterion-id = $ary['criterionId'];

 // Create ad group criterion.
 $adGroupCriterion = new BiddableAdGroupCriterion();
 $adGroupCriterion-adGroupId = $this-adGroupId;
 $adGroupCriterion-criterion = new Criterion($ary['criterionId']);

 // Update destination URL.
 $adGroupCriterion-userStatus = 'ACTIVE';
 $adGroupCriterion-destinationUrl = $ary['destinationUrl'];
 
 $bids = new ManualCPCAdGroupCriterionBids();
 $bids-maxCpc = new Bid(new Money($ary['maxCpc']));
 $adGroupCriterion-bids = $bids;   

 // Create operation.
 $operation = new AdGroupCriterionOperation();
 $operation-operand = $adGroupCriterion;
 $operation-operator = 'SET';

 $operations = array($operation);

 // Make the mutate request.
 $result = $adGroupCriterionService-mutate($operations);

 // Display result.
 $adGroupCriterion = $result-value[0];
 printf(Keyword with id '%s' has updated destination URL '%s'.\n,
 $adGroupCriterion-criterion-id, 
 $adGroupCriterion-destinationUrl);  
 
 return $adGroupCriterion; 
 
 }




-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'null'???

2012-01-19 Thread opalepatrick
Using php, I have always had the developers token in the auth.ini, so
why am I getting this message?

On Jan 19, 3:12 pm, Eric Koleda eric.kol...@google.com wrote:
 Hi Alexander,

 We first communicated this change in November of last year, and then again
 about a week ago:

 http://adwordsapi.blogspot.com/2011/11/update2-developer-token-requir...http://googleadsdeveloper.blogspot.com/2012/01/developer-token-requir...

 Sunil,

 Please make sure you are using the latest version of the .NET client
 library, as older versions may not send the developer token along with
 report download requests.

 Best,
 - Eric

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'null'???

2012-01-19 Thread opalepatrick
OK, uploaded the 2.7.2 library and that solved the issue. But why did
I have to go through loads of stuff to find that out. Also, the idea
of using a blog of all things to announce important updates is just
daft. There has to be a better way. I just switch off with blog stuff
it just gets lumped into all the chatter and becomes part of the
drone. As someone else said, this sort of thing that can break scripts
needs to be flagged in a better way.

On Jan 19, 4:30 pm, opalepatrick ad...@patpatworks.com wrote:
 Using php, I have always had the developers token in the auth.ini, so
 why am I getting this message?

 On Jan 19, 3:12 pm, Eric Koleda eric.kol...@google.com wrote:







  Hi Alexander,

  We first communicated this change in November of last year, and then again
  about a week ago:

 http://adwordsapi.blogspot.com/2011/11/update2-developer-token-requir..

  Sunil,

  Please make sure you are using the latest version of the .NET client
  library, as older versions may not send the developer token along with
  report download requests.

  Best,
  - Eric

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Default Max. CPC for adgroup

2011-10-31 Thread opalepatrick
OK I can see that it is AdGroupService, so now I could do with an example 
for using the bid multiplier (in php preferably) but any language would help

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Default Max. CPC for adgroup

2011-10-31 Thread opalepatrick
I want to try an adapatation of the status update stuff.

while ($row = mysql_fetch_assoc($result)) {
// Create ad group with updated bid.
$adGroup = new AdGroup();
$adGroup-id = (float) $row['adgid'];
$adGroup-multiplier = 0.75;
// Create operations.
$operation = new AdGroupOperation();
$operation-operand = $adGroup;
$operation-operator = 'SET';
$newops[] = $operation;
}
$operations = $newops;

Will this adapt the adgroup max default cpc by 0.75?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-12 Thread opalepatrick
Well this morning twice I got
'ReportDefinitionError.INVALID_REPORT_DEFINITION_ID@selector.selector',
then the third time, it worked (this is a re-created report via the
API), still working.

However, I also cannot get a report because $user-LogAll(); gives me
a fatal error, $user-LogDefaults(); does not. I have checked and
double-checked the includes and paths to Logger.php but get this error
no matter what on more than one report. I appreciate this may be an
unrelated matter, but as I am getting totally sporadic behaviour, and
I cant get a SOAP XML...?


On Aug 11, 8:07 pm, Kevin Winter kevin.win...@google.com wrote:
 Hi,
   The README has instructions on how to do 
 it:http://code.google.com/p/google-api-adwords-php/source/browse/trunk/R...

 - Kevin

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-11 Thread opalepatrick
Actually that is not strictly true Kevin. I re-created a report via
the API yesterday and it did exactly the same thing?

On Aug 11, 4:14 pm, Kevin Winter kevin.win...@google.com wrote:
 Hi All,
   I just wanted to let everyone know we are aware of the problem.  This only
 seems to affect reports that were created in the UI and are being downloaded
 via the API.  We're still researching the best solution given that some of
 the fields in the reports are not allowed in API reports.  In the meantime,
 redefining the report via the API and using that moving forward permanently
 fixes the issue for an individual report (since it will not longer have the
 fields that only the UI can add).

 We'll be sure to let you know when we have a fix.

 - Kevin Winter
 AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-11 Thread opalepatrick
Hi, straightforward keyword_performance_report with 13 fields as
required. Checked it just with GetReportDefinitions and it hasnt
changed.

I knew I would get asked for SOAP XML, never done it, so how doers one
turn on SOAP logging (for the record)?

Thanks

On Aug 11, 5:56 pm, Kevin Winter kevin.win...@google.com wrote:
 Hi,
   Could you provide the sanitized SOAP XML request that created the report?

 Also, if you use a GET to retrieve the reportDefinition, does it have the
 same fields as when you created it?

 - Kevin Winter

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-11 Thread opalepatrick
v201008 Kevin

On Aug 11, 7:37 pm, Kevin Winter kevin.win...@google.com wrote:
 Hi,
   Which client library are you using?  They each have their own method of
 turning it on:http://code.google.com/apis/adwords/docs/clientlibraries.html

 - Kevin Winter

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-11 Thread opalepatrick
Sorry - PHP :-)

On Aug 11, 7:59 pm, opalepatrick ad...@patpatworks.com wrote:
 v201008 Kevin

 On Aug 11, 7:37 pm, Kevin Winter kevin.win...@google.com wrote:



  Hi,
    Which client library are you using?  They each have their own method of
  turning it on:http://code.google.com/apis/adwords/docs/clientlibraries.html

  - Kevin Winter

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: ReportDefinitionError - Simple Campaign Report

2011-08-10 Thread opalepatrick
Hi Jon,

yes I spoke to soon and it returned again this morning. Strange thing
is that I have identical reports running on two accounts. One lot
works the others dont. I have raised the issue with support as well,
but early days. I noticed that another thread has spring up with the
same sort of problems - 
http://groups.google.com/group/adwords-api/browse_thread/thread/4697465f60036ff4#

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

2011-08-10 Thread opalepatrick
I have been having the same problem over on another thread, and
without wishing to suggest that this won't work for some, I do know
that I created reports yesterday directly from the API and still have
the same sort of problem: This seems to be the favourite

ReportDefinitionError.INVALID_REPORT_DEFINITION_ID@selector.selector

although this one copmes up as well

ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus

Anyway, in a normal forum some moderator would merge the threads,
but :-)

On Aug 10, 10:22 pm, Jon Brown jcb...@gmail.com wrote:
 Understood. There was some combination of things that wouldn't allow
 me to do it that way at the time. I think it had to do with old versus
 new reports for MCC account cross-client reports.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: ReportDefinitionError - Simple Campaign Report

2011-08-09 Thread opalepatrick
Hi Pete, thanks for replying. No it didnt, I actually ran the script via 
shell a number of times, but that is all it came back with.

However, I forgot about it and when your post came thorugh, I relaised that 
the cron for the early hours this morning was working again without any 
changes. Bizarre hey? 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


ReportDefinitionError - Simple Campaign Report

2011-08-08 Thread opalepatrick
I am getting a - 
ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT@PrimaryDisplayStatus - 
on a report that works once a day by cron and has worked fine for months. It 
is just getting a pre-existing report. I checked that the report was correct 
(it is).

Can't understand why it would just stop working. To be sure, I overwrote the 
php script just in case it had got corrupted but with no difference.

An identical script except on a different account with different report id 
works fine.

Any ideas?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Update array of Adgroups statuses

2011-06-01 Thread opalepatrick
Thanks for that Danial. After much gnashing of teeth, I did manage to
do what you suggested, although for other users it might be useful for
others to know that the $adGroup operands need to be inside that loop
as well. Well useful for people like me with big holes in their php
education :-)

On May 30, 5:43 pm, Danial Klimkin danial.klim...@google.com wrote:
 Hello opalepatrick,

 From the example here:

 http://code.google.com/p/google-api-adwords-php/source/browse/trunk/e...

 Code:

   // Create operations.

   $operation = new AdGroupOperation();
   $operation-operand = $adGroup;
   $operation-operator = 'SET';

   $operations = array($operation);

 To update multiple ad groups, just add more operations to the $operations 
 array. Each of them will have operator 'SET' and it's own operand.

 -Danial, AdWords API Team.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Error not making sense - EntityNotFound.INVALID_ID @ operations[0].operand.adGroupId

2011-06-01 Thread opalepatrick
I am getting

EntityNotFound.INVALID_ID @ operations[0].operand.adGroupId;
trigger:'923377807'

from an attempt to change the status of keywords using
AdGroupCriterionService

This is an array from one of them. As far as I can work out, I am
passing the correct data. (I take it in this instance the criterion id
would be the keyword id?) The adgroup does exist, the account is
correct. I am passing this directly to a client account. Help
appreciated.

[1] = AdGroupCriterionOperation Object
(
[operand] = BiddableAdGroupCriterion Object
(
[userStatus] = PAUSED
[systemServingStatus] =
[approvalStatus] =
[destinationUrl] =
[bids] =
[experimentData] =
[firstPageCpc] =
[qualityInfo] =
[stats] =
[adGroupId] = 951187267
[criterion] = Criterion Object
(
[id] = 2147483647
[CriterionType] =
[_parameterMap:private] = Array
(
[Criterion.Type] = CriterionType
)

)

[AdGroupCriterionType] =
[_parameterMap:private] = Array
(
[AdGroupCriterion.Type] =
AdGroupCriterionType
)

)

[exemptionRequests] =
[operator] = SET
[OperationType] =
[_parameterMap:private] = Array
(
[Operation.Type] = OperationType
)

)

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Error not making sense - EntityNotFound.INVALID_ID @ operations[0].operand.adGroupId

2011-06-01 Thread opalepatrick
Ignore this. Adgroup id's are wrong. Apologies

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Update array of Adgroups statuses

2011-05-27 Thread opalepatrick
Hi,

I can see how I would go about updating the status of one adgroup in the php 
code example UpdateAdgroup.php. How would I update hundreds of groups from 
an array of hundreds of adGroupId's and mutate as single operation? Problem 
I have is that I am not sure what elements need to be looped before passing 
to the operation array.

Any help appreciated.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Keyword cost disconnect

2011-03-16 Thread opalepatrick
I log click data on my ads in a database with campaign, adgroup, keyword 
data. For a while I have attempted to match keywords costs from a keyword 
report, by taking an average cost for that phrase for the day and entering 
where the campaign, adgroup and keyword are the same.

This all seems a bit fuzzy and not very accurate for several reasons. One is 
the inexact cost per keyword and the fact that the match may be either too 
loose or too tight, and the other is of course that I will not be as good as 
Google at filtering out spurious clicks in my own database. So when I apply 
aggregated cost I can end up applying it also to clicks that are not 
clicked.

I wondered what approach others have used to tighten this up. I cant use 
analytics for several reasons.

I use php, but it is more the approach that I am interested in. I am just 
about to re-write a lot of my app and wondered what others do?

Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en