Re: v201209 Logger Example in Google Ads APIs Client Library for Java

2013-01-23 Thread Stamatina Thomaidou


Up until now we were using the Loggers that are mentioned in the FAQ( 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger and
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger.)

The problem is that now we are trying to import them and after the 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient we cannot find the 
corresponding classes of soapXmlLogger and requestInfoLogger.

The only logger that we can use now is the
com.google.api.ads.common.lib.utils.logging.AdsServiceLoggers



On Saturday, January 19, 2013 12:30:46 AM UTC+2, David Torres (AdWords API 
Team) wrote:

 Hi,

 Please give it a look at this wiki page 
 https://code.google.com/p/google-api-ads-java/wiki/FAQ

 Let me know if you have further questions.

 Best,

 - David Torres - AdWords API Team

 On Thursday, January 17, 2013 11:44:04 AM UTC-5, Stamatina Thomaidou wrote:

 Hello everyone,

 I would like to ask about the capabilities of Logging with v201209 in 
 Java Client Library - Google Ads APIs Client Library for Java 
 (AdWords)https://code.google.com/p/google-api-ads-java/. 


 Up until now, we were using the simple AdWords Java Client Library and  
 the com.google.api.adwords.lib.
 AdWordsServiceLogger for  logging the messages like the examples:

  // Log SOAP XML request and response.
 AdWordsServiceLogger.log();

 Now, we are switching to the Google Ads APIs Client Library for Java. We 
 cannot find an example for Logging capabilities. We have found the 
 com.google.api.ads.common.lib.utils.logging.AdsServiceLoggers , but we 
 cannot understand how should we use it in order to log soap messages from 
 the API errors, etc.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: v201209 Logger Example in Google Ads APIs Client Library for Java

2013-01-23 Thread Stamatina Thomaidou
Actually we *were* using before the Loggers that are mentioned in the FAQ: 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger and
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.requestInfoLogger.

The problem is that now we are trying to import them and after the 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient we cannot find 
the corresponding classes of soapXmlLogger and requestInfoLogger.

The only logger that we can use is the
com.google.api.ads.common.lib.utils.logging.AdsServiceLoggers

On Saturday, January 19, 2013 12:30:46 AM UTC+2, David Torres (AdWords API 
Team) wrote:

 Hi,

 Please give it a look at this wiki page 
 https://code.google.com/p/google-api-ads-java/wiki/FAQ

 Let me know if you have further questions.

 Best,

 - David Torres - AdWords API Team

 On Thursday, January 17, 2013 11:44:04 AM UTC-5, Stamatina Thomaidou wrote:

 Hello everyone,

 I would like to ask about the capabilities of Logging with v201209 in 
 Java Client Library - Google Ads APIs Client Library for Java 
 (AdWords)https://code.google.com/p/google-api-ads-java/. 


 Up until now, we were using the simple AdWords Java Client Library and  
 the com.google.api.adwords.lib.
 AdWordsServiceLogger for  logging the messages like the examples:

  // Log SOAP XML request and response.
 AdWordsServiceLogger.log();

 Now, we are switching to the Google Ads APIs Client Library for Java. We 
 cannot find an example for Logging capabilities. We have found the 
 com.google.api.ads.common.lib.utils.logging.AdsServiceLoggers , but we 
 cannot understand how should we use it in order to log soap messages from 
 the API errors, etc.



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





v201209 Logger Example in Google Ads APIs Client Library for Java?

2013-01-17 Thread Stamatina Thomaidou
Hello everyone,

I would like to ask about the capabilities of Logging with v201209 in Java 
Client Library - Google Ads APIs Client Library for Java 
(AdWords)https://code.google.com/p/google-api-ads-java/. 


Up until now, we were using the simple AdWords Java Client Library and  the 
com.google.api.adwords.lib.AdWordsServiceLogger for  logging the messages 
like the examples:

 // Log SOAP XML request and response.
AdWordsServiceLogger.log();

Now, we are switching to the Google Ads APIs Client Library for Java. We 
cannot find an example for Logging capabilities. We have found the 
com.google.api.ads.common.lib.utils.logging.AdsServiceLoggers , but we 
cannot understand how should we use it in order to log soap messages from 
the API errors, etc.

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





v201209 Logger Example in Google Ads APIs Client Library for Java

2013-01-17 Thread Stamatina Thomaidou
Hello everyone,

I would like to ask about the capabilities of Logging with v201209 in Java 
Client Library - Google Ads APIs Client Library for Java 
(AdWords)https://code.google.com/p/google-api-ads-java/. 


Up until now, we were using the simple AdWords Java Client Library and  the 
com.google.api.adwords.lib.
AdWordsServiceLogger for  logging the messages like the examples:

 // Log SOAP XML request and response.
AdWordsServiceLogger.log();

Now, we are switching to the Google Ads APIs Client Library for Java. We 
cannot find an example for Logging capabilities. We have found the 
com.google.api.ads.common.lib.utils.logging.AdsServiceLoggers , but we 
cannot understand how should we use it in order to log soap messages from 
the API errors, etc.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-16 Thread Stamatina Thomaidou
Thank you all for your answers. Eventually, we understood and found the 
solution. We used JSON to get automatically from the response of the 
OAuth2.0 authorization process the email and next we used the InfoService 
to get the AdWords data. :)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-15 Thread Stamatina Thomaidou
Chris thank you a lot for your answer but I do not think that answers to 
our speculation. Maybe I didn't explain correctly the issue. :(

On Tuesday, January 15, 2013 5:18:40 AM UTC+1, chris h wrote:

 Hi Stamatina,
 If the client account is linked to your MCC account, then you can use your 
 OAuth token to a) get a list of all accounts and b) query those accounts 
 via the API. The customer has already granted you access via linking so you 
 don't need to have them grant via OAuth.  They could still additionally do 
 an OAuth grant (anybody correct me if that's not so). Either way you use 
 OAuth 2.0. I don't believe there is a non-deprecated alternative to OAuth 
 2.0.
  - Chris


Regarding the construction -we are using Java- of an AdWords Session with 
the usage of OAuth 2.0.
We are following the examples of the v201209:

// Construct a AdWordsSession.
_adwordsSession = new AdWordsSession.Builder()
.withDeveloperToken(DEVELOPER_TOKEN_HERE)
.withOAuth2Credential(PREVIOUS_RETRIEVED_CREDENTIAL)
.build();

The problem is that the returning value of ClientCustomerId of the Client 
that gave us access through the OAuth 2.0 is *null*.
Shouldn't the OAuth 2.0 authorization process provide us with the 
ClientCustomerId of the client that wanted to give us access to his data? 
Of course in a previous step we have already linked his account to our 
central MCC. The OAuth 2.0 isn't supposed to provide us with the 
ClientCustomerId or should we ask the client to fill a form field using 
explicitly his ClientCustomerId?

Please, could someone from the AdWords API Team answer to our question? :) 


 On Monday, January 14, 2013 12:18:58 PM UTC-5, Stamatina Thomaidou wrote:

 Returning to my initial question:

 Let's say I am an MCC Account. 
 If one of my many different linked client customer accounts tries to log 
 in to my application and give me access to his data through OAuth 2.0 how 
 can I retrieve with the usage of the OAuth 2.0 *automatically* his 
 ClientCustomerId?
 Maybe I have not understand correctly the usefulness of the OAuth 2.0 
 protocol. 
 I thought that getting all these authorization tokens from the OAuth 2.0 
 I would at the same time be able to retrieve the ClientCustomerId.

 In general, what information does the OAuth 2.0 provide you and why is it 
 better to use it?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-14 Thread Stamatina Thomaidou
Thank you both for your replies :) We will try some of the tips and we will 
get back with updates if we continue to have problems.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-14 Thread Stamatina Thomaidou
Returning to my initial question:

Let's say I am an MCC Account. 
If one of my many different linked client customer accounts tries to log in 
to my application and give me access to his data through OAuth 2.0 how can 
I retrieve with the usage of the OAuth 2.0 *automatically* his 
ClientCustomerId?
Maybe I have not understand correctly the usefulness of the OAuth 2.0 
protocol. 
I thought that getting all these authorization tokens from the OAuth 2.0 I 
would at the same time be able to retrieve the ClientCustomerId.

In general, what information does the OAuth 2.0 provide you and why is it 
better to use it?

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





OAuth 2.0 and link between MCC and new Customers Accounts

2013-01-11 Thread Stamatina Thomaidou
Hello everyone,

this is a more general question regarding the new ways that we have to work 
with authentication and access to the accounts.

We have a developer token for the AdWords API that actually corresponds to 
an MCC Account. We have already some client/customer accounts that are 
already linked through the AdWords Interface and Tab Link Existing 
Accounts and let's say that we want to modify their campaigns etc. Do we 
have to use an ads.properties file for each one of them? Is there any other 
way? Or do we have to access them programmatically using OAuth 2.0 with 
temporary access tokens that each time we have to refresh them?
Now imagine that we want to have access to totally new clients/customers 
that are not yet linked to the MCC Account. Can we have access to them only 
through OAuth 2.0 and how? Or is it mandatory to go to the AdWords 
interface and Tab Link Existing Accounts and define explicitly there that 
we want to administrate and have access to them through the API?

Is there any documentation/tutorial inside this webpage that I may have not 
seen? I think that is a good idea to explain further all these concepts 
with some example scenarios.

Next, a more focused question. The credential received from the OAuth 2.0 
authentication is a temporary one. Thus, how much often do we have to 
refresh it? How can we store the credential info inside let's say a 
database field? (Due to the credential object does not correspond to an 
understandable form for let's say a mysql database field).

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





[v201209] New Test Account - OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED

2012-11-29 Thread Stamatina Thomaidou
Language: Java

I am trying to create a new campaign using the New Test Account.
So, after the proper authentication using Test Account ClientCustomerId I'm 
trying to add a campaign with several other settings (budget, etc).
The error that I'm getting is: 
OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED.
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: Proper authentication for the new Test Account

2012-11-28 Thread Stamatina Thomaidou
Please... any answers/ideas about this? We cannot test our application!

On Friday, November 23, 2012 12:11:32 PM UTC+1, Stamatina Thomaidou wrote:

 Hello,

 we are trying to test our application with the new way of testing using 
 Test Account. 
 Google AdWords send us with e-mail that we are ready to use it. So for the 
 Test Account we have only a client customer id number for this and not an 
 e-mail and password (although we have of course the MCC credentials). So in 
 the adwords.properties file we should insert the client customer id  of the 
 Test Account, the developer token and... what else? Which e-mail and 
 password?

 Thank you


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Proper authentication for the new Test Account

2012-11-28 Thread Stamatina Thomaidou
Thank you so much :) We just solved it using your tip :)

On Wednesday, November 28, 2012 4:35:07 PM UTC+1, Ewan Heming wrote:

 Hi Stamatina,

 I think that you need to enter the customer ID of your test account (as a 
 number, without the dashes) into the setClientCustomerIds method of the 
 selector, instead of the using the setClientEmails method with your MCC 
 email.

 Regards,

 Ewan

 On Wednesday, November 28, 2012 2:50:26 PM UTC, Stamatina Thomaidou wrote:

 Please... any answers/ideas about this? We cannot test our application!

 On Friday, November 23, 2012 12:11:32 PM UTC+1, Stamatina Thomaidou wrote:

 Hello,

 we are trying to test our application with the new way of testing using 
 Test Account. 
 Google AdWords send us with e-mail that we are ready to use it. So for 
 the Test Account we have only a client customer id number for this and not 
 an e-mail and password (although we have of course the MCC credentials). So 
 in the adwords.properties file we should insert the client customer id  of 
 the Test Account, the developer token and... what else? Which e-mail and 
 password?

 Thank you



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Proper authentication for the new Test Account

2012-11-26 Thread Stamatina Thomaidou
The api error:
[ApiUsageError.INVALID_CLIENT_EMAIL @ selector; trigger:'[here it prints 
the email of the MCC Account]']

Inside adwords.properties file:

email=[here the email of the MCC Account]
password=[here the password of the MCC Account]
clientId=[here the id of the Test Account]
useragent=JavaAdWordsApplication
developerToken=[our developer token]
partialFailure=false

The corresponding code:
//in a class where we authenticate the user:
public static long authenticateUser(String username, String password) 
throws IOException{
AdWordsUser awu = ServiceRequest.getAdwordsAccount();

if(awu != null)
return ServiceRequest.getClientCustomerId(awu);
return 0;
}

//inside the ServiceRequest class:
public static AdWordsUser getAdwordsAccount() {
if (user == null ) {
try {
// Log SOAP XML request and response.
AdWordsServiceLogger.log();
user = new AdWordsUser().generateClientAdWordsUser(null); 
// Get AdWordsUser from ~/adwords.properties.
} catch (IOException e) {
SystemMain.LOG.fatal(Problem with 'adwords.properties' 
file.);
e.printStackTrace();
}
}
return user;
}

public static long getClientCustomerId(AdWordsUser awu){

try {
  AdWordsServiceLogger.log();

  AdWordsUser user = awu;

  InfoServiceInterface infoService = 
user.getService(AdWordsService.V201209.INFO_SERVICE);
  
  System.out.println(email:  + user.getEmail()); //here it 
just prints the MCC Account email
  String[] clientEmails = new String[] {user.getEmail()};

  // Create selector.
  InfoSelector selector = new InfoSelector();
  selector.setApiUsageType(ApiUsageType.UNIT_COUNT_FOR_CLIENTS);
  String today = new SimpleDateFormat(MMdd).format(new 
Date());
  selector.setDateRange(new DateRange(today, today));
  selector.setClientEmails(clientEmails);
  selector.setIncludeSubAccounts(true);

  // Get api usage info.
  ApiUsageInfo apiUsageInfo = infoService.get(selector);
  for (ApiUsageRecord record : 
apiUsageInfo.getApiUsageRecords()) {
return record.getClientCustomerId();
  }
} catch (Exception e) {
  e.printStackTrace();
}

return 0;
}

On Saturday, November 24, 2012 11:19:24 PM UTC+1, Ewan Heming wrote:

 Hi Stamatina,

 The credentials you're sending sound correct, so maybe the problem is 
 somewhere else. Could you post the code you're using in case there's a 
 problem with it?

 Thanks,

 Ewan


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





Proper authentication for the new Test Account

2012-11-23 Thread Stamatina Thomaidou
Hello,

we are trying to test our application with the new way of testing using 
Test Account. 
Google AdWords send us with e-mail that we are ready to use it. So for the 
Test Account we have only a client customer id number for this and not an 
e-mail and password (although we have of course the MCC credentials). So in 
the adwords.properties file we should insert the client customer id  of the 
Test Account, the developer token and... what else? Which e-mail and 
password?

Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Proper authentication for the new Test Account

2012-11-23 Thread Stamatina Thomaidou
We are trying with the clientId of the Test Account and using e-mail and 
password of the MCC Account inside adwords.properties and we are getting 
this error: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

On Friday, November 23, 2012 12:11:32 PM UTC+1, Stamatina Thomaidou wrote:

 Hello,

 we are trying to test our application with the new way of testing using 
 Test Account. 
 Google AdWords send us with e-mail that we are ready to use it. So for the 
 Test Account we have only a client customer id number for this and not an 
 e-mail and password (although we have of course the MCC credentials). So in 
 the adwords.properties file we should insert the client customer id  of the 
 Test Account, the developer token and... what else? Which e-mail and 
 password?

 Thank you


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: getFirstPageCpc() of BiddableAdGroupCriterion returns null

2012-07-11 Thread Stamatina Thomaidou
Sorry, I have found the problem, I just had to use in the Selector the 
proper field:

selector.setFields(new String[] {Id, AdGroupId, MatchType, 
KeywordText, FirstPageCpc});

On Tuesday, July 10, 2012 6:37:41 PM UTC+3, Stamatina Thomaidou wrote:

 Hello everyone,

 I'm trying to retrieve an estimated first page cpc for a completely new 
 keyword, but when I use getFirstPageCpc() it returns null as a result, thus 
 I cannot understand what I'm doing wrong.

 I use v201109 of AdWords API Java.


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


getFirstPageCpc() of BiddableAdGroupCriterion returns null

2012-07-10 Thread Stamatina Thomaidou
Hello everyone,

I'm trying to retrieve an estimated first page cpc for a completely new 
keyword, but when I use getFirstPageCpc() it returns null as a result, thus 
I cannot understand what I'm doing wrong.

I use v201109 of AdWords API Java.

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