Re: Selecting AdGroups by KeywordContentMaxCpc, not working?

2012-07-31 Thread Rallan
So this just doesn't work and/or you cant be bothered to help? Great. 
Thanks.

On Tuesday, July 3, 2012 3:57:08 PM UTC+1, Rallan wrote:

 Any help?

 On Saturday, June 23, 2012 11:16:25 PM UTC+1, Rallan wrote:

 Hi. I'm working in PHP on my own site, and I am a newbie so if I am 
 missing something obvious please be patient :-)

 I've been unable to get the sandbox working so I am working (carefully) 
 with a test campaign in the live environment. I need to select AdGroups 
 based on their KeywordContentMaxCpc, which is supposed to be Filterable  
 Selectable. I've uploaded six test AdGroups (via Adwords Editor v9.7.1) 
 with the value filled in.

 If I select as follows I get No AdGroups Found:

   $aPredicates = array();
   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 
 round($bid * 100));
   $selector-predicates = $aPredicates;

 If I select as follows all six AdGroups are returned:

   $aPredicates = array();
   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 0);
   $selector-predicates = $aPredicates;

 However if I then display the field information I can see that the values 
 ARE present!

   if (isset($page-entries)) {
 foreach ($page-entries as $adGroup) {
 echo $adGroup-bids-keywordMaxCpc-amount-microAmount;
 }
   }

 Which returns returns the following values:

 50
 60
 130
 60
 80
 60



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Selecting AdGroups by KeywordContentMaxCpc, not working?

2012-07-03 Thread Rallan
Any help?

On Saturday, June 23, 2012 11:16:25 PM UTC+1, Rallan wrote:

 Hi. I'm working in PHP on my own site, and I am a newbie so if I am 
 missing something obvious please be patient :-)

 I've been unable to get the sandbox working so I am working (carefully) 
 with a test campaign in the live environment. I need to select AdGroups 
 based on their KeywordContentMaxCpc, which is supposed to be Filterable  
 Selectable. I've uploaded six test AdGroups (via Adwords Editor v9.7.1) 
 with the value filled in.

 If I select as follows I get No AdGroups Found:

   $aPredicates = array();
   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 
 round($bid * 100));
   $selector-predicates = $aPredicates;

 If I select as follows all six AdGroups are returned:

   $aPredicates = array();
   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 0);
   $selector-predicates = $aPredicates;

 However if I then display the field information I can see that the values 
 ARE present!

   if (isset($page-entries)) {
 foreach ($page-entries as $adGroup) {
 echo $adGroup-bids-keywordMaxCpc-amount-microAmount;
 }
   }

 Which returns returns the following values:

 50
 60
 130
 60
 80
 60


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Selecting AdGroups by KeywordContentMaxCpc, not working?

2012-06-28 Thread Rallan
I'm sorry but I honestly don't know how to do that. Assuming I am working 
with default settings, where are the logs stored?

On Tuesday, June 26, 2012 10:51:55 AM UTC+1, Anash P. Oommen wrote:

 Hi Rallan,

 Could you post a sanitized version of the SOAP logs (request and response 
 xmls) for a failed request?

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Sunday, 24 June 2012 03:46:25 UTC+5:30, Rallan wrote:

 Hi. I'm working in PHP on my own site, and I am a newbie so if I am 
 missing something obvious please be patient :-)

 I've been unable to get the sandbox working so I am working (carefully) 
 with a test campaign in the live environment. I need to select AdGroups 
 based on their KeywordContentMaxCpc, which is supposed to be Filterable  
 Selectable. I've uploaded six test AdGroups (via Adwords Editor v9.7.1) 
 with the value filled in.

 If I select as follows I get No AdGroups Found:

   $aPredicates = array();
   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 
 round($bid * 100));
   $selector-predicates = $aPredicates;

 If I select as follows all six AdGroups are returned:

   $aPredicates = array();
   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 0);
   $selector-predicates = $aPredicates;

 However if I then display the field information I can see that the values 
 ARE present!

   if (isset($page-entries)) {
 foreach ($page-entries as $adGroup) {
 echo $adGroup-bids-keywordMaxCpc-amount-microAmount;
 }
   }

 Which returns returns the following values:

 50
 60
 130
 60
 80
 60


 On Sunday, 24 June 2012 03:46:25 UTC+5:30, Rallan wrote:

 Hi. I'm working in PHP on my own site, and I am a newbie so if I am 
 missing something obvious please be patient :-)

 I've been unable to get the sandbox working so I am working (carefully) 
 with a test campaign in the live environment. I need to select AdGroups 
 based on their KeywordContentMaxCpc, which is supposed to be Filterable  
 Selectable. I've uploaded six test AdGroups (via Adwords Editor v9.7.1) 
 with the value filled in.

 If I select as follows I get No AdGroups Found:

   $aPredicates = array();
   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 
 round($bid * 100));
   $selector-predicates = $aPredicates;

 If I select as follows all six AdGroups are returned:

   $aPredicates = array();
   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 0);
   $selector-predicates = $aPredicates;

 However if I then display the field information I can see that the values 
 ARE present!

   if (isset($page-entries)) {
 foreach ($page-entries as $adGroup) {
 echo $adGroup-bids-keywordMaxCpc-amount-microAmount;
 }
   }

 Which returns returns the following values:

 50
 60
 130
 60
 80
 60



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Selecting AdGroups by KeywordContentMaxCpc, not working?

2012-06-28 Thread Rallan
There is no failed request. I simply get no records found whenever I enter 
a value other than zero for KeywordContentMaxCpc. If I enter zero it finds 
everything. If I enter any other value it finds nothing. So I cannot give 
you a failure log.

Below are the request_info.log entries for two searches. The searches were 
against a small set of live AdGroups with differing KeywordContentMaxCpc 
values. 

The *first search* was with with a KeywordContentMaxCpc value that should 
have returned a few records. It returned none.

 [Jun 28 2012 07:51:20.00 - INFO] 
email=...@googlemail.com 
effectiveUser=xxx-xxx- 
service=AdGroupService method=get 
operators={EQUALS: 2, IN: 1} 
responseTime=1118 
requestId=0004c38398fd64f00a964404225d 
operations=1 
units=1 
server=adwords.google.com 
isFault=false 
faultMessage=null

The *second search* was exactly the same but with the KeywordContentMaxCpc 
search variable set to zero. It returned all of the AdGroups. None of the 
AdGroups have a KeywordContentMaxCpc of zero, and the true values could be 
displayed from the returned set.

[Jun 28 2012 07:53:27.00 - INFO] 
email=...@googlemail.com 
effectiveUser=xxx-xxx- 
service=AdGroupService method=get 
operators={EQUALS: 2, IN: 1} 
responseTime=268 
requestId=0004c383a09d92c00a970328114d 
operations=16 
units=16 
server=adwords.google.com 
isFault=false 
faultMessage=null



On Tuesday, June 26, 2012 10:51:55 AM UTC+1, Anash P. Oommen wrote:

 Hi Rallan,

 Could you post a sanitized version of the SOAP logs (request and response 
 xmls) for a failed request?

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Sunday, 24 June 2012 03:46:25 UTC+5:30, Rallan wrote:

 Hi. I'm working in PHP on my own site, and I am a newbie so if I am 
 missing something obvious please be patient :-)

 I've been unable to get the sandbox working so I am working (carefully) 
 with a test campaign in the live environment. I need to select AdGroups 
 based on their KeywordContentMaxCpc, which is supposed to be Filterable  
 Selectable. I've uploaded six test AdGroups (via Adwords Editor v9.7.1) 
 with the value filled in.

 If I select as follows I get No AdGroups Found:

   $aPredicates = array();
   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 
 round($bid * 100));
   $selector-predicates = $aPredicates;

 If I select as follows all six AdGroups are returned:

   $aPredicates = array();
   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 0);
   $selector-predicates = $aPredicates;

 However if I then display the field information I can see that the values 
 ARE present!

   if (isset($page-entries)) {
 foreach ($page-entries as $adGroup) {
 echo $adGroup-bids-keywordMaxCpc-amount-microAmount;
 }
   }

 Which returns returns the following values:

 50
 60
 130
 60
 80
 60


 On Sunday, 24 June 2012 03:46:25 UTC+5:30, Rallan wrote:

 Hi. I'm working in PHP on my own site, and I am a newbie so if I am 
 missing something obvious please be patient :-)

 I've been unable to get the sandbox working so I am working (carefully) 
 with a test campaign in the live environment. I need to select AdGroups 
 based on their KeywordContentMaxCpc, which is supposed to be Filterable  
 Selectable. I've uploaded six test AdGroups (via Adwords Editor v9.7.1) 
 with the value filled in.

 If I select as follows I get No AdGroups Found:

   $aPredicates = array();
   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 
 round($bid * 100));
   $selector-predicates = $aPredicates;

 If I select as follows all six AdGroups are returned:

   $aPredicates = array();
   $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
   $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 0);
   $selector-predicates = $aPredicates;

 However if I then display the field information I can see that the values 
 ARE present!

   if (isset($page-entries)) {
 foreach ($page-entries as $adGroup) {
 echo $adGroup-bids-keywordMaxCpc-amount-microAmount;
 }
   }

 Which returns returns the following values:

 50
 60
 130
 60
 80
 60



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Selecting AdGroups by KeywordContentMaxCpc, not working?

2012-06-23 Thread Rallan
Hi. I'm working in PHP on my own site, and I am a newbie so if I am missing 
something obvious please be patient :-)

I've been unable to get the sandbox working so I am working (carefully) 
with a test campaign in the live environment. I need to select AdGroups 
based on their KeywordContentMaxCpc, which is supposed to be Filterable  
Selectable. I've uploaded six test AdGroups (via Adwords Editor v9.7.1) 
with the value filled in.

If I select as follows I get No AdGroups Found:

  $aPredicates = array();
  $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
  $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 
round($bid * 100));
  $selector-predicates = $aPredicates;

If I select as follows all six AdGroups are returned:

  $aPredicates = array();
  $aPredicates[] = new Predicate('CampaignName', 'EQUALS', 'LAMPS');
  $aPredicates[] = new Predicate('KeywordContentMaxCpc', 'EQUALS', 0);
  $selector-predicates = $aPredicates;

However if I then display the field information I can see that the values 
ARE present!

  if (isset($page-entries)) {
foreach ($page-entries as $adGroup) {
echo $adGroup-bids-keywordMaxCpc-amount-microAmount;
}
  }

Which returns returns the following values:

50
60
130
60
80
60

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Sandbox Problem: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]

2012-03-04 Thread Rallan
In my live Adwords account I can add a new campaign without a problem, 
but I have been trying to use the sandbox without success. I can test for 
existing campaigns in the sandbox (none found) but I am unable to add a 
new campaign. I get the error:

[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]

I am logging in with the following set-up:

AUTH.INI

email = x...@gmail.com
password = 
userAgent = My Adwords Tool
applicationToken = ignored
developerToken = x...@gmail.com++GBP

SETTINGS

DEFAULT_VERSION = v201109
DEFAULT_SERVER = https://adwords-sandbox.google.com;
COMPRESSION = 1
COMPRESSION_LEVEL = 1
WSDL_CACHE = 0
VERIFY_PEER = 0

MY SCRIPT

$campaignService = $user-GetCampaignService('v201109', 
'https://adwords-sandbox.google.com');


I have looked around online but found no actual answers. As far as I can 
tell I what's missing is a sandbox generated clientId, or possibly 
a clientCustomerId? However, I have been unable to find out how I get this! 
I have tried using my normal clientId but it is rejected 
(AuthenticationError.CUSTOMER_NOT_FOUND). 

I'm going nuts here. I've spent hours getting more and more frustrated. 
Please can someone tell me how to get the sandbox working?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Sandbox Problem: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]

2012-03-04 Thread Rallan
I forgot to say that this is a not an MCC account.


On Monday, 5 March 2012 01:43:10 UTC, Rallan wrote:

 In my live Adwords account I can add a new campaign without a problem, 
 but I have been trying to use the sandbox without success. I can test for 
 existing campaigns in the sandbox (none found) but I am unable to add a 
 new campaign. I get the error:

 [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]

 I am logging in with the following set-up:

 AUTH.INI

 email = x...@gmail.com
 password = 
 userAgent = My Adwords Tool
 applicationToken = ignored
 developerToken = x...@gmail.com++GBP

 SETTINGS

 DEFAULT_VERSION = v201109
 DEFAULT_SERVER = https://adwords-sandbox.google.com;
 COMPRESSION = 1
 COMPRESSION_LEVEL = 1
 WSDL_CACHE = 0
 VERIFY_PEER = 0

 MY SCRIPT

 $campaignService = $user-GetCampaignService('v201109', '
 https://adwords-sandbox.google.com');


 I have looked around online but found no actual answers. As far as I can 
 tell I what's missing is a sandbox generated clientId, or possibly 
 a clientCustomerId? However, I have been unable to find out how I get this! 
 I have tried using my normal clientId but it is rejected 
 (AuthenticationError.CUSTOMER_NOT_FOUND). 

 I'm going nuts here. I've spent hours getting more and more frustrated. 
 Please can someone tell me how to get the sandbox working?


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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