Migrating from my local server in my computer to a remote server

2013-03-20 Thread joanfihu

Dear Mr./Ms.,

I am migrating my application from my local server in my computer to a 
remote server. I tested a called and I got this error 
An error has occurred: [AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID 
@ ; trigger:'']

I've tried to delete the cookies and I've also tried to access with 
different browsers and I got the same error. 
I point out that the developer token and the developer token are the same. 
In addition, If I comment one of the mentioned fields I'll get a bad 
authentication error. 

All the best,
Joan Figuerola

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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Autonomous Communities missing in Spain

2012-12-05 Thread joanfihu
Dear gents,

I am working with the targets table in the geotargeting 
 https://developers.google.com/adwords/api/docs/appendix/geotargeting and 
there are some Autonomous Communities missing. Currently the Autonomous 
Communities listed are: Andalusia, Aragon,  Basque Country, Canary Islands, 
Castille la Mancha, Castille and Leon, Catalonia, Extremadura, Galicia, 
Rioja, Valencia.
The communities missing are: Asturias, Comunidad de Madrid, Balearic 
Islands, Murcia, Ceuta, Melilla and Navarre. 
Here you can check out all the current Autonomous Communities in 
Spain http://en.wikipedia.org/wiki/Autonomous_communities_of_Spain

All my best,
Joan

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





Create campaign to all countries and territories

2012-11-19 Thread joanfihu
Hi,
I am working with the service *CampaignCriterionService *and I am trying to 
create a campaign that reaches all countries and territories. In order to 
do that I get al the criteriaId of the countries(208 id). Then: 

foreach ($allCountries as $country) {
 $countryLocation = new Location();
 $countryLocation-id = $country-criteriaId;
 $campaignCriteria[] = new CampaignCriterion($campaignId, null, 
$countryLocation);
}
$operations = array();
  foreach ($campaignCriteria as $campaignCriterion) {
$operations[] = new CampaignCriterionOperation($campaignCriterion, 
'ADD');
}
// Make the mutate request.
  $result = $campaignCriterionService-mutate($operations);

My problem is that I takes more than 25 seconds to perform all the 
operations (208). Is there any hack/way to make it faster? PD: I work with 
the adwords sandbox.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 trying to update Keyword destination url

2012-10-16 Thread joanfihu
HI,

I am trying to update the destination urls of keywords and I am getting the 
following error:

Keyword with id '12455725' has updated destination URL 
'http://joanfihu.co.uk'. 
An error has occurred: [EntityNotFound.INVALID_ID @ 
operations[0].operand.criterion.id; trigger:'CriterionId{id=31402184}']

The first keyword is updated correclty. However, from the second onwards it 
doesn't work. 
I've checked the id's using the call *getKewyords* and the id's are correct.

Kind regards,
Joan Figuerola



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 not generating 5 new accounts and gives OperationAccessDenied error

2012-07-04 Thread joanfihu
Hi Krunal,

The first request to the sandbox creates 5 accounts. You have to use one of 
this created accounts as a clientId. 
You can get this accounts executing GetHierarchy. 
The usual response it's gonna be like this ((Customer Id, Account 
Name/Login, Link Status)
0, xxx...@gmail.com, N/A)

As you can see none accounts are showed. Add the highlighted print in this 
part of the code in GetHierarchy.php and you will get all the accounts 
available.

*  if (isset($graph-accounts)) {*
* print_r($graph);*
*// Create map from customerId to parent and child links.*
*$childLinks = array();*
*$parentLinks = array();*
*if (isset($graph-links)) {*
*  foreach ($graph-links as $link) {*
*$childLinks[$link-managerId-id][] = $link;*
*$parentLinks[$link-clientId-id][] = $link;*
*  }*
*}*

I hope It helps u )
On Thursday, 21 June 2012 15:43:42 UTC+2, krunal shah wrote:

 Hello,
 I have downloaded the php code library and edited settings.ini to sandbox 
 for requestss. First I run the GetCampaigns request which gives 'No 
 campaings found' result as expected. after that I run the AddCampaigns.php 
 file but it gives me the following error.   

 An error has occurred: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED 
 @ oper
 ations[0], OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ 
 operations[1]]

 I am checking this code from the command prompt. 


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AuthenticationError.CUSTOMER_NOT_FOUND;

2012-07-03 Thread joanfihu
Hi Danial,
I've created a MCC account. 
Anash mentioned before (*1. Run GetCampaigns code example. This initializes 
the sandbox and creates 5 test sandbox accounts.*). 
I've done it and I only got No campaigns were found. 
I've also tried *GetAccountHieriarchy *and I got (Customer Id, Account 
Name/Login, Link Status) 0, jof...@gmail.com, N/A.

This is the content of auth.ini:
*email = jof...@gmail.com*
*password = *
*userAgent = Adlegant Tool*
*applicationToken = ignored*
*developerToken = jof...@gmail.com++EUR*
*
*
*; Uncomment to make requests against a client account.*
*;clientId = XXX-XXX-*
*etc.*
*
*
I've tried to AddCampaign and I got *AuthenticationError.CUSTOMER_NOT_FOUND.
* Indeed, the customer who I am trying to create the campaign exists)
*
*
*
*
Kind regards.

On Monday, 26 March 2012 14:12:50 UTC+2, Danial Klimkin wrote:

 Hello Rodrigo,


 For Sandbox yo do not need to apply for a token, it is required for 
 Production only.

 The AdWords API Center is available for MCC accounts only. Please see:

   http://support.google.com/adwords/agency/bin/answer.py?hl=enanswer=7725


 -Danial, AdWords API Team.




 On Friday, March 23, 2012 5:10:25 PM UTC+4, Rodrigo Berlinck wrote:

 the documentation says that we need to associate an account Adwords api 
 developer ​inigning up is easy. All you need to get started is an active
  AdWords account. Onc​e youhave registered as a developer, Can you access
  yo​ur AdWords API Center to manag​eyour token and budget settings. 

 click on link: 
 https://adwords.google.​com/select/ApiCenterhttps://adwords.google.com/select/ApiCenter
  nothing happens, this is a mistake?


 Em quinta-feira, 22 de março de 2012 14h23min48s UTC-3, Rodrigo Berlinck 
 escreveu:

 it does not really work for me 

 Em segunda-feira, 19 de março de 2012 21h49min01s UTC-3, Rodrigo 
 Berlinck escreveu:

 hello,
 commented as you said and returned (Customer ID, Accoun​​​t Name / 
 Login, Link Status) 0, rodrigode...@gmail.com, N / A

 if I try to create a campaign it returns ADD_OPERATION_NOT_PERMITTED

 I tried using a different e-mail that you recommended to other users 
 but I get the API errorINTERNAL ERROR 

 thanks

 Em segunda-feira, 19 de março de 2012 06h18min00s UTC-3, Anash P. 
 Oommen escreveu:

 Hi Rodrigo,

 Forgot to mention, please comment out the clientId key in your 
 auth.ini when running GetCampaigns.php and GetAccountHierarchy.php 
 against 
 the sandbox and they will work for you.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.


 On Friday, 16 March 2012 18:26:18 UTC+5:30, Rodrigo Berlinck wrote:

 i using php client library.

 I tested the GetCampaingns but it returns the error An error has 
 occurred: @AuthenticationE​​​rror.CUSTOMER_NOT_FOUND; tri​g​g​er: 
 '464-032-1572 'Service​[C​am​paignService.get] 

 this is my auth.ini file

 email = rodrigode...@gmail.com
 password = 
 userAgent = Rodrigo Developer
 developerToken = rodrigode...@gmail.com++USD

 ; Uncomment to make requests against a client account.
  clientId = 464-032-1572

 ; Uncomment the following to use an existing AuthToken.
 ; authToken = INSERT_AUTH_TOKEN_HERE

 ; Uncomment the following to use existing OAuth information.
 ; [OAUTH]
 ; oauth_consumer_key = INSERT_OAUTH_CONSUMER_KEY_​​​HERE
 ; oauth_consumer_secret = INSERT_OAUTH_CONSUMER_SECRET_​​​HERE
 ; oauth_token = INSERT_OAUTH_TOKEN_HERE
 ; oauth_token_secret = INSERT_OAUTH_TOKEN_SECRET_​​​HERE


 I tested with auth token but also gives error 


 thanks for your help

 Em sexta-feira, 16 de março de 2012 06h42min47s UTC-3, Anash P. 
 Oommen escreveu:

 Hi Rodrigo,

 464-032-1572 looks like a production account, not a sandbox 
 account. To use the sandbox, you should 

 1. Run GetCampaigns code example. This initializes the sandbox and 
 creates 5 test sandbox accounts.
 2. Run GetAccountHierarchy code example. This will return the 
 customer ids of the 5 sandbox accounts you just created.
 3. Use one of the accounts retrieved in (2) to make calls to the 
 sandbox.

 Are you using a client library? Which programming language are you 
 using?

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Friday, 16 March 2012 01:00:40 UTC+5:30, Rodrigo Berlinck wrote:

 I'm having problems when applying for the sandbox, it is generating
  the error SoapFaultObject ([message: protected] = @ 
 Authentication​​​Error.CUSTOMER_NOT_FOUND;tri​g​g​er: '464-032-1572
  '

 I spent all the data correctly ...

 Anyone know what happens? 

 thks



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