Re: Placement Performance Report with mobileapp performance

2013-12-03 Thread Brandon
Hi Takeshi,

In fact, I had already tried this solution.
But the URL Performance Report doesn't show the correct number of results 
which is 5450 rows and it returns 5085 rows in this case.
What kind of data would be excluded?
And how to aggregate Automatic Placement and Managed Placement together? 
Will you add mobileapp into Placement Performance Report as the Automatic 
Placement Performance Report?

Thanks,

Brandon


Takeshi Hagikura (AdWords API Team)於 2013年12月3日星期二UTC+8下午2時29分33秒寫道:

 Thanks Brandon,

 I looked into it further. The mobile app placements are not represented as 
 a Placement, but a MobileApp criterion. The parameters of such placements 
 begin with mobileapp::.
 The Url Performance 
 Reporthttps://developers.google.com/adwords/api/docs/appendix/reports#urlcan
  provide that information. 

 Best,
 - Takeshi, 

 On Monday, December 2, 2013 6:43:53 PM UTC+9, Brandon wrote:

 Hi Takeshi,

 Thanks for your replying.
 The results could be downloaded here:

 Automatic placement preformance

 https://drive.google.com/file/d/0Bw03qlsABJ1YZ1huOVR3UkhaaGc/edit?usp=sharing

 Placement performance

 https://drive.google.com/file/d/0Bw03qlsABJ1YbWJsbkJJU2tIMWc/edit?usp=sharing


 And the request is as follows:

 reportDefinition xmlns=
 https://adwords.google.com/api/adwords/cm/v201309;
 selector
 fieldsDisplayName/fields
 fieldsClicks/fields
 fieldsImpressions/fields
 fieldsCtr/fields
 fieldsAverageCpc/fields
 fieldsAverageCpm/fields
 fieldsConversions/fields
 fieldsConversionsManyPerClick/fields
 fieldsConversionRate/fields
 fieldsConversionRateManyPerClick/fields
 fieldsCost/fields
 fieldsCostPerConversion/fields
 fieldsCostPerConversionManyPerClick/fields
 dateRange
 min20130819/min
 max20131122/max
 /dateRange
 /selector
 reportNameTest Report/reportName
 reportTypePLACEMENT_PERFORMANCE_REPORT/reportType
 dateRangeTypeCUSTOM_DATE/dateRangeType
 downloadFormatXML/downloadFormat
 includeZeroImpressionsfalse/includeZeroImpressions
 /reportDefinition

 I was using the same filter to download these two reports(only the 
 reportType are different).
 In my consider, it should be totally the same after I aggregate each 
 other.
 But it seems like the placement performance report only include the 
 performance of sites.
 Did I make something wrong?

 Thanks,

 Brandon


 Takeshi Hagikura (AdWords API Team)於 2013年12月2日星期一UTC+8下午2時53分06秒寫道:

 Hi Brandon,

 I think placements for mobile apps were represented as in the form of 
 {app-id}.adsenseformobileapps.com a while back. 
 Do you have the example request and response? 
 I'd like to make sure if it's not represented as above. 

 Best,
 - Takeshi, AdWords API Team

 On Thursday, November 28, 2013 1:35:25 PM UTC+9, Brandon wrote:

 Hi,

 In the recently release notes we knew that we can now using Placement 
 Performance Report to get both Automatic Placements Performance and 
 Managed Placements Performance.
 But I can't see any mobileapp performance in this report. Why?
 We need to combine these two report results into one.
 Is there any other way to implement this feature?

 Thanks,

 Brandon



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Alert Service required MCC account.

2013-12-03 Thread Chirag
Hello paul,

Any update on this?


On Wednesday, October 23, 2013 5:27:13 PM UTC+5:30, Chirag wrote:

 Hi,

 Alert Service says that :
 Use this service to retrieve alerts relating to managed accounts (such as 
 a credit card expiring soon or a campaign ending). Each returned 
 alerthttps://developers.google.com/adwords/api/docs/reference/v201309/AlertService.Alert.htmlencapsulates
  a client ID with the alert severity, type, and any additional 
 details.


 On Wednesday, October 23, 2013 3:50:56 PM UTC+5:30, Chirag wrote:

 Hello Paul,

 No it is not giving me individual customer Ids alert.
 This is giving me error An error has occurred: 
 [AlertError.INVALID_CLIENT_ID_SELECTED @ 
 selector.query.clientExternalCustomerIds[0]]

 My request id is : requestId=0004e965712bc4280aa4bc424f14 

 Please see my code :

 $alertQuery = new AlertQuery();
 $alertQuery-clientSpec = 'ID_LIST';
 $alertQuery-clientCustomerIds = array(Cust_id);
 $alertQuery-filterSpec = 'ALL';
 $alertQuery-types = array('ACCOUNT_BUDGET_BURN_RATE', 
 'ACCOUNT_BUDGET_ENDING',
 'ACCOUNT_ON_TARGET', 'CAMPAIGN_ENDED', 'CAMPAIGN_ENDING',
 'CREDIT_CARD_EXPIRING', 'DECLINED_PAYMENT',
 'MANAGER_LINK_PENDING', 'MISSING_BANK_REFERENCE_NUMBER',
 'PAYMENT_NOT_ENTERED', 'TV_ACCOUNT_BUDGET_ENDING', 
 'TV_ACCOUNT_ON_TARGET',
 'TV_ZERO_DAILY_SPENDING_LIMIT', 'USER_INVITE_ACCEPTED',
 'USER_INVITE_PENDING', 'ZERO_DAILY_SPENDING_LIMIT');
 $alertQuery-severities = array('GREEN', 'YELLOW', 'RED');
 $alertQuery-triggerTimeSpec = 'ALL_TIME';

 // Create selector.
 $selector = new AlertSelector();
 $selector-query = $alertQuery;

 Thanks,
 Chirag

 On Wednesday, October 16, 2013 5:49:07 PM UTC+5:30, Paul Matthews 
 (AdWords API Team) wrote:

 Hi Chirag,

 The AlertQuery used with the 
 AlertServicehttps://developers.google.com/adwords/api/docs/reference/latest/AlertServiceallows
  you to specify:
 AlertQuery.*clientSpec*https://developers.google.com/adwords/api/docs/reference/v201309/AlertService.AlertQuery#clientSpec=
  
 *ID_LIST*
 AlertQuery.*clientCustomerIds*https://developers.google.com/adwords/api/docs/reference/v201309/AlertService.AlertQuery#clientCustomerIds=
  [clientCustomerId, ...]

 Which will permit you to specify which client accounts to retrieve 
 alerts for.

 Regards,

 - Paul, AdWords API Team.

 On Monday, 2 September 2013 18:13:29 UTC+1, Chirag wrote:

 Hello Team,

 Is itpossible to get alerts related to budget on account leval?
 currently it requires MCC account access.
 It is unfair after API recommending us to use customer id instead MCC 
 account.

 Thanks,
 Chirag



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Alert Service required MCC account.

2013-12-03 Thread Paul Matthews (AdWords API Team)
Hi Chirag,

So I've been looking into this further and I too have been 
receiving AlertError.INVALID_CLIENT_ID_SELECTED. However, the problem I was 
hitting was:
I'd been sending the client customer in the string form: 000-000-, but the 
documentationhttps://developers.google.com/adwords/api/docs/reference/v201306/AlertService.AlertQuery#clientCustomerIdsrequests
 xsd:long[]. 
On changing the type of data sent to long, the error was resolved. I also 
added paging for good measure.

Cheers,

Paul.

On Tuesday, 3 December 2013 08:50:54 UTC, Chirag wrote:

 Hello paul,

 Any update on this?


 On Wednesday, October 23, 2013 5:27:13 PM UTC+5:30, Chirag wrote:

 Hi,

 Alert Service says that :
 Use this service to retrieve alerts relating to managed accounts (such as 
 a credit card expiring soon or a campaign ending). Each returned 
 alerthttps://developers.google.com/adwords/api/docs/reference/v201309/AlertService.Alert.htmlencapsulates
  a client ID with the alert severity, type, and any additional 
 details.


 On Wednesday, October 23, 2013 3:50:56 PM UTC+5:30, Chirag wrote:

 Hello Paul,

 No it is not giving me individual customer Ids alert.
 This is giving me error An error has occurred: 
 [AlertError.INVALID_CLIENT_ID_SELECTED @ 
 selector.query.clientExternalCustomerIds[0]]

 My request id is : requestId=0004e965712bc4280aa4bc424f14 

 Please see my code :

 $alertQuery = new AlertQuery();
 $alertQuery-clientSpec = 'ID_LIST';
 $alertQuery-clientCustomerIds = array(Cust_id);
 $alertQuery-filterSpec = 'ALL';
 $alertQuery-types = array('ACCOUNT_BUDGET_BURN_RATE', 
 'ACCOUNT_BUDGET_ENDING',
 'ACCOUNT_ON_TARGET', 'CAMPAIGN_ENDED', 'CAMPAIGN_ENDING',
 'CREDIT_CARD_EXPIRING', 'DECLINED_PAYMENT',
 'MANAGER_LINK_PENDING', 'MISSING_BANK_REFERENCE_NUMBER',
 'PAYMENT_NOT_ENTERED', 'TV_ACCOUNT_BUDGET_ENDING', 
 'TV_ACCOUNT_ON_TARGET',
 'TV_ZERO_DAILY_SPENDING_LIMIT', 'USER_INVITE_ACCEPTED',
 'USER_INVITE_PENDING', 'ZERO_DAILY_SPENDING_LIMIT');
 $alertQuery-severities = array('GREEN', 'YELLOW', 'RED');
 $alertQuery-triggerTimeSpec = 'ALL_TIME';

 // Create selector.
 $selector = new AlertSelector();
 $selector-query = $alertQuery;

 Thanks,
 Chirag

 On Wednesday, October 16, 2013 5:49:07 PM UTC+5:30, Paul Matthews 
 (AdWords API Team) wrote:

 Hi Chirag,

 The AlertQuery used with the 
 AlertServicehttps://developers.google.com/adwords/api/docs/reference/latest/AlertServiceallows
  you to specify:
 AlertQuery.*clientSpec*https://developers.google.com/adwords/api/docs/reference/v201309/AlertService.AlertQuery#clientSpec=
  
 *ID_LIST*
 AlertQuery.*clientCustomerIds*https://developers.google.com/adwords/api/docs/reference/v201309/AlertService.AlertQuery#clientCustomerIds=
  [clientCustomerId, ...]

 Which will permit you to specify which client accounts to retrieve 
 alerts for.

 Regards,

 - Paul, AdWords API Team.

 On Monday, 2 September 2013 18:13:29 UTC+1, Chirag wrote:

 Hello Team,

 Is itpossible to get alerts related to budget on account leval?
 currently it requires MCC account access.
 It is unfair after API recommending us to use customer id instead MCC 
 account.

 Thanks,
 Chirag



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Error running AdWords API with Google App Engine

2013-12-03 Thread Anders H
Hi Takeshi,

Thank you for your suggestion. I will have at look at it and write back 
with my results when I have finished testing.

Are there any up to date Java demo applications available for using AdWords 
API on App Engine? I was thinking of something like this Python demo:
https://developers.google.com/adwords/api/docs/demo-apps?hl=da#awapi_app_engine_python

Thanks,
Anders

Den fredag den 29. november 2013 07.18.25 UTC+1 skrev Takeshi Hagikura 
(AdWords API Team):

 Hi Anders,

 Due to the security protection for appengine, currently SOAP calls by axis 
 are not allowed. 
 You should be able to make a call with the jaxws 
 moduleshttps://code.google.com/p/google-api-ads-java/source/browse/#git%2Fmodules%2Fadwords_appengine%2Fsrc%2Fmain%2Fjava%2Fcom%2Fgoogle%2Fapi%2Fads%2Fadwords%2Fjaxws%253Fstate%253Dclosed
 . 
 Can you please try that?

 Best,
 - Takeshi, AdWords API Team

 On Wednesday, November 27, 2013 6:29:18 PM UTC+9, Anders H wrote:

 I am working on an App Engine Java project that tries to get a list of 
 clients from a MCC Test Account. The project is using the Java Client 
 Library.

 The application is working when running locally on the devserver, but 
 when running on appspot the statement:

 *page = managedCustomerService.get(selector);*

  
 throws the following exception:

 AxisFault
  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
  faultSubcode: 
  faultString: java.net.SocketException: Permission denied: Attempt to access 
 a blocked recipient without permission. (mapped-IPv4)

 As I was in doubt which forum was best to ask this kind of question that 
 includes both AdWords API and App Engine, I have already posted further 
 details in the App Engine forum: 
 http://stackoverflow.com/questions/20192725/java-socket-exception-when-running-google-adwords-api-on-google-app-engine

 Could this be an error with the AdWords API / App Engine support or am I 
 missing something?

 Thanks,
 Anders






-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Alert Service required MCC account.

2013-12-03 Thread Chirag
Hi Paul,

Thanks for reply,
But How i can do this? Still seeing same error.
Also wants to mention, using MCC account this is giving proper response.


On Tuesday, December 3, 2013 5:02:29 PM UTC+5:30, Paul Matthews (AdWords 
API Team) wrote:

 Hi Chirag,

 So I've been looking into this further and I too have been 
 receiving AlertError.INVALID_CLIENT_ID_SELECTED. However, the problem I was 
 hitting was:
 I'd been sending the client customer in the string form: 000-000-, 
 but the 
 documentationhttps://developers.google.com/adwords/api/docs/reference/v201306/AlertService.AlertQuery#clientCustomerIdsrequests
  xsd:long[]. 
 On changing the type of data sent to long, the error was resolved. I also 
 added paging for good measure.

 Cheers,

 Paul.

 On Tuesday, 3 December 2013 08:50:54 UTC, Chirag wrote:

 Hello paul,

 Any update on this?


 On Wednesday, October 23, 2013 5:27:13 PM UTC+5:30, Chirag wrote:

 Hi,

 Alert Service says that :
 Use this service to retrieve alerts relating to managed accounts (such 
 as a credit card expiring soon or a campaign ending). Each returned 
 alerthttps://developers.google.com/adwords/api/docs/reference/v201309/AlertService.Alert.htmlencapsulates
  a client ID with the alert severity, type, and any additional 
 details.


 On Wednesday, October 23, 2013 3:50:56 PM UTC+5:30, Chirag wrote:

 Hello Paul,

 No it is not giving me individual customer Ids alert.
 This is giving me error An error has occurred: 
 [AlertError.INVALID_CLIENT_ID_SELECTED @ 
 selector.query.clientExternalCustomerIds[0]]

 My request id is : requestId=0004e965712bc4280aa4bc424f14 

 Please see my code :

 $alertQuery = new AlertQuery();
 $alertQuery-clientSpec = 'ID_LIST';
 $alertQuery-clientCustomerIds = array(Cust_id);
 $alertQuery-filterSpec = 'ALL';
 $alertQuery-types = array('ACCOUNT_BUDGET_BURN_RATE', 
 'ACCOUNT_BUDGET_ENDING',
 'ACCOUNT_ON_TARGET', 'CAMPAIGN_ENDED', 'CAMPAIGN_ENDING',
 'CREDIT_CARD_EXPIRING', 'DECLINED_PAYMENT',
 'MANAGER_LINK_PENDING', 'MISSING_BANK_REFERENCE_NUMBER',
 'PAYMENT_NOT_ENTERED', 'TV_ACCOUNT_BUDGET_ENDING', 
 'TV_ACCOUNT_ON_TARGET',
 'TV_ZERO_DAILY_SPENDING_LIMIT', 'USER_INVITE_ACCEPTED',
 'USER_INVITE_PENDING', 'ZERO_DAILY_SPENDING_LIMIT');
 $alertQuery-severities = array('GREEN', 'YELLOW', 'RED');
 $alertQuery-triggerTimeSpec = 'ALL_TIME';

 // Create selector.
 $selector = new AlertSelector();
 $selector-query = $alertQuery;

 Thanks,
 Chirag

 On Wednesday, October 16, 2013 5:49:07 PM UTC+5:30, Paul Matthews 
 (AdWords API Team) wrote:

 Hi Chirag,

 The AlertQuery used with the 
 AlertServicehttps://developers.google.com/adwords/api/docs/reference/latest/AlertServiceallows
  you to specify:
 AlertQuery.*clientSpec*https://developers.google.com/adwords/api/docs/reference/v201309/AlertService.AlertQuery#clientSpec=
  
 *ID_LIST*
 AlertQuery.*clientCustomerIds*https://developers.google.com/adwords/api/docs/reference/v201309/AlertService.AlertQuery#clientCustomerIds=
  [clientCustomerId, ...]

 Which will permit you to specify which client accounts to retrieve 
 alerts for.

 Regards,

 - Paul, AdWords API Team.

 On Monday, 2 September 2013 18:13:29 UTC+1, Chirag wrote:

 Hello Team,

 Is itpossible to get alerts related to budget on account leval?
 currently it requires MCC account access.
 It is unfair after API recommending us to use customer id instead MCC 
 account.

 Thanks,
 Chirag



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: need an example for fetching Stats in Java without executing a report to file system - due to migration to v201309

2013-12-03 Thread assaf
I regenerated the refresh token, copied to the ads.properties file and 
still get the same error when generating the report 
(Report was not downloaded. HTTP Response Code: 400, Trigger: null, Type: 
AuthenticationError.OAUTH_TOKEN_INVALID).

Perhaps the length of the other credentials are not OK?

api.adwords.refreshToken=1/xx-xxx_
api.adwords.clientId=-.apps.googleusercontent.com
api.adwords.clientSecret=
api.adwords.developerToken=xx-xxx
api.adwords.isPartialFailure=false
api.adwords.returnMoneyInMicros=true
api.adwords.reportDownloadTimeout=1

Any Idea?

Thanks.

On Monday, December 2, 2013 7:46:55 AM UTC+2, Takeshi Hagikura (AdWords API 
Team) wrote:

 Hi assaf,

 Let me confirm, does your refresh token look like in the form 
 of 1/Ix as in this 
 guidehttps://developers.google.com/adwords/api/docs/guides/soap
 ?
 If not, you are likely to use a wrong token as a refresh token and I 
 recommend to use 
 GetRefreshToken.javahttps://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/auth/GetRefreshToken.java
  to 
 obtain a refresh token.

 Best,
 - Takeshi, AdWords API Team

 On Thursday, November 28, 2013 4:17:09 AM UTC+9, assaf wrote:

 Hi Danial,

 I re-generated all the codes again (clientId,refreshToken,clientSecret) 
 and still receive the same error.
 Any other idea?
 Can I send all the info to someone so they can perhaps take a look?

 Thanks

 On Wednesday, November 27, 2013 3:25:44 PM UTC+2, Danial Klimkin wrote:

 Hello assaf,


 1. Yes, unless the token is manually revoked. You don't need to run 
 GetRefreshToken for the same account again.

 2. Make sure the ads.properties file is populated will all required 
 values. Also, note, you need to be logged in under your AdWords account 
 when obtaining the refresh token.


 -Danial, AdWords API Team.


 On Tuesday, November 26, 2013 7:27:48 PM UTC+4, assaf wrote:

 Thank you.
 I followed the instructions and got the clientID,clientSecret and 
 RefreshToken.
 All are in place in the ads.properties.

 1. Are these credentials permanent for as many API calls as I want do I 
 need to keep on running GetRefreshToken.java and changing the 
 RefreshToken? 
 2. I tried to run the report DownloadCriteriaReport.java and saw 
 both oAuth2Credential and session got populated with no errors.
When running the runExample method and passing the session as 
 parameter I get the next error - 
Report was not downloaded. HTTP Response Code: 400, Trigger: null, 
 Type: AuthenticationError.OAUTH_TOKEN_INVALID

What am I missing?

 Thanks.

 On Tuesday, November 26, 2013 11:45:45 AM UTC+2, Danial Klimkin wrote:

 Hello,


 Yes, you need the Dependency JARs for the AdWords library 1.22.0 and 
 Apache Axis without Maven one.


 -Danial, AdWords API Team.


 On Monday, November 25, 2013 7:29:00 PM UTC+4, assaf wrote:

 No special reason for avoiding the new authentication method - just 
 never done it before.
 I just need the jars so the code will compile (no Maven plugin etc).

 Is what I am looking for referred as Api-Ads?
 What would be what I am looking for?
 https://code.google.com/p/google-api-ads-java/downloads/list

 Thanks.

 On Monday, November 25, 2013 11:05:44 AM UTC+2, Danial Klimkin wrote:

 Hello assaf,


 With the new Java library it is required to use AdWordsSession for 
 credentials. Is there any reason you want to avoid it?

 As per the file part, the library provides you with the input stream 
 object, you can read from it line by line if you prefer to.


 -Danial, AdWords API Team.


 On Friday, November 22, 2013 1:25:34 PM UTC+4, assaf wrote:

 Hi,

 Due to the change in the API for v201309 - Stats (cost,impressions 
 etc..) are no longer part of the regular fields fetched by the 
 Services.

 I was already pointed to examples such as and other AdHoc reports.

 What I need is a simple *Java *example for fetching the data from 
 the report *without writing the file to the file system.*
 I need the authentication to be the same as the examples in the API 
 jar-

 I mean, in the same format as the standard examples provided in the 
 API jar - like - DownloadAdHocReport.java using :

 AdWordsUser user = new AdWordsUser(); 

 and not the authentication method (OfflineCredentials/Session 
 etc.)  used in -

 https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201309/reporting/DownloadCriteriaReport.java

 Your help is greatly appreciated.

 Thank you.



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

You received this message because you are subscribed to the Google
Groups 

AdParam Service and Currency codes

2013-12-03 Thread havard
Hi,

Is there a list over available currency codes?

We have some issues using currencies such as NOK, SEK, DKK in our 
param1 in other words currencies that do not have a single character 
currency symbol such as $, € or £.

Are currencies limited to those using single characters, or have I missed 
something?

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: need an example for fetching Stats in Java without executing a report to file system - due to migration to v201309

2013-12-03 Thread assaf
OK, My mistake.
I was performing all the changes in a wrong located ads.properties.
One the new refresh Token was taken the report finished successfully.
I will now try reading the data without generating the excel itself.

Many thanks!

On Tuesday, December 3, 2013 3:28:11 PM UTC+2, assaf wrote:

 I regenerated the refresh token, copied to the ads.properties file and 
 still get the same error when generating the report 
 (Report was not downloaded. HTTP Response Code: 400, Trigger: null, 
 Type: AuthenticationError.OAUTH_TOKEN_INVALID).

 Perhaps the length of the other credentials are not OK?

 api.adwords.refreshToken=1/xx-xxx_
 api.adwords.clientId=
 -.apps.googleusercontent.com
 api.adwords.clientSecret=
 api.adwords.developerToken=xx-xxx
 api.adwords.isPartialFailure=false
 api.adwords.returnMoneyInMicros=true
 api.adwords.reportDownloadTimeout=1

 Any Idea?

 Thanks.

 On Monday, December 2, 2013 7:46:55 AM UTC+2, Takeshi Hagikura (AdWords 
 API Team) wrote:

 Hi assaf,

 Let me confirm, does your refresh token look like in the form 
 of 1/Ix as in this 
 guide https://developers.google.com/adwords/api/docs/guides/soap?
 If not, you are likely to use a wrong token as a refresh token and I 
 recommend to use 
 GetRefreshToken.javahttps://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/auth/GetRefreshToken.java
  to 
 obtain a refresh token.

 Best,
 - Takeshi, AdWords API Team

 On Thursday, November 28, 2013 4:17:09 AM UTC+9, assaf wrote:

 Hi Danial,

 I re-generated all the codes again (clientId,refreshToken,clientSecret) 
 and still receive the same error.
 Any other idea?
 Can I send all the info to someone so they can perhaps take a look?

 Thanks

 On Wednesday, November 27, 2013 3:25:44 PM UTC+2, Danial Klimkin wrote:

 Hello assaf,


 1. Yes, unless the token is manually revoked. You don't need to run 
 GetRefreshToken for the same account again.

 2. Make sure the ads.properties file is populated will all required 
 values. Also, note, you need to be logged in under your AdWords account 
 when obtaining the refresh token.


 -Danial, AdWords API Team.


 On Tuesday, November 26, 2013 7:27:48 PM UTC+4, assaf wrote:

 Thank you.
 I followed the instructions and got the clientID,clientSecret and 
 RefreshToken.
 All are in place in the ads.properties.

 1. Are these credentials permanent for as many API calls as I want do 
 I need to keep on running GetRefreshToken.java and changing the 
 RefreshToken? 
 2. I tried to run the report DownloadCriteriaReport.java and saw 
 both oAuth2Credential and session got populated with no errors.
When running the runExample method and passing the session as 
 parameter I get the next error - 
Report was not downloaded. HTTP Response Code: 400, Trigger: 
 null, Type: AuthenticationError.OAUTH_TOKEN_INVALID

What am I missing?

 Thanks.

 On Tuesday, November 26, 2013 11:45:45 AM UTC+2, Danial Klimkin wrote:

 Hello,


 Yes, you need the Dependency JARs for the AdWords library 1.22.0 and 
 Apache Axis without Maven one.


 -Danial, AdWords API Team.


 On Monday, November 25, 2013 7:29:00 PM UTC+4, assaf wrote:

 No special reason for avoiding the new authentication method - just 
 never done it before.
 I just need the jars so the code will compile (no Maven plugin etc).

 Is what I am looking for referred as Api-Ads?
 What would be what I am looking for?
 https://code.google.com/p/google-api-ads-java/downloads/list

 Thanks.

 On Monday, November 25, 2013 11:05:44 AM UTC+2, Danial Klimkin wrote:

 Hello assaf,


 With the new Java library it is required to use AdWordsSession for 
 credentials. Is there any reason you want to avoid it?

 As per the file part, the library provides you with the input 
 stream object, you can read from it line by line if you prefer to.


 -Danial, AdWords API Team.


 On Friday, November 22, 2013 1:25:34 PM UTC+4, assaf wrote:

 Hi,

 Due to the change in the API for v201309 - Stats (cost,impressions 
 etc..) are no longer part of the regular fields fetched by the 
 Services.

 I was already pointed to examples such as and other AdHoc reports.

 What I need is a simple *Java *example for fetching the data from 
 the report *without writing the file to the file system.*
 I need the authentication to be the same as the examples in the 
 API jar-

 I mean, in the same format as the standard examples provided in 
 the API jar - like - DownloadAdHocReport.java using :

 AdWordsUser user = new AdWordsUser(); 

 and not the authentication method (OfflineCredentials/Session 
 etc.)  used in -

 https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201309/reporting/DownloadCriteriaReport.java

 Your help is greatly appreciated.

 Thank you.




Problem api adword

2013-12-03 Thread KAMOUN Ilyess
Hello, i dont understand what the meaning this error and why i have this 
error :

[message:protected] = [AdError.INVALID_AD_TYPE @ operations[0].operand.ad]

Can you help me please to solve this problem?

here are my script and response soap; thank you in advance.

*
***RESPONSE SOAP
SoapFault Object
(
[message:protected] = [AdError.INVALID_AD_TYPE @ operations[0].
operand.ad]
[string:Exception:private] = 
[code:protected] = 0
[file:protected] = /var/www/vhosts/httpdocs/
example.com/adwords_api_php_4.6.1/autreesai.php
[line:protected] = 122
[trace:Exception:private] = Array
(
[0] = Array
(
[file] = /var/www/vhosts/httpdocs/
example.com/adwords_api_php_4.6.1/autreesai.php
[line] = 122
[function] = __call
[class] = SoapClient
[type] = -
[args] = Array
(
[0] = mutate
[1] = Array
(
[0] = Array
(
[0] = AdGroupAdOperation Object
(
[operand] = AdGroupAd 
Object
(
[adGroupId] = 
8424820921
[ad] = TextAd 
Object
(

[headline] = Cruise

[description1] = Visit

[description2] = Low-gravity
[id] = 
[url] 
= http://www.example.com

[displayUrl] = www.example.com

[devicePreference] = 

[disapprovalReasons] = 

[AdType] = TextAd

[_parameterMap:Ad:private] = Array
(

[Ad.Type] = AdType
)

)


[experimentData] = 
[status] = 
PAUSED

[approvalStatus] = 

[trademarkDisapproved] = 
[stats] = 

[forwardCompatibilityMap] = 
)

[exemptionRequests] = 
[operator] = ADD
[OperationType] = 

[_parameterMap:Operation:private] = Array
(

[Operation.Type] = OperationType
)

)

)

)

)

)

[1] = Array
(
[file] = /var/www/vhosts/
example.com/adwords_api_php_4.6.1/autreesai.php
[line] = 122
[function] = mutate
[class] = SoapClient
[type] = -
[args] = Array
(
[0] = Array
(
[0] = AdGroupAdOperation Object
(
[operand] = AdGroupAd Object
(
[adGroupId] 

Re: AccountDisabled Error

2013-12-03 Thread Maxim Kurapatkin
Got you! 

Thanks!
-Maxim Kurapatkin


On Monday, December 2, 2013 3:09:54 PM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:

 Hi Maxim,

 This error comes from ClientLogin and can occur when AuthTokens are 
 requested too quickly or at the same time from different locations.  To 
 unlock the accounts you will need to log into them manually and enter the 
 Captcha string.

 Please note that the ClientLogin protocol is now deprecated and will be 
 sunset in 
 2014http://googleadsdeveloper.blogspot.com/2013/09/announcing-sunset-of-clientlogin-in.html.
  
  Please consider migrating to OAuth2 as soon as possible.  

 Regards,
 Josh, AdWords API Team

 On Saturday, November 30, 2013 9:09:46 PM UTC-5, Maxim Kurapatkin wrote:

 Hello,
 I use My Client Center API to manage linked Adwords account.
 Both of them can be managed under the web, without any limitations. 
 However starting two weeks ago, our perl based API platform start getting 
 messages like:

 An error as occurred trying to retrieve the authorization token. Error: 
 AuthError {
   message: Forbidden
   code: 403
   content: Error=AccountDisabled
 Url=
 https://www.google.com/accounts/ErrorMsg?Email=*id=adisservice=adwords

 } at /isotree/lib/perl/Google/Ads/Common/AuthTokenHandler.pm line 225.

 At the same moment it works for another google adwords accounts (the same 
 library, the same code)...

 Could you please give an insight the reasons that can cause error 
 responses like that?


 Thanks
 -Maxim Kurapatkin





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Missing TARGETED_MONTHLY_SEARCHES from response

2013-12-03 Thread PPC London
Hi Takeshi
Thanks for reply
We are changing our code to handle this, 
But up to 2 weeks back we were getting back SEARCH_VOLUME , COMPETITION and 
TARGETED_MONTHLY_SEARCHES back for all the keywords(with values 0 for those 
keywords without STATS) 
And suddenly our users reported that our applications are not working, and 
on investigating we found that the above items are no more returned for 
keywords without STATS

Our concern is that we would like to know about such breaking changes in 
advance.
Cheers

On Tuesday, December 3, 2013 6:48:45 AM UTC, Takeshi Hagikura (AdWords API 
Team) wrote:

 Hi, 

 Checked with the relevant engineer. It's expected. 

 When you query STATS, the backend doesn't have the stat for the exact same 
 keyword (holiday kephalona greece in this case) so nothing is returned.
 (if you query the keyword that has the stats, you should get the results)

 If you query IDEAS, you get ideas for related keywords, so you should get 
 results. 

 Best,
 - Takeshi, AdWords API Team

 On Monday, December 2, 2013 8:02:20 PM UTC+9, PPC London wrote:

 Thanks Takeshi
 Please update us once it is solved
 Thanks

 On Monday, December 2, 2013 7:12:35 AM UTC, Takeshi Hagikura (AdWords API 
 Team) wrote:

 Hi, 

 Thanks, I'm able to reproduce it as well. 

 I think it's an unexpected behavior. 
 I'm escalating it to the relevant engineer. 

 Best,
 - Takeshi, AdWords API Team

 On Friday, November 29, 2013 8:01:12 PM UTC+9, PPC London wrote:

 Hi Takeshi 

 Just had a closer look at your request 
 you are doing 
 requestTypeIDEAS/requestType
 but I am doing 
 requestTypeSTATS/requestType

 I am doing STATS because I want stats for given keyword

 IDEAS will return other related similar keywords with their stats

 so the 12 months volumes you see are for some related keyword but not 
 the actual one in request

 Thanks


 On Friday, November 29, 2013 6:45:43 AM UTC, Takeshi Hagikura (AdWords 
 API Team) wrote:

 Hi everyone, 

 Thanks for the report. 
 Just to make sure, is it still reproducible?

 I tried the following request and I got the monthly values (12 values) 
 for each keyword. 

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
   soapenv:Header
 ns1:RequestHeader soapenv:actor=
 http://schemas.xmlsoap.org/soap/actor/next; 
 soapenv:mustUnderstand=0 xmlns:ns1=
 https://adwords.google.com/api/adwords/o/v201309;
   ns2:authToken xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201309
 **/ns2:authToken
   ns3:clientCustomerId xmlns:ns3=
 https://adwords.google.com/api/adwords/cm/v201309;** 
 /ns3:clientCustomerId
   ns4:developerToken xmlns:ns4=
 https://adwords.google.com/api/adwords/cm/v201309
 ***/ns4:developerToken
   ns5:userAgent xmlns:ns5=
 https://adwords.google.com/api/adwords/cm/v201309;user 
 agent/ns5:userAgent
   ns6:validateOnly xmlns:ns6=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns6:validateOnly
   ns7:partialFailure xmlns:ns7=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns7:partialFailure
 /ns1:RequestHeader
   /soapenv:Header
   soapenv:Body
 get xmlns=https://adwords.google.com/api/adwords/o/v201309;
   selector
 searchParameters xsi:type=ns8:RelatedToQuerySearchParameter 
 xmlns:ns8=https://adwords.google.com/api/adwords/o/v201309;
   queriesholiday kephalona greece/queries
 /searchParameters
 searchParameters xsi:type=ns9:LocationSearchParameter 
 xmlns:ns9=https://adwords.google.com/api/adwords/o/v201309;
   locations
 ns10:id xmlns:ns10=
 https://adwords.google.com/api/adwords/cm/v201309;2826/ns10:id
   /locations
 /searchParameters
 searchParameters xsi:type=ns11:NetworkSearchParameter 
 xmlns:ns11=https://adwords.google.com/api/adwords/o/v201309;
   networkSetting
 ns12:targetGoogleSearch xmlns:ns12=
 https://adwords.google.com/api/adwords/cm/v201309
 true/ns12:targetGoogleSearch
 ns13:targetSearchNetwork xmlns:ns13=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns13:targetSearchNetwork
 ns14:targetContentNetwork xmlns:ns14=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns14:targetContentNetwork
 ns15:targetPartnerSearchNetwork xmlns:ns15=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns15:targetPartnerSearchNetwork
   /networkSetting
 /searchParameters
 ideaTypeKEYWORD/ideaType
 requestTypeIDEAS/requestType
 requestedAttributeTypesKEYWORD_TEXT/requestedAttributeTypes
 
 requestedAttributeTypesSEARCH_VOLUME/requestedAttributeTypes
 
 requestedAttributeTypesTARGETED_MONTHLY_SEARCHES/requestedAttributeTypes
 requestedAttributeTypesCOMPETITION/requestedAttributeTypes
 
 

how to get ClientCustomerID after oAuth2 authorization

2013-12-03 Thread larisa bolgova
Hi.
I face next problem.

I used oAuth2 to authorize my web Application. For the next step i need to 
get ClientCustomerID. I used ManagedCustomerService. 

$user = new AdWordsUser(NULL, 'em...@gmail.com', 'paswd', DeveloperToken', 
NULL,
'MCC', NULL, NULL, 'access_token', NULL);

after that i get error - AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID.

What i did wrong? And am i right using the response from oAuth2 in client 
library?

Please help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


to add keywords

2013-12-03 Thread KAMOUN Ilyess
hello everybody ,to add keywords what Webs Service Appropriate: 
AdGroupCriterionService or AdGroupAdService, Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Your client does not have permission to get URL

2013-12-03 Thread Modix Germany
Hi Josh,

Thanks for the info.

I've checked inbox but found nothing special. Two ads were declined because 
of trademark and non-working destination url.

Regards
- Daniel

Am Montag, 2. Dezember 2013 21:19:30 UTC+1 schrieb Josh Radcliff (AdWords 
API Team):

 Hi Daniel,

 Regarding the abnormal requests question, if we see that your API client 
 is making a large number of erroneous calls or causing other issues we will 
 reach out to you via the email address provided during the signup process.

 Cheers,
 Josh, AdWords API Team

 On Friday, November 22, 2013 2:10:44 PM UTC-5, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Daniel,

 My colleague is following up with you offline on this one.  One of us 
 will post back to this topic once the issue is resolved.

 Regards,
 Josh, AdWords API Team

 On Wednesday, November 20, 2013 8:45:39 AM UTC-5, Modix Germany wrote:

 Hello,

 we're using the PHP client library v201306. All of a sudden, we are now 
 running into a SoapFault when requesting the WSDL from Google AdWords web 
 service.

 Curl outputs the following; curl 
 https://adwords.google.com/api/adwords/cm/v201306/MutateJobService?wsdl:

 !DOCTYPE html
 html lang=en
   meta charset=utf-8
   meta name=viewport content=initial-scale=1, minimum-scale=1, 
 width=device-width
   titleError 403 (Forbidden)!!1/title
   style
 *{margin:0;padding:0}html,code{font:15px/22px 
 arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7%
  
 auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}*  
 body{background:url(//www.google.com/images/errors/robot.png) 100% 5px 
 no-repeat;padding-right:205px}p{margin:11px 0 
 22px;overflow:hidden}ins{color:#777;text-decoration:none}a 
 img{border:0}@media screen and 
 (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
   /style
   a href=//www.google.com/img src=//
 www.google.com/images/errors/logo_sm.gif alt=Google/a
   pb403./b insThat’s an error./ins
   pYour client does not have permission to get URL 
 code/api/adwords/cm/v201306/MutateJobService/code from this server.  
 insThat’s all we know./ins


 What's the reason that cause above HTTP/403 error?

 Regards
 - Daniel



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


How to aggregate data that was segmented by clicktype

2013-12-03 Thread Zweitze
Hello,

We have our own database which is synchronized from AdWords reports. We 
retrieve the data with many segments, including date, device, networktype 
and also clicktype. For most uses of the data we have to aggregate the 
data. Usually this means that we add: if we want to get the number of 
clicks in a month, we add the clicks of every day in that month.
The one exception is impressions in the segment clicktype: if we want to 
know the total impressions, and only have the impressions for each 
clicktype, then we do NOT add all impressions for each clicktype: we only 
use the impressions from the clicktype record Headline.

Well that worked three years ago, apparently this is no longer true. We 
noticed that clicktype Phone calls should also be added, so to get the 
sum, we should add the impressions of clicktype records Headline and 
Phone calls, and ignore the rest.

My question: Is that rule correct? Or, what is the current rule?

Note: Some in this forum suggest that we should leave out segment clicktype 
to get the aggregated value. But we already use 20 (!!) different AdWords 
reports for a single account, and if we add reports without this segment 
the number goes up to 25 (or 30, I have to look into that). Therefore I 
prefer to implement the right aggregation rules...

Thanks in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Geo performance report CityCriteriaId misguides developers

2013-12-03 Thread Chirag
Hello Paul,

Any information ragrding this?


On Monday, October 28, 2013 4:18:25 PM UTC+5:30, Chirag wrote:

 Hello Paul,

 Thanks for reply.

 When i can expect this to be update?

 On Friday, October 25, 2013 9:23:04 PM UTC+5:30, Paul Matthews (AdWords 
 API Team) wrote:

 Hi Chirag,

 You're correct, though it's listed off as a Integer, it's actually 
 returned as a String. I'll see if we can get this (or a similar) column to 
 be an integer to provide the level of granularity required. I'll update 
 this thread as soon as I have new information.

 Regards,

 - Paul, Adwords Api Team.

 On Tuesday, 22 October 2013 11:35:34 UTC+1, Chirag wrote:

 Hello Team,

 Under Geo performance report CityCriteriaId gives us string for city and 
 not the original criteria id for which city is targeted.

 Lets see if i am going to fetch report for city = Mexico for Indiana 
 targeted.
 But unfortunately i am getting report for city targeted Mexico,Missouri 
 that wrong.

 So how i can identify for city i wants to target is correct.

 In geography list am getting  
 31017200  Mexico  Mexico,Indiana,United States 21148  US City   
 Active41018941   
 Mexico  Mexico,Maine,United States  
 21154US City   Active51020483Mexico  Mexico,Missouri,United States  
 21157   
 US   City   
   Active61023144Mexico 
 Mexico,New York,United States  21167 
 USCity
 Active



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Alert Service required MCC account.

2013-12-03 Thread Chirag
Hello Paul,

Yes, As you can see in my earlier post, i am using the same code as your 
one.
But as you are not getting any error, i have tryed once again with no 
success.
Please see my request id here, getting same error - An error has occurred: 
[AlertError.INVALID_CLIENT_ID_SELECTED @ 
selector.query.clientExternalCustomerIds[0]] 

My request Id : 
requestId=0004eca46e3a88200aa4e603090b

My Code : 

// Create alert query.
$query = new AlertQuery();
$query-clientSpec = ID_LIST;
$query-clientCustomerIds = array(00);
$query-filterSpec = ALL;
$query-triggerTimeSpec = ALL_TIME;

// Create selector.
$selector = new AlertSelector();
$selector-query = $query;

// Create paging controls.
$selector-paging = new Paging(0, 
AdWordsConstants::RECOMMENDED_PAGE_SIZE);

On Tuesday, December 3, 2013 7:48:09 PM UTC+5:30, Paul Matthews (AdWords 
API Team) wrote:

 Hi Chirag,

 Here's the code that I've got:

 $query = new AlertQuery();
 $query-clientSpec = ID_LIST;
 $query-clientCustomerIds = array(00);
 $query-filterSpec = ALL;
 $query-triggerTimeSpec = ALL_TIME;
 $selector = new AlertSelector();
 $selector-query = $query;
  // Create paging controls.
 $selector-paging = new Paging(0, 
 AdWordsConstants::RECOMMENDED_PAGE_SIZE);


 Where the value of 00 is my (integer) client ID, with no hyphens.

 Regards,

 - Paul, AdWords API Team.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: AccountDisabled Error

2013-12-03 Thread Maxim Kurapatkin
Hello,

manually and enter the Captcha string.

Is it a special place under the account settings where i proceed with 
captcha? Because i never get the captcha question during the web login 
either My client or Adwords account.. 

Please let me know.






On Monday, December 2, 2013 3:09:54 PM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:

 Hi Maxim,

 This error comes from ClientLogin and can occur when AuthTokens are 
 requested too quickly or at the same time from different locations.  To 
 unlock the accounts you will need to log into them manually and enter the 
 Captcha string.

 Please note that the ClientLogin protocol is now deprecated and will be 
 sunset in 
 2014http://googleadsdeveloper.blogspot.com/2013/09/announcing-sunset-of-clientlogin-in.html.
  
  Please consider migrating to OAuth2 as soon as possible.  

 Regards,
 Josh, AdWords API Team

 On Saturday, November 30, 2013 9:09:46 PM UTC-5, Maxim Kurapatkin wrote:

 Hello,
 I use My Client Center API to manage linked Adwords account.
 Both of them can be managed under the web, without any limitations. 
 However starting two weeks ago, our perl based API platform start getting 
 messages like:

 An error as occurred trying to retrieve the authorization token. Error: 
 AuthError {
   message: Forbidden
   code: 403
   content: Error=AccountDisabled
 Url=
 https://www.google.com/accounts/ErrorMsg?Email=*id=adisservice=adwords

 } at /isotree/lib/perl/Google/Ads/Common/AuthTokenHandler.pm line 225.

 At the same moment it works for another google adwords accounts (the same 
 library, the same code)...

 Could you please give an insight the reasons that can cause error 
 responses like that?


 Thanks
 -Maxim Kurapatkin





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: AccountDisabled Error

2013-12-03 Thread Evgeniy Bogdanov
If you run this code on server, try to open Adwords UI from server's IP.


2013/12/3 Maxim Kurapatkin ma...@isotree.com

 Hello,

 manually and enter the Captcha string.

 Is it a special place under the account settings where i proceed with
 captcha? Because i never get the captcha question during the web login
 either My client or Adwords account..

 Please let me know.






 On Monday, December 2, 2013 3:09:54 PM UTC-5, Josh Radcliff (AdWords API
 Team) wrote:

 Hi Maxim,

 This error comes from ClientLogin and can occur when AuthTokens are
 requested too quickly or at the same time from different locations.  To
 unlock the accounts you will need to log into them manually and enter the
 Captcha string.

 Please note that the ClientLogin protocol is now deprecated and will be
 sunset in 
 2014http://googleadsdeveloper.blogspot.com/2013/09/announcing-sunset-of-clientlogin-in.html.
  Please consider migrating to OAuth2 as soon as possible.

 Regards,
 Josh, AdWords API Team

 On Saturday, November 30, 2013 9:09:46 PM UTC-5, Maxim Kurapatkin wrote:

 Hello,
 I use My Client Center API to manage linked Adwords account.
 Both of them can be managed under the web, without any limitations.
 However starting two weeks ago, our perl based API platform start getting
 messages like:

 An error as occurred trying to retrieve the authorization token. Error:
 AuthError {
   message: Forbidden
   code: 403
   content: Error=AccountDisabled
 Url=https://www.google.com/accounts/ErrorMsg?Email=*;
 id=adisservice=adwords

 } at /isotree/lib/perl/Google/Ads/Common/AuthTokenHandler.pm line 225.

 At the same moment it works for another google adwords accounts (the
 same library, the same code)...

 Could you please give an insight the reasons that can cause error
 responses like that?


 Thanks
 -Maxim Kurapatkin



  --
 --
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 Also find us on our blog and discussion group:
 http://googleadsdeveloper.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.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Does the current status of the campaign affect historical keyword download?

2013-12-03 Thread Peter Kingswell
Hi,

I'm seeing some unexpected behaviour from the reporting API.

Let's say it's Friday and you download Monday's keywords (filtering on 
CampaignStatus == ACTIVE) for an account with one active campaign. 
 Keywords are returned.  Then you pause the campaign and download Monday's 
keywords again (filtering on CampaignStatus == ACTIVE).  This time no 
keywords are returned.

This to me is unexpected behaviour.  On Monday the campaign was active and 
that's all that matters - the fact that it's now (i.e. on Friday) paused is 
of no relevance.  Right?

Thanks, Peter

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: AccountDisabled Error

2013-12-03 Thread Maxim Kurapatkin
Thanks for the insight. Did that with no luck...





On Tuesday, December 3, 2013 1:53:13 PM UTC-5, Evgeniy Bogdanov wrote:

 If you run this code on server, try to open Adwords UI from server's IP. 


 2013/12/3 Maxim Kurapatkin ma...@isotree.com javascript:

 Hello,

 manually and enter the Captcha string.

 Is it a special place under the account settings where i proceed with 
 captcha? Because i never get the captcha question during the web login 
 either My client or Adwords account.. 

 Please let me know.






 On Monday, December 2, 2013 3:09:54 PM UTC-5, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Maxim,

 This error comes from ClientLogin and can occur when AuthTokens are 
 requested too quickly or at the same time from different locations.  To 
 unlock the accounts you will need to log into them manually and enter the 
 Captcha string.

 Please note that the ClientLogin protocol is now deprecated and will be 
 sunset in 
 2014http://googleadsdeveloper.blogspot.com/2013/09/announcing-sunset-of-clientlogin-in.html.
  
  Please consider migrating to OAuth2 as soon as possible.  

 Regards,
 Josh, AdWords API Team

 On Saturday, November 30, 2013 9:09:46 PM UTC-5, Maxim Kurapatkin wrote:

 Hello,
 I use My Client Center API to manage linked Adwords account.
 Both of them can be managed under the web, without any limitations. 
 However starting two weeks ago, our perl based API platform start getting 
 messages like:

 An error as occurred trying to retrieve the authorization token. Error: 
 AuthError {
   message: Forbidden
   code: 403
   content: Error=AccountDisabled
 Url=https://www.google.com/accounts/ErrorMsg?Email=*;
 id=adisservice=adwords

 } at /isotree/lib/perl/Google/Ads/Common/AuthTokenHandler.pm line 225.

 At the same moment it works for another google adwords accounts (the 
 same library, the same code)...

 Could you please give an insight the reasons that can cause error 
 responses like that?


 Thanks
 -Maxim Kurapatkin



  -- 
 -- 
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 Also find us on our blog and discussion group:
 http://googleadsdeveloper.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 adwor...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 adwords-api...@googlegroups.com javascript:
 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...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Reading stats from reports, sorting them and displaying them on UI (Without saving to files)

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi Naman,

Reports including SEARCH_QUERY_PERFORMANCE_REPORT don't support ordering. 
So you need to download the report first in your local, then add sort 
function
by some criteria (like clicks). 
Does this answer your question?

Best,
- Takeshi, AdWords API Team

On Monday, December 2, 2013 12:04:23 AM UTC+9, naman jindal wrote:

 Hey Guys,

 I am using Java Client library for building my API web application.

 What I want is, to read the data from SEARCH_QUERY_PERFORMANCE_REPORT, 
 sort the data by clicks and display the top 100 results in my target jsp 
 page.

 It will be really great if anyone can help me out by suggesting the most 
 efficient way to do this. Your small suggestion can make a big difference 
 to my application.

 Thanks and Regards,
 Naman Jindal


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Getting ad groups audience bids adjustments and targeting settings via API

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi Anil,

You can use bidModifier field of the 
BiddableAdGroupCriterionhttps://developers.google.com/adwords/api/docs/reference/latest/AdGroupCriterionService.BiddableAdGroupCriterion
 to 
know the bid adjustments.
Please see this guide for more details 
https://developers.google.com/adwords/api/docs/guides/bidding#content-dimensions.

Best,
- Takeshi, AdWords API Team

On Monday, December 2, 2013 7:02:29 PM UTC+9, Anil wrote:

 Hi,

 Using which API service we can get ad groups audience bids adjustments and 
 targeting settings via API? 
 Audience Performance Report seems does not contain Targeting Setting type.

 Thanks.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Campaigns number limit question

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi GDZ,

You can have 10,000 campaigns for each account. 

Best,
- Takeshi, 

On Tuesday, December 3, 2013 5:36:29 AM UTC+9, GDZ wrote:

 Little bit confused here. Limit of total 10,000 campaigns - does it apply 
 to all my client accounts? I.e. if I say have 3 client accounts in my MCC 
 account, does that mean I can have 10,000 campaigns for each, or 10,000 
 total spreaded between these three?

 Thank you!  


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Campaigns number limit question

2013-12-03 Thread GDZ
Thank you!

On Tuesday, December 3, 2013 11:29:07 PM UTC-5, Takeshi Hagikura (AdWords 
API Team) wrote:

 Hi GDZ,

 You can have 10,000 campaigns for each account. 

 Best,
 - Takeshi, 

 On Tuesday, December 3, 2013 5:36:29 AM UTC+9, GDZ wrote:

 Little bit confused here. Limit of total 10,000 campaigns - does it apply 
 to all my client accounts? I.e. if I say have 3 client accounts in my MCC 
 account, does that mean I can have 10,000 campaigns for each, or 10,000 
 total spreaded between these three?

 Thank you!  



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Error running AdWords API with Google App Engine

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi Andres,

Unfortunately there isn't a demo app for appengine using the Java client 
library. 

Best,
- Takeshi, 

On Tuesday, December 3, 2013 8:58:20 PM UTC+9, Anders H wrote:

 Hi Takeshi,

 Thank you for your suggestion. I will have at look at it and write back 
 with my results when I have finished testing.

 Are there any up to date Java demo applications available for using 
 AdWords API on App Engine? I was thinking of something like this Python 
 demo:

 https://developers.google.com/adwords/api/docs/demo-apps?hl=da#awapi_app_engine_python

 Thanks,
 Anders

 Den fredag den 29. november 2013 07.18.25 UTC+1 skrev Takeshi Hagikura 
 (AdWords API Team):

 Hi Anders,

 Due to the security protection for appengine, currently SOAP calls by 
 axis are not allowed. 
 You should be able to make a call with the jaxws 
 moduleshttps://code.google.com/p/google-api-ads-java/source/browse/#git%2Fmodules%2Fadwords_appengine%2Fsrc%2Fmain%2Fjava%2Fcom%2Fgoogle%2Fapi%2Fads%2Fadwords%2Fjaxws%253Fstate%253Dclosed
 . 
 Can you please try that?

 Best,
 - Takeshi, AdWords API Team

 On Wednesday, November 27, 2013 6:29:18 PM UTC+9, Anders H wrote:

 I am working on an App Engine Java project that tries to get a list of 
 clients from a MCC Test Account. The project is using the Java Client 
 Library.

 The application is working when running locally on the devserver, but 
 when running on appspot the statement:

 *page = managedCustomerService.get(selector);*

  
 throws the following exception:

 AxisFault
  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
  faultSubcode: 
  faultString: java.net.SocketException: Permission denied: Attempt to 
 access a blocked recipient without permission. (mapped-IPv4)

 As I was in doubt which forum was best to ask this kind of question that 
 includes both AdWords API and App Engine, I have already posted further 
 details in the App Engine forum: 
 http://stackoverflow.com/questions/20192725/java-socket-exception-when-running-google-adwords-api-on-google-app-engine

 Could this be an error with the AdWords API / App Engine support or am I 
 missing something?

 Thanks,
 Anders






-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


What WebService i use to add keywords?

2013-12-03 Thread karima Mechergui
Hi Team;
Can you help me please? I do not know what I use webservice to add
keywords: AdGroupCriterionService or AdGroupAdService?Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Your client does not have permission to get URL

2013-12-03 Thread Jonathan Fann
I have removed the map and put the old version of Google Maps embedded on 
the page and it works... does not work when using the new Google Maps embed.

On Friday, November 22, 2013 2:10:44 PM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:

 Hi Daniel,

 My colleague is following up with you offline on this one.  One of us will 
 post back to this topic once the issue is resolved.

 Regards,
 Josh, AdWords API Team

 On Wednesday, November 20, 2013 8:45:39 AM UTC-5, Modix Germany wrote:

 Hello,

 we're using the PHP client library v201306. All of a sudden, we are now 
 running into a SoapFault when requesting the WSDL from Google AdWords web 
 service.

 Curl outputs the following; curl 
 https://adwords.google.com/api/adwords/cm/v201306/MutateJobService?wsdl:

 !DOCTYPE html
 html lang=en
   meta charset=utf-8
   meta name=viewport content=initial-scale=1, minimum-scale=1, 
 width=device-width
   titleError 403 (Forbidden)!!1/title
   style
 *{margin:0;padding:0}html,code{font:15px/22px 
 arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7%
  
 auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}*  
 body{background:url(//www.google.com/images/errors/robot.png) 100% 5px 
 no-repeat;padding-right:205px}p{margin:11px 0 
 22px;overflow:hidden}ins{color:#777;text-decoration:none}a 
 img{border:0}@media screen and 
 (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
   /style
   a href=//www.google.com/img src=//
 www.google.com/images/errors/logo_sm.gif alt=Google/a
   pb403./b insThat’s an error./ins
   pYour client does not have permission to get URL 
 code/api/adwords/cm/v201306/MutateJobService/code from this server.  
 insThat’s all we know./ins


 What's the reason that cause above HTTP/403 error?

 Regards
 - Daniel



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Missing TARGETED_MONTHLY_SEARCHES from response

2013-12-03 Thread Marius-Eugen Gerdan
Hi Takeshi, 

It is also for me still not working correctly.

Am Freitag, 29. November 2013 07:45:43 UTC+1 schrieb Takeshi Hagikura 
(AdWords API Team):

 Hi everyone, 

 Thanks for the report. 
 Just to make sure, is it still reproducible?

 I tried the following request and I got the monthly values (12 values) for 
 each keyword. 

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
 xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
   soapenv:Header
 ns1:RequestHeader soapenv:actor=
 http://schemas.xmlsoap.org/soap/actor/next; soapenv:mustUnderstand=0 
 xmlns:ns1=https://adwords.google.com/api/adwords/o/v201309;
   ns2:authToken xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201309;**/ns2:authToken
   ns3:clientCustomerId xmlns:ns3=
 https://adwords.google.com/api/adwords/cm/v201309;** 
 /ns3:clientCustomerId
   ns4:developerToken xmlns:ns4=
 https://adwords.google.com/api/adwords/cm/v201309
 ***/ns4:developerToken
   ns5:userAgent xmlns:ns5=
 https://adwords.google.com/api/adwords/cm/v201309;user 
 agent/ns5:userAgent
   ns6:validateOnly xmlns:ns6=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns6:validateOnly
   ns7:partialFailure xmlns:ns7=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns7:partialFailure
 /ns1:RequestHeader
   /soapenv:Header
   soapenv:Body
 get xmlns=https://adwords.google.com/api/adwords/o/v201309;
   selector
 searchParameters xsi:type=ns8:RelatedToQuerySearchParameter 
 xmlns:ns8=https://adwords.google.com/api/adwords/o/v201309;
   queriesholiday kephalona greece/queries
 /searchParameters
 searchParameters xsi:type=ns9:LocationSearchParameter 
 xmlns:ns9=https://adwords.google.com/api/adwords/o/v201309;
   locations
 ns10:id xmlns:ns10=
 https://adwords.google.com/api/adwords/cm/v201309;2826/ns10:id
   /locations
 /searchParameters
 searchParameters xsi:type=ns11:NetworkSearchParameter 
 xmlns:ns11=https://adwords.google.com/api/adwords/o/v201309;
   networkSetting
 ns12:targetGoogleSearch xmlns:ns12=
 https://adwords.google.com/api/adwords/cm/v201309
 true/ns12:targetGoogleSearch
 ns13:targetSearchNetwork xmlns:ns13=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns13:targetSearchNetwork
 ns14:targetContentNetwork xmlns:ns14=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns14:targetContentNetwork
 ns15:targetPartnerSearchNetwork xmlns:ns15=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns15:targetPartnerSearchNetwork
   /networkSetting
 /searchParameters
 ideaTypeKEYWORD/ideaType
 requestTypeIDEAS/requestType
 requestedAttributeTypesKEYWORD_TEXT/requestedAttributeTypes
 requestedAttributeTypesSEARCH_VOLUME/requestedAttributeTypes
 
 requestedAttributeTypesTARGETED_MONTHLY_SEARCHES/requestedAttributeTypes
 requestedAttributeTypesCOMPETITION/requestedAttributeTypes
 
 requestedAttributeTypesEXTRACTED_FROM_WEBPAGE/requestedAttributeTypes
 paging
   ns16:startIndex xmlns:ns16=
 https://adwords.google.com/api/adwords/cm/v201309;0/ns16:startIndex
   ns17:numberResults xmlns:ns17=
 https://adwords.google.com/api/adwords/cm/v201309;10/ns17:numberResults
 /paging
   /selector
 /get
   /soapenv:Body
   /soapenv:Envelope

 Best,
 - Takeshi, AdWords API Team

 On Thursday, November 28, 2013 9:24:18 PM UTC+9, PPC London wrote:


 Thanks Marius
 Good to know that it is not just us.

 On Thursday, November 28, 2013 11:46:24 AM UTC, Marius-Eugen Gerdan wrote:

 you are not alone. we also have this issue. it seems to have to do with 
 some keywords in the call. if you split the calls into multiple calls with 
 only one keyword, this works, only the keywords included, that have no 
 search volume will be affected. this is clearly a bug. please fix this 
 urgent.

 Am Donnerstag, 28. November 2013 11:01:25 UTC+1 schrieb PPC London:

 Is it just us, or anyone else also seen this behavior?
 Its urgent please...

 On Wednesday, November 27, 2013 12:07:16 PM UTC, PPC London wrote:

 Even SEARCH_VOLUME and COMPETITION are missing from response



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 

Re: How do I generate a SOAP call/trace using .NET?

2013-12-03 Thread Angel Armando Adinolffi
Hello, Look at this blog, we provide another example of how to do that.

http://www.systemdeveloper.info/2013/11/trace-soap-requestresponse-xml-with.html

I hope you find it helpful


El jueves, 6 de abril de 2006 18:35:06 UTC-4, briguy escribió:

 I'm using VB.NET to use the Google API and I want to be able to check
 the SOAP call and trace when I run into unexpected problems.  However,
 this is done behind-the-scenes in .NET so I can't see the actually
 SOAP call being generated or returned from the server.  Basically, I
 just add Web References to my project when I want to use the Google
 API.  Is there a way to obtain the actual SOAP call and/or trace before
 and after I call my API function?  Here's some example code:

 Private Function addCampaign(ByVal username As String, ByVal
 password As String) As Object

 Dim camp As Campaign = New Campaign
 Dim operation As String = 

 Try

 Dim service As CampaignServiceService = New
 CampaignServiceService
 service.emailValue = New com.google.adwordsCampaign.email
 service.emailValue.Text =
 Array.CreateInstance(GetType(String), 1)
 service.emailValue.Text.SetValue(username, 0)
 service.passwordValue = New
 com.google.adwordsCampaign.password
 service.passwordValue.Text =
 Array.CreateInstance(GetType(String), 1)
 service.passwordValue.Text.SetValue(password, 0)
 service.useragentValue = New
 com.google.adwordsCampaign.useragent
 service.useragentValue.Text =
 Array.CreateInstance(GetType(String), 1)
 service.useragentValue.Text.SetValue(webmetro, 0)
 service.tokenValue = New com.google.adwordsCampaign.token
 service.tokenValue.Text =
 Array.CreateInstance(GetType(String), 1)
 service.tokenValue.Text.SetValue(token, 0)

 operation = Add Campaign
 camp.dailyBudget = 300
 camp.name = add another one
 camp.status =
 com.google.adwordsCampaign.CampaignStatus.Active
 camp.endDate = New Date(Now.Year + 4, 12, 31)
 camp.optInSearchNetwork = True
 camp.optInContentNetwork = True
 camp = service.addCampaign(camp)

 Catch ex As System.Web.Services.Protocols.SoapException
 errorMsg += nl + operation
 If Not camp.name Is Nothing Then
 If camp.name.Length  0 Then
 errorMsg += nl +  with name:  + camp.name
 End If
 End If

 If Not ex.Detail(ns2:message) Is Nothing Then
 errorMsg += nl + br +
 ex.Detail(ns2:message).InnerText()
 End If

 If Not ex.Detail(ns3:Trigger) Is Nothing Then
 errorMsg += nl + brtrigger:  
 ex.Detail(ns3:trigger).InnerText()
 End If

 If Not ex.Detail(ns3:violations) Is Nothing Then
 Dim violations As String =
 ex.Detail(ns3:violations).InnerText()
 Dim doc As New Xml.XmlDocument
 doc.InnerXml = root  violations  /root
 Dim root As Xml.XmlElement = doc.DocumentElement

 For i As Integer = 0 To root.ChildNodes.Count - 1

 If (Not root.ChildNodes(i)(trigger) Is Nothing)
 And (Not root.ChildNodes(i)(reason) Is Nothing) Then
 errorMsg += nl + brReason:  
 root.ChildNodes(i)(reason).InnerText()
 End If
 Next
 End If

 camp.id = -1

 End Try

 Return camp
 End Function

 Any help would be greatly appreciated.  Thanks.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


API v201309 CampaignService selector fields SelectorError.INVALID_FIELD_NAME

2013-12-03 Thread Leny
Hi,

I am trying to get every available fields from the 
CampaignServicehttps://developers.google.com/adwords/api/docs/appendix/selectorfields#v201309-CampaignService
 on 
the API v201309, but sadly a few fields are returning an INVALID_FIELD_NAME 
error :
BiddingStrategySource
ContentBid
CpcBid
CpcBidSource
CpmBid
CpmBidSource
PageOnePromotedBidCeiling
PageOnePromotedBidChangesForRaisesOnly
PageOnePromotedBidModifier
PageOnePromotedRaiseBidWhenBudgetConstained
PageOnePromotedRaiseBidWhenLowQualityScore
PageOnePromotedStrategyGoal
PercentCpaBid
PercentCpaBidSource
TargetCpa
TargetCpaBid
TargetSpendBidCeiling
TargetSpendSpendTarget

Is there any logic making those fields not selectable I could have missed ?

Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Your client does not have permission to get URL

2013-12-03 Thread Jonathan Fann
I am encountering an error on 
http://www.palmettoprimarycare.com/specialty-care/summerville-gi-diagnostics/

It says: *403.* That’s an error.

Your client does not have permission to get URL 
/maps/embed?pb=!1m24!1m12!1m3!1d3345.0055842770153!2d-80.1675994501!3d33.0299833498!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!4m9!1i0!3e6!4m0!4m5!1s0x88fe8b41068ddd07%3A0x91486bd01dad9fb3!2s102+W+8th+N+St%2C+Summerville%2C+SC+29483!3m2!1d33.0299769!2d-80.1676045!5e0!3m2!1sen!2sus!4v1386011160045
 from 
this server. That’s all we know.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


comma in field content in CSV report?

2013-12-03 Thread Italo Armenti
Hello,
since I am downloading the report in CSV format, I wonder if there is a way 
you deal when there is a comma inside a field.
For example, what happens if there is a comma in the 'Description1' field 
of an AD_PERFORMANCE_REPORT? How will it appear in the CSV?

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


AuthorizationError.USER_PERMISSION_DENIED

2013-12-03 Thread Nelutzu
Hello all,

I get this error when i try to get all campaigns from my mcc account using 
adwords api(v201309):

*Fatal error: Uncaught SoapFault exception: [soap:Server] 
[AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'I use the client 
library get it from here: 
https://code.google.com/p/google-api-adwords-php/(ADWORDS_VERSION v201309).*I 
use OAUTH2.

In the auth.ini i have:
*clientCustomerId : 'xxx-xxx'* - took from the mcc account(top right)
*client_id: 'xxx-xx-xx'* - took from the 
application(https://code.google.com/apis/console)
*client_secret:'xxx-xx-xx'* - took from the 
application(https://code.google.com/apis/console)
*refresh_token: 'xxx-xx-x'* - get it using GetRefreshToken.php from the 
client library. The request is:
https://accounts.google.com/o/oauth2/auth?response_type=codeclient_id=.apps.googleusercontent.comredirect_uri=http%3A%2F%2Fdomain.com%2Fadwords%2Ftest.phpscope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2Faccess_type=offline

The soap_xml.log file looks like:
[Dec 03 2013 16:18:39.00 - ERROR] POST 
/api/adwords/cm/v201309/CampaignService?access_token=ya29.1.AADtN_WUH1UVGTrvURQjhSqOecczcIyMAcshHrkKYwH-cW-r7BqbARbZMbv_ylVloeg1ua4
 
HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.4.15, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: 
Content-Length: 370

?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope 
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201309;
  SOAP-ENV:Header
ns1:RequestHeader
  ns1:clientCustomerIdxxx-xxx-xxx/ns1:clientCustomerId
  ns1:developerToken/ns1:developerToken
  ns1:userAgentxx (AwApi-PHP/4.6.1, Common-PHP/5.0.0, 
PHP/5.4.15)/ns1:userAgent
/ns1:RequestHeader
  /SOAP-ENV:Header
  SOAP-ENV:Body
ns1:get
  ns1:serviceSelector
ns1:fieldsId/ns1:fields
ns1:fieldsName/ns1:fields
  /ns1:serviceSelector
/ns1:get
  /SOAP-ENV:Body
/SOAP-ENV:Envelope

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Tue, 03 Dec 2013 21:18:34 GMT
Expires: Tue, 03 Dec 2013 21:18:34 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 509
Server: GSE

?xml version=1.0?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  soap:Header
ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/v201309;
  requestId0004eca7d6d4b7680ae5cb08302a/requestId
  serviceNameCampaignService/serviceName
  methodNameget/methodName
  operations0/operations
  responseTime130/responseTime
/ResponseHeader
  /soap:Header
  soap:Body
soap:Fault
  faultcodesoap:Server/faultcode
  faultstring[AuthorizationError.USER_PERMISSION_DENIED @ ; 
trigger:'lt;nullgt;']/faultstring
  detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/cm/v201309;
  message[AuthorizationError.USER_PERMISSION_DENIED @ ; 
trigger:'lt;nullgt;']/message
  
ApplicationException.TypeApiException/ApplicationException.Type
  errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=AuthorizationError
fieldPath/
triggerlt;nullgt;/trigger

errorStringAuthorizationError.USER_PERMISSION_DENIED/errorString
ApiError.TypeAuthorizationError/ApiError.Type
reasonUSER_PERMISSION_DENIED/reason
  /errors
/ApiExceptionFault
  /detail
/soap:Fault
  /soap:Body
/soap:Envelope

The request_info.log:
[Dec 03 2013 16:18:39.00 - ERROR] email= effectiveUser=xxx-xxx- 
service=CampaignService method=get operators={} responseTime=130 
requestId=0004eca7d6d4b7680ae5cb08302a operations=0 units= 
server=adwords.google.com isFault=true 
faultMessage=[AuthorizationError.USER_PERMISSION_DENIED @ ; 
trigger:'null']

I don't know what i am doing wrong.
Any help is appreciated.

Thanks,


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Invalid FROM clause

2013-12-03 Thread ankoor
I get an INVALID_FROM_CLAUSE error when i make the following request, 

SELECT Id,Clicks 
FROM CAMPAIGN_PERFORMANCE_REPORT 
WHERE Id = 107370543 
DURING 20131126,20131128


this is the full request, (minus personal details):

?xml version=1.0 encoding=UTF-8?
env:Envelope xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns:tns=https://adwords.google.com/api/adwords/cm/v201309; 
xmlns:env=http://www.w3.org/2003/05/soap-envelope;
  env:Header
tns:RequestHeader
  tns:developerToken__DEV_TOKEN__/tns:developerToken
  tns:userAgent_AGENT_/tns:userAgent
  tns:clientCustomerId126-XXX-/tns:clientCustomerId
/tns:RequestHeader
  /env:Header
  env:Body
tns:query
  tns:query
SELECT Id,Clicks 
FROM CAMPAIGN_PERFORMANCE_REPORT 
WHERE Id = 107370543 
DURING 20131126,20131128
  /tns:query
/tns:query
  /env:Body
/env:Envelope


Thanks in advance, :)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


AuthenticationError.OAUTH_TOKEN_INVALID

2013-12-03 Thread Peter Woollven
Hello 

I was previously using the PHP client library v201209 and everything worked 
as expected.

This morning I updated to v201309 and now I get an authentication error:

ReportDownloadException: Report download failed. Underlying errors are Type 
= 'AuthenticationError.OAUTH_TOKEN_INVALID', Trigger = 'null', FieldPath 
= ''. in

I tried running the GetRefreshToken.php example from the PHP client 
library. I run through the steps and am given a refresh token which I've 
added to php.ini. However, I get the same error.

I've double-checked the client id, client secret, access token and refresh 
token are all correct.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


[PHP] AuthToken Expired no OAUTH2

2013-12-03 Thread Aleksander Dębski
 
 Hello, 
 
Today when I tried to develop my application I got Authentication Error: 
GOOGLE_ACCOUNT_COOKIE_INVALID with is probably related to AuthToken 
expiration. Before it all was fine. I`m using Google libs. I`ve tried 
generating(success) and passing new token(failure - still invalid cookie). 
I have problem finding solution since I`m not using OAUTH2. 
Best Regards

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Problem add keyword with Adwords Api

2013-12-03 Thread karima Mechergui
Hi Adwords Team, i dont understand what the meaning this error and why i 
have this error :

[message:protected] = [AdError.INVALID_AD_TYPE @ operations[0].operand.ad]

Can you help me please to solve this problem?

here are my script and response soap; thank you in advance.

My script : 
***
**Begin 
script***
***
require_once 'src/Google/Api/Ads/AdWords/v201306/AdGroupAdService.php';




define(ADWORDS_API_VERSION, v201306);
 
// Production API
//define(ADWORDS_API_SERVER, https://adwords.google.com;);
// Sandbox API
define(ADWORDS_API_SERVER, https://adwords.google.com;);
 
define(ADWORDS_API_NAMESPACE, https://adwords.google.com/api/adwords/cm/; 
. ADWORDS_API_VERSION);
define(ADWORDS_API_ADGROUPADSERVICE, ADWORDS_API_SERVER . 
/api/adwords/cm/ . ADWORDS_API_VERSION . /AdGroupAdService);
 
// Your API Developer Token
define(ADWORDS_API_TOKEN, **);
 
// The account that you want to download performace data from
$username = t...@gmail.com;
$password = ));
$customerId = 576-***-3559;
 
try {
// Get an auth token for the user
$url = https://www.google.com/accounts/ClientLogin;;
$params = array(
accountType = GOOGLE,
Email = $username,
Passwd = $password,
service = adwords,
source = test
);
 
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $params);
curl_setopt($curl, CURLOPT_ENCODING, );
$curlData = curl_exec($curl);
curl_close($curl);
 
$pos = strpos($curlData, Auth=);
if ($pos  -1) {
$auth = trim(substr($curlData, $pos + 5));
} else {
throw new Exception(You haven't supplied a valid username or 
password for an existing Google account.);
}
// Create the headers needed to access the API
$headers = array(
developerToken = ADWORDS_API_TOKEN,
userAgent = agence,
clientCustomerId = $customerId,
authToken = $auth
);
 
// Encode the headers
$encodedHeaders = new SoapHeader(ADWORDS_API_NAMESPACE, 
RequestHeader, $headers, false);
 
$options = array(
'features' = SOAP_SINGLE_ELEMENT_ARRAYS,
'encoding' = 'utf-8');
   
// Create the SOAP client

$client = new SoapClient(ADWORDS_API_ADGROUPADSERVICE . ?wsdl, 
$options);
   
$client-__setSoapHeaders($encodedHeaders);

$adGroupId = '8424820921';


$numAds = 5;
  $operations = array();
 // for ($i = 0; $i  $numAds; $i++) {
// Create text ad.
  $textAd = new TextAd();
$textAd-headline = 'Cruise';
$textAd-description1 = 'Visit';
$textAd-description2 = 'Low-gravity';
$textAd-displayUrl = 'www.example.com';
$textAd-url = 'http://www.example.com';
 $textAd-AdType = TextAd;

 
 
// Create ad group ad.
$adGroupAd = new AdGroupAd();
$adGroupAd-adGroupId = $adGroupId;
$adGroupAd-ad = $textAd;

// Set additional settings (optional).
$adGroupAd-status = 'PAUSED';

// Create operation.
$operation = new AdGroupAdOperation();
$operation-operand = $adGroupAd;
$operation-operator = 'ADD';
$operations[] = $operation;
 // }

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

  // Display results.
  foreach ($result-value as $adGroupAd) {
printf(Text ad with headline '%s' and ID '%s' was added.\n,
$adGroupAd-ad-headline, $adGroupAd-ad-id);
  }



   
} catch (Exception $e) {
print_r($e);
if (isset($client)) {
print $client-__getLastRequest() . \n;
print $client-__getLastResponse() . \n;
}
} 
**END SCRIPT***

*
*
***RESPONSE SOAP
SoapFault Object
(
[message:protected] = [AdError.INVALID_AD_TYPE @ operations[0].
operand.ad]
[string:Exception:private] = 
[code:protected] = 0
[file:protected] = /var/www/vhosts/httpdocs/
example.com/adwords_api_php_4.6.1/autreesai.php
[line:protected] = 122
[trace:Exception:private] = Array
(
[0] = Array
(
[file] = /var/www/vhosts/httpdocs/
example.com/adwords_api_php_4.6.1/autreesai.php
[line] = 122
[function] = __call
[class] = SoapClient
[type] = -
[args] = Array
(
 

Get the Campaign name By Creative ID

2013-12-03 Thread Alexis Gruet
Hi everyone, 

We currently use value track and and log every incoming connexions from 
adwords campaign, Then we import every datas from value track associated to 
user actions and personal datas into a dataware to analyse the traffic and 
how improve it our campaings 

We log the creativeID from valueTrack and we are truly interested to 
retrieve programatically the campaign name associated to this creativeID. 

My questions are : 

1. Is there any way to do this through the adwords-api  to do this ?  ( 
we've got a working api token ) 
2. Is there any existing code example to achieve this ? 
3. What is the logic to achieve this ? 

I imagine a method such as String getCampaignNameByCreativeID( int v ) ... 

Thanks by advance. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Invalid field to migrate v201306 to v201309

2013-12-03 Thread Sathishkumar M

Hi All,

I'm updating my adwords version v201306 to v201309. I'm getting below 
errors in CampaignService,

[SelectorError.INVALID_FIELD_NAME @ serviceSelector; trigger:'*AverageCpc*
', 
SelectorError.INVALID_FIELD_NAME @ serviceSelector; trigger:'*Cost*', 
SelectorError.INVALID_FIELD_NAME @ serviceSelector; trigger:'*Clicks*']

Anybody, please help me which service these fields are located. ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


How to run adword api from xmapp

2013-12-03 Thread gtmcc
I want to how to run it from localhost.
I dnt want to run it from command prompt.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Using Ad-Hoc for get report : Missing report definition error

2013-12-03 Thread ankoor
Hi Paul, 

I'm having the same issue. Could i get some advice on this?

I'm using AWQL, with the following parameters,

  url:https://adwords.google.com/api/adwords/reportdownload/v201309;,
  post_headers: {
developerToken: __DEVELOPER_TOKEN__,
  clientCustomerId: __CLIENT_ID-XXX-XXX-__
  },
  method: post,
  post_body: 
__rdquery=SELECT+Name+FROM+KEYWORDS_PERFORMANCE_REPORT+DURING+20120101,20120625__fmt=CSV



On Monday, October 21, 2013 11:56:40 AM UTC+1, Paul Matthews (AdWords API 
Team) wrote:

 Hi Erkan,

 Can you confirm you still have this problem if you include 
 the includeZeroImpressions parameter?

 Regards,

 - Paul, AdWords API Team.

 On Friday, 27 September 2013 11:20:44 UTC+1, Paul Matthews (AdWords API 
 Team) wrote:

 Hi Erkan,

 Are you including the following parameters:
 __rdquery (or __rdxml) and __fmt ?

 Also, can you ensure you're including all the information specified in the 
 reporting 
 guidehttps://developers.google.com/adwords/api/docs/guides/reporting
 .

 Please see answers to questions below:

 On Wednesday, 25 September 2013 15:12:44 UTC+1, Erkan Ceran wrote:

 1) I use Authorization: Bearer 1/cxx for request headers. Is it 
 right ?

  
 That does indeed appear to be the right format for the Authorization 
 header.

 2) Whats is format of clientCustomerId header ? XX (integer) or  
 XXX-XXX- 
 (string) ? 


 Both formats work when sending them to our servers. 


 Regards,

 - Paul, AdWords API Team.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Field 'dateRange' is not in type 'reportDefinition' error (adspygoogle)

2013-12-03 Thread Rani Glaser
Hey,

I'm trying to post the following report request, and getting an error. Any 
insight would be appreciated.

report = {
'reportName': 'Keywords Custom Date',
'dateRangeType': 'CUSTOM_DATE',
'dateRange': { 'min': '20131101', 'max': '20131107' },
'reportType': 'KEYWORDS_PERFORMANCE_REPORT', 
'downloadFormat': 'CSV',
'selector': {
'fields': ['CampaignId', 'AdGroupId', 'Id', 'CriteriaType',
   'Criteria', 'Impressions', 'Clicks', 'Cost']
}

*ValidationError: Field 'dateRange' is not in type 'reportDefinition'.*

It appears that with other dateRangeTypes (e.g., LAST_7_DAYS) it works ok, 
but using 'CUSTOM_DATE' it is not clear how to specify the date range for 
the report request.

Many thanks,

Rani

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Get transactions on MCF Report

2013-12-03 Thread Pierre Grimaud
Hello world!

I'm using MCF Reporting API to create report matched with Adwords Reports.

The API documentation said This metric includes both goal completions and 
transactions.
https://developers.google.com/analytics/devguides/reporting/mcf/dimsmets/interactions#mcf:assistedConversions

But I want to know if it's possible to get only the transactions with mcf 
reports.

Thanks in advance, 

Pierre

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


What WebService i use to add keywords?

2013-12-03 Thread karima Mechergui
Hi Team;
Can you help me please? I do not know what I use webservice to add 
keywords: AdGroupCriterionService or AdGroupAdService?Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Missing TARGETED_MONTHLY_SEARCHES from response

2013-12-03 Thread Marius-Eugen Gerdan
Tanks Takeshi! 

Am Montag, 2. Dezember 2013 08:12:35 UTC+1 schrieb Takeshi Hagikura 
(AdWords API Team):

 Hi, 

 Thanks, I'm able to reproduce it as well. 

 I think it's an unexpected behavior. 
 I'm escalating it to the relevant engineer. 

 Best,
 - Takeshi, AdWords API Team

 On Friday, November 29, 2013 8:01:12 PM UTC+9, PPC London wrote:

 Hi Takeshi 

 Just had a closer look at your request 
 you are doing 
 requestTypeIDEAS/requestType
 but I am doing 
 requestTypeSTATS/requestType

 I am doing STATS because I want stats for given keyword

 IDEAS will return other related similar keywords with their stats

 so the 12 months volumes you see are for some related keyword but not the 
 actual one in request

 Thanks


 On Friday, November 29, 2013 6:45:43 AM UTC, Takeshi Hagikura (AdWords 
 API Team) wrote:

 Hi everyone, 

 Thanks for the report. 
 Just to make sure, is it still reproducible?

 I tried the following request and I got the monthly values (12 values) 
 for each keyword. 

 ?xml version=1.0 encoding=UTF-8?
 soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
   soapenv:Header
 ns1:RequestHeader soapenv:actor=
 http://schemas.xmlsoap.org/soap/actor/next; soapenv:mustUnderstand=0 
 xmlns:ns1=https://adwords.google.com/api/adwords/o/v201309;
   ns2:authToken xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201309
 **/ns2:authToken
   ns3:clientCustomerId xmlns:ns3=
 https://adwords.google.com/api/adwords/cm/v201309;** 
 /ns3:clientCustomerId
   ns4:developerToken xmlns:ns4=
 https://adwords.google.com/api/adwords/cm/v201309
 ***/ns4:developerToken
   ns5:userAgent xmlns:ns5=
 https://adwords.google.com/api/adwords/cm/v201309;user 
 agent/ns5:userAgent
   ns6:validateOnly xmlns:ns6=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns6:validateOnly
   ns7:partialFailure xmlns:ns7=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns7:partialFailure
 /ns1:RequestHeader
   /soapenv:Header
   soapenv:Body
 get xmlns=https://adwords.google.com/api/adwords/o/v201309;
   selector
 searchParameters xsi:type=ns8:RelatedToQuerySearchParameter 
 xmlns:ns8=https://adwords.google.com/api/adwords/o/v201309;
   queriesholiday kephalona greece/queries
 /searchParameters
 searchParameters xsi:type=ns9:LocationSearchParameter 
 xmlns:ns9=https://adwords.google.com/api/adwords/o/v201309;
   locations
 ns10:id xmlns:ns10=
 https://adwords.google.com/api/adwords/cm/v201309;2826/ns10:id
   /locations
 /searchParameters
 searchParameters xsi:type=ns11:NetworkSearchParameter 
 xmlns:ns11=https://adwords.google.com/api/adwords/o/v201309;
   networkSetting
 ns12:targetGoogleSearch xmlns:ns12=
 https://adwords.google.com/api/adwords/cm/v201309
 true/ns12:targetGoogleSearch
 ns13:targetSearchNetwork xmlns:ns13=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns13:targetSearchNetwork
 ns14:targetContentNetwork xmlns:ns14=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns14:targetContentNetwork
 ns15:targetPartnerSearchNetwork xmlns:ns15=
 https://adwords.google.com/api/adwords/cm/v201309
 false/ns15:targetPartnerSearchNetwork
   /networkSetting
 /searchParameters
 ideaTypeKEYWORD/ideaType
 requestTypeIDEAS/requestType
 requestedAttributeTypesKEYWORD_TEXT/requestedAttributeTypes
 requestedAttributeTypesSEARCH_VOLUME/requestedAttributeTypes
 
 requestedAttributeTypesTARGETED_MONTHLY_SEARCHES/requestedAttributeTypes
 requestedAttributeTypesCOMPETITION/requestedAttributeTypes
 
 requestedAttributeTypesEXTRACTED_FROM_WEBPAGE/requestedAttributeTypes
 paging
   ns16:startIndex xmlns:ns16=
 https://adwords.google.com/api/adwords/cm/v201309;0/ns16:startIndex
   ns17:numberResults xmlns:ns17=
 https://adwords.google.com/api/adwords/cm/v201309
 10/ns17:numberResults
 /paging
   /selector
 /get
   /soapenv:Body
   /soapenv:Envelope

 Best,
 - Takeshi, AdWords API Team

 On Thursday, November 28, 2013 9:24:18 PM UTC+9, PPC London wrote:


 Thanks Marius
 Good to know that it is not just us.

 On Thursday, November 28, 2013 11:46:24 AM UTC, Marius-Eugen Gerdan 
 wrote:

 you are not alone. we also have this issue. it seems to have to do 
 with some keywords in the call. if you split the calls into multiple 
 calls 
 with only one keyword, this works, only the keywords included, that have 
 no 
 search volume will be affected. this is clearly a bug. please fix this 
 urgent.

 Am Donnerstag, 28. November 2013 11:01:25 UTC+1 schrieb PPC London:

 Is it just us, or anyone else also seen this behavior?
 Its urgent please...

 On Wednesday, November 27, 2013 12:07:16 PM UTC, PPC 

Re: Have an error QuotaCheckError.INCOMPLETE_SIGNUP

2013-12-03 Thread Ilya steem
This is one way to use tests for API AdWords =(... in Russian this is same 
that we need to have approved developer id's. As the result, this pages 
contain wrong information for Russian (maybe for ather other countries 
too), like this: Test account access does not require an approved developer 
token, so you can start experimenting with the AdWords API before your 
application is reviewed. - this is lie for me.


четверг, 28 ноября 2013 г., 11:19:06 UTC+4 пользователь Ilya steem написал:

 =) I have same problem, think this helped. But I must write here first 
 answer from russians Google managers (I posted link also there). It is so 
 wonderfull to resolve problem:
 - you must used your MCC account more than 1 year
 - you must pay 5000$ for last year on Google AdWords advertising im your 
 MCC account

 I think there something wrong to use API on test MCC, but realy so russian 
 style=) 

 четверг, 4 июля 2013 г., 7:49:10 UTC+4 пользователь Anash P. Oommen 
 (AdWords API Team) написал:

 Hi Alexey, Anna,

 I believe you need to manually accept AdWords API TC and setup your 
 account on API invoicing in this case. You need to reach out to your Google 
 Account manager to get this done. If you don't have one, you can reach out 
 to the general support helpline available at 
 https://support.google.com/adwords/answer/1385067. Feel free to point 
 your account manager to this forum thread so that (s)he can reach out to me 
 if they need clarification or help in completing the process.

 Cheers,
 Anash P. Oommen
 AdWords API Advisor.

 On Thursday, July 4, 2013 7:21:48 AM UTC+5:30, Alexey wrote:

 Hi Anash, 

 I have the same problem (Russian Federation and then empty list of 
 payment methods)

 MCCID: 436-087-1034
 test account Customer ID: 932-292-8479

 среда, 3 июля 2013 г., 6:39:37 UTC+4 пользователь Anna написал:

 Dear Anash, I tried to do what you say. But when I go to the Billing 
 Tab - Account Settings, I can only select a country (I selected Russian 
 Federation) and then a choice was an empty list of payment methods. What 
 would I do in this case?

 вторник, 2 июля 2013 г., 15:30:18 UTC+6 пользователь Anash P. Oommen 
 (AdWords API Team) написал:

 Hi Anna,

 You need to enter billing information for CID: 321-810-7330 by logging 
 into the account and navigating to Billing Tab. The AdWords API TCs will 
 get accepted as part of this process, and then you can use the token to 
 make calls to test accounts.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Tuesday, July 2, 2013 9:09:40 AM UTC+5:30, Anna wrote:

 My  
 MCC: 321-810-7330 
 Child TEST account 585-843-6930
 My developer token is in applying for API access. And I have an 
 error QuotaCheckError.INCOMPLETE_SIGNUP for all my requests. 

 Manual for the test 
 accounthttps://developers.google.com/adwords/api/docs/test-accounts 
 says 
 that   If you have an MCC account that already has a developer 
 token or was used in applying for API access, select it and skip to step 
 4., 
  
 and I understand that I may not to do set up billing if I would use 
 this MCC only for testing. But even if I should set up billing I cannot 
 do 
 this because there are no any possible methods of payment in my MCC



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: How to create a budget on customer by AdWords API?

2013-12-03 Thread Pengfei Li
I am using MDS now, is there any way to do that by api? can you give an 
example? Budget seems not a property of ManagedCustomer, so I can not set 
budget on Customer like the way of Campaigns. Any help will be greatly 
appreciated.

On Wednesday, November 6, 2013 5:13:35 PM UTC+8, Takeshi Hagikura (AdWords 
API Team) wrote:

 Hi,

 I'm assuming you mean budgets that can be created via Shared Library - 
  Budgets.
 It's possible to create budgets through the API. Please use 
 BudgetServicehttps://developers.google.com/adwords/api/docs/reference/v201309/BudgetService
 .

 Best,
 - Takeshi, AdWords API Team

 On Thursday, October 31, 2013 2:08:45 PM UTC+9, Pengfei Li wrote:


 Hi, I using adwords api to manage customers in my MCC account, usually i 
 create a budget for each managed account on browser. Is there any way to do 
 this by  AdWords API?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Mobile Campaign

2013-12-03 Thread ssAdword
Hi,

I'm trying to plug into Adword API to create, manage my mobile campaigns.  
the type of campaigns that I'm trying to run is
320x50 size
image ad (JPEG, URL)
on mobile devices (either using in-app or mobile web display)

I have thousands of banners to be run and need to manage them dynamically. 
therefore API integration would be the best solution.  I wonder whether 
AdWord API is the right tool or can you tell me which API we should use to 
maximize our exposure on mobile devices.

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Authentication Error

2013-12-03 Thread Peter Woollven

Hello

We were previously using The PHP Client Library v201209 and everything 
worked as expected.

This morning we upgraded to v201309 and started getting authentication 
errors:

ReportDownloadException: Report download failed. Underlying errors are Type 
= 'AuthenticationError.OAUTH_TOKEN_INVALID', Trigger = 'null', FieldPath 
= ''. in

I've run the GetRefreshToken example in the PHP Client Library and manage 
to successfully get a new refresh token, but I still get an authentication 
error

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Using AdWord API for mobile campaigns

2013-12-03 Thread ssAdword
Hi, 
I'm trying to explore functionality of AdWord API.  What I'm hoping to 
accomplish is to bulk upload image ads targeting at mobile devices (either 
in-app or mobile web display), manage the bid and have layers of targeting 
such as zipcode targeting.  It is not for app download but mobile campaign 
that drives to my own site.  I have 10K banners (URL links) and need to 
dynamically manage them through the API.  
I used the AdWord Web interface before to test on small scale and used 
320x50 image ad, targeting at mobile devices and zip codes.  As the site 
indicates that AdWord API is almost the same as the web interface. but 
under the reference for template ads, I didn't find the right ad size for 
mobile ads (320x50) and I'm not sure if image ads is an option for AdWord 
API in this case.  
 
I wonder whether AdWord API is the right tool.  Or should I go for 
DoubleClick Campaign Manager?
 
Stella

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: How to programmatically recording an Adword conversion?

2013-12-03 Thread Alex Czartoryski
This is coming soon:
http://adwords.blogspot.de/2013/09/measure-optimize-for-offline-sales-with.html


On Thursday, 7 February 2013 18:35:17 UTC-5, David Torres wrote:

 Hi,

 As Evgeniy says, there is no way to programmatically trigger a conversion 
 via the AdWords API (it is all via the conversion html/javascript code).

 But I believe your option 1 will work. You just need to figure out how to 
 lock your conversion page to only your applications (there many ways you 
 can do that)

 Best,

 - David Torres - AdWords API Team

 On Tuesday, February 5, 2013 6:14:40 AM UTC-5, Evgeniy Bogdanov wrote:

 Hi.

 No, your idea is can't be done with Adwords API. 

 I think that best idea is to track conversions and mark (tag) them is 
 Google Analytics. You can create Customs Variables during 
 landing/download/after evaluation/, and use Google Analytics API to filter 
 those data based on criteria like: traffic=cpc  source=google.

 But this will give you just understanding on what is going on, and not 
 any directions for Adwords how to improve your conversion rate.

 Regards,
 Evgeniy.

 On Tuesday, February 5, 2013 11:06:30 AM UTC+4, PatStatic wrote:

 We have a problem of visitor qualification in our Adword campaign. 
 Concretely, often a visitor that has no clue about what the software we 
 sell does, still *download trial* (despite our attempt to explain him 
 what it does, on landing pages) and count as a +1 recorded conversion in 
 our Adword stats. Since Adword seems intelligent enough to maximize the 
 conversions#, it ends up bringing us plenty of non-qualified visitors. Thus 
 we need to define what is a conversion differently, sometime after the 
 *download 
 trial *operation.

 The option of defining conversion as a sale isn't good, because most of 
 our users are professional employees. In such situation, most of the time 
 the machine from where the product is purchased isn't the machine used for 
 first download.

 The best conversion definition I can think of, would be a first 
 successful run of our product (what we call *evaluation*). Indeed, by 
 tracking what happened, we already asserted that only qualified 
 visitor/dowloader do evaluate our product properly, most of the time on the 
 same machine used for downloading the trial bits.

 Our product is a rich UI program developed with the .NET platform. To 
 achieve *conversion recorded on evaluation*, we need to read 
 programmatically all installed browsers cookies, (there is a free 
 librarieshttp://www.codeproject.com/Articles/330142/Cookie-Quest-A-Quest-to-Read-Cookies-from-Four-Pop
  for 
 that) and if we find a *Adword Conversion Tracking cookie* corresponding 
 to our product, we can:


- Launch the concerned browser programmatically on a *Thanks for 
evaluating our product page* that contains the Adword conversion 
javascript (*in-browser* scenario).
- or, better if possible, ping back programmatically the Adword 
server with data found in the cookie (*out-of-browser* scenario).

 I'm not an expert on these technologies so I might be well missing 
 something.


- Does this (client side) scenario can be handled through *Adwords 
API*?
- If no, what are my options to implement this conversion recording.

 Your help will be highly appreciated, thanks in advance.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Fatal error: Uncaught SoapFault exception: [soap:Server] [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:''] in AdsSoapClient.php:216

2013-12-03 Thread mccsujees Suku
Hi,

I have a problem with the API Adwords. I created a test account in mcc. 

When i try  to connect to API i see an error : Fatal error: Uncaught 
SoapFault exception: [soap:Server] [QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
trigger:''] in AdsSoapClient.php:216

My user credentials are : mccsuj...@gmail.com
Customer ID : 546-399-8432(collected from right top)

I have created two client child customer accounts in mcc account.

The child customer ID's - 584-546-3751(Mcc Sujeesh) and 428-560-0753(Test).

In the file auth.ini i used:
   - developerToken of MCC (pending developer token)
   - client_id of test MCC
   - client_secret of test MCC
   - refresh_token of test MCC

I have used both my main customer ID (546-399-8432) and child customer ID (
584-546-3751) as clientCustomerId. But this issues is happening with two 
accounts..

I am using php client library for API access. I created a test.php file for 
making API call. Included require_once 
'adwords_api/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php' in the 
test.php file. Then created user object by using function.

$user = new AdWordsUser(null, $adwords_username, $adwords_password, 
$adwords_developerToken);

After that I accessed to the GetCampaigns function by using this user 
account.

But when executing the test.php file, it shows these errors. I have 
attached the screenshot of the error I got.

Please help me to resolve this issue.


Thanks  Regards.
Sujeesh.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Adwords API Script

2013-12-03 Thread Kenneth Mathis
Need an api script to use for updating adwords ads, campaigns, adgroups and 
keywords, based on php myadmin sql, or excel table large datas. Please help 
me with the hole process. Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Trying to execute the GetKeywordIdeas.php but unsuccessful using Test Accounts

2013-12-03 Thread mithila
Hi All,

I have been trying to execute the GetKeywordIdeas.php it. But when I try to 
execute the file it gives error and returns An error has occurred: { 
error : invalid_client }


These are the details used in \src\Google\Api\Ads\AdWords\auth.ini file

developerToken = APPROVAL PENDING TOKEN FROM GOOGLE ADWORDS API
userAgent = MY COMPANY NAME

client_id = ID GENERATE USING GOOGLE CONSOLE WITH THE MCC account EMAIL ID
client_secret = SECRET GENERATE USING GOOGLE CONSOLE WITH THE MCC account 
EMAIL ID

Also when I run the GetRefreshToken.php , I get this error:

Log in to your AdWords account and open the following URL: 
https://accounts.google.com/o/oauth2/auth?response_type=codeclient_id=ID 
GENERATE USING GOOGLE CONSOLE WITH THE MCC account EMAIL 
IDredirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoobscope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2Faccess_type=offline
 
After approving the token enter the authorization code here: Your OAuth2 
Credentials are incorrect. Please see the GetRefreshToken.php example. { 
error : invalid_request }

On executing this url it says 
Error: redirect_uri_mismatch

Not sure what is going wrong here.  Since it says 'Your OAuth2 Credentials 
are incorrect.' does it mean the credentials are not correctly generated?

Kind regards,

Mithila

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Problem add new keywords with Adwors API [AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID @ ; trigger:'lt;null']

2013-12-03 Thread Karima Mech
Hi API Team,
I have 2 questions so : 
1/ For add new keyword it should use this web service 
https://adwords.google.com/api/adwords/cm/v201306/AdGroupCriterionService?wsdlor
 this 

https://adwords.google.com/api/adwords/cm/v201306/AdGroupAdService?wsdl?

2/ i used the webservice AdGroupCriterionService and  i have this error :

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
  ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/v201309;
 requestId0004ec93a1d66a700ae52f435702/requestId
 serviceNameAdGroupCriterionService/serviceName
 methodNamemutate/methodName
 operations0/operations
 responseTime95/responseTime
  /ResponseHeader
   /soap:Header
   soap:Body
  soap:Fault
 faultcodesoap:Server/faultcode
 faultstring[AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID @ 
; trigger:'lt;null']/faultstring
 detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/cm/v201309;
   message[AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID 
@ ; trigger:'lt;null']/message
   
ApplicationException.TypeApiException/ApplicationException.Type
   errors xsi:type=AuthenticationError 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  fieldPath/
  triggerlt;null/trigger
  
errorStringAuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID/errorString
  ApiError.TypeAuthenticationError/ApiError.Type
  reasonGOOGLE_ACCOUNT_COOKIE_INVALID/reason
   /errors
/ApiExceptionFault
 /detail
  /soap:Fault
   /soap:Body
/soap:Envelope

What the meaning this error please ?Can you help me to solve this problem 
please? Thank you in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Auction Insights Report

2013-12-03 Thread Daniel Gilbert
This thread has been running for almost a year now! Any timelines on when 
this might be accessible via the API? Or has anyone worked out a way to 
access this data any other way?

On Tuesday, November 26, 2013 3:45:14 AM UTC, Takeshi Hagikura (AdWords API 
Team) wrote:

 Hi Jeremy, 

 It's not available at this moment. 

 Best,
 - Takeshi, AdWords API Team

 On Friday, November 22, 2013 10:42:23 PM UTC+9, Jeremy Aube wrote:

 Just wanted to see if this might be available now.

 On Monday, April 1, 2013 3:24:20 AM UTC-4, Takeshi Hagikura (AdWords API 
 Team) wrote:

 Hi Anže,

 At this moment, we don't have the specific time frame when auction 
 insights will be available in API.  
 And currently it's not available to pull it automatically.

 Best,
 - Takeshi

 On Friday, March 29, 2013 10:18:40 PM UTC+9, Horhe wrote:

 Hello Takeshi,

 I am wondering when will AuctionInsights be available in API? There 
 must be a way how to import these data to other external systems otherwise 
 these stats are not useful. Is there any other alternative way how to 
 import these data automatically, I believe not.

 Best regards, Anže

 On Friday, February 8, 2013 10:08:17 AM UTC+1, Takeshi Hagikura 
 (AdWords API Team) wrote:

 Hello Arati,

 No, it's not available yet.

 Best,
 - Takeshi

 On Friday, February 8, 2013 4:58:45 PM UTC+9, Arati wrote:

 Hi Takeshi,

 Is this feature Auction Insight Report now available using Adword api 
 ?

 - Arati.

 On Friday, January 18, 2013 11:37:09 AM UTC+5:30, Takeshi Hagikura 
 (AdWords API Team) wrote:

 Hi Allen,

 We have it in our future plan, but don't have timeline for it yet.

 Best,
 - Takeshi

 On Thursday, January 17, 2013 10:28:38 AM UTC+9, Allen wrote:

 Hi Anash,

 Any update on the timeline for this?

 --Allen

 On Monday, 28 May 2012 07:46:55 UTC+10, Allen wrote:

 Can we reproduce the Auction Insights report via the API? 

 If not is there any timeline as to when it might be available?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]] with api 201309

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi Munish,

As Danial says, do you have the request and response XML logs?
I'd like to know the detail of the request and response, it can't be 
inferred from the stacktrace or the Java source.

Best,
- Takeshi, AdWords API Team

On Tuesday, December 3, 2013 2:02:29 PM UTC+9, Munish Kumar wrote:

 HI,

 I am very sorry for being so late. I am trying to create a campaign. I 
 have used my test account credentials to get refresh token. I have used 
 client id, secret and clientCustomerId of my test account but developer 
 token belongs to my main account. Is there any thing wrong on my side?

 I have attached the java file and the trace file.

 On Thursday, November 21, 2013 4:10:53 PM UTC+5:30, Munish Kumar wrote:

 Hi, 

 I am using v2013 java api and its raising the exception given below. Any 
 suggestion will be appreciated. 

 {https://adwords.google.com/api/adwords/cm/v201309}ApiExceptionFault:message[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED
  
 @ 
 operations[0]]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=OperationAccessDeniedfieldPathoperations[0]/fieldPathtrigger/errorStringOperationAccessDenied.ADD_OPERATION_NOT_PERMITTED/errorStringApiError.TypeOperationAccessDenied/ApiError.TypereasonADD_OPERATION_NOT_PERMITTED/reason/errors



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: AdParam Service and Currency codes

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi,

It's available 
herehttps://developers.google.com/adwords/api/docs/appendix/currencycodes
.
Currencies shouldn't be limited to single characters currency codes. 
Do you have the SOAP logs that didn't work with multi byte currency codes?

Best,
- Takeshi, AdWords API Team

On Tuesday, December 3, 2013 10:37:27 PM UTC+9, hav...@metronet.no wrote:

 Hi,

 Is there a list over available currency codes?

 We have some issues using currencies such as NOK, SEK, DKK in our 
 param1 in other words currencies that do not have a single character 
 currency symbol such as $, € or £.

 Are currencies limited to those using single characters, or have I missed 
 something?

 Thanks!


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: how to get ClientCustomerID after oAuth2 authorization

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

ClientCustomerID is not something you can obtain through the AdWords API. 

You can obtain it through the API 
consolehttps://code.google.com/apis/console/?pli=1
.
If you are using the PHP library, here is the wiki 
pagehttps://code.google.com/p/google-api-adwords-php/wiki/OAuth2for the 
OAuth2 setup.

Best,
- Takeshi, AdWords API Team

On Wednesday, December 4, 2013 12:41:38 AM UTC+9, larisa bolgova wrote:

 Hi.
 I face next problem.

 I used oAuth2 to authorize my web Application. For the next step i need to 
 get ClientCustomerID. I used ManagedCustomerService. 

 $user = new AdWordsUser(NULL, 'em...@gmail.com javascript:', 'paswd', 
 DeveloperToken', NULL,
 'MCC', NULL, NULL, 'access_token', NULL);

 after that i get error - AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID.

 What i did wrong? And am i right using the response from oAuth2 in client 
 library?

 Please help.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Does the current status of the campaign affect historical keyword download?

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi Peter,

It's expected. 
The predicate doesn't take historical statuses into account. 

Best,
- Takeshi, AdWords API Team

On Wednesday, December 4, 2013 6:33:10 AM UTC+9, Peter Kingswell wrote:

 Hi,

 I'm seeing some unexpected behaviour from the reporting API.

 Let's say it's Friday and you download Monday's keywords (filtering on 
 CampaignStatus == ACTIVE) for an account with one active campaign. 
  Keywords are returned.  Then you pause the campaign and download Monday's 
 keywords again (filtering on CampaignStatus == ACTIVE).  This time no 
 keywords are returned.

 This to me is unexpected behaviour.  On Monday the campaign was active and 
 that's all that matters - the fact that it's now (i.e. on Friday) paused is 
 of no relevance.  Right?

 Thanks, Peter



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Adwords API Script

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi Kenneth,

Please check the document https://developers.google.com/adwords/scripts/first.
Also, if you have a question on AdWords Scripts, there is another 
forumhttps://groups.google.com/forum/#!forum/adwords-scriptson that.

Best,
- Takeshi, AdWords API Team

On Friday, November 29, 2013 3:05:55 AM UTC+9, Kenneth Mathis wrote:

 Need an api script to use for updating adwords ads, campaigns, adgroups 
 and keywords, based on php myadmin sql, or excel table large datas. Please 
 help me with the hole process. Thanks


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: What WebService i use to add keywords?

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi,

Please use AdGroupCriterionService. 
You can refer to examples in client libraries. (e.g., Java's 
onehttps://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201309/basicoperations/AddKeywords.java
)

Best,
- Takeshi, 

On Wednesday, December 4, 2013 7:41:54 AM UTC+9, karima Mechergui wrote:

 Hi Team;
 Can you help me please? I do not know what I use webservice to add 
 keywords: AdGroupCriterionService or AdGroupAdService?Thanks


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: Problem api adword

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi,

What are you trying to do?
I recommend refer to example code first, (e.g. PHP 
exampleshttps://code.google.com/p/google-api-adwords-php/source/browse/#git%2Fexamples%2FAdWords%2Fv201309%2FBasicOperations
)

Best,
- Takeshi, AdWords API Team

On Tuesday, December 3, 2013 10:55:48 PM UTC+9, KAMOUN Ilyess wrote:

 Hello, i dont understand what the meaning this error and why i have this 
 error :

 [message:protected] = [AdError.INVALID_AD_TYPE @ operations[0].operand.ad
 ]

 Can you help me please to solve this problem?

 here are my script and response soap; thank you in advance.


 *
 ***RESPONSE SOAP
 SoapFault Object
 (
 [message:protected] = [AdError.INVALID_AD_TYPE @ operations[0].
 operand.ad]
 [string:Exception:private] = 
 [code:protected] = 0
 [file:protected] = /var/www/vhosts/httpdocs/
 example.com/adwords_api_php_4.6.1/autreesai.php
 [line:protected] = 122
 [trace:Exception:private] = Array
 (
 [0] = Array
 (
 [file] = /var/www/vhosts/httpdocs/
 example.com/adwords_api_php_4.6.1/autreesai.php
 [line] = 122
 [function] = __call
 [class] = SoapClient
 [type] = -
 [args] = Array
 (
 [0] = mutate
 [1] = Array
 (
 [0] = Array
 (
 [0] = AdGroupAdOperation 
 Object
 (
 [operand] = AdGroupAd 
 Object
 (
 [adGroupId] = 
 8424820921
 [ad] = TextAd 
 Object
 (
 
 [headline] = Cruise
 
 [description1] = Visit
 
 [description2] = Low-gravity
 [id] 
 = 
 [url] 
 = http://www.example.com
 
 [displayUrl] = www.example.com
 
 [devicePreference] = 
 
 [disapprovalReasons] = 
 
 [AdType] = TextAd
 
 [_parameterMap:Ad:private] = Array
 (
   
   [Ad.Type] = AdType
 )

 )

 
 [experimentData] = 
 [status] = 
 PAUSED
 
 [approvalStatus] = 
 
 [trademarkDisapproved] = 
 [stats] = 
 
 [forwardCompatibilityMap] = 
 )

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

 )

 )

 )

 )

 )

 [1] = Array
 (
 [file] = /var/www/vhosts/
 example.com/adwords_api_php_4.6.1/autreesai.php
 [line] = 122
 [function] = mutate
 [class] = SoapClient
 [type] = -
   

Re: [PHP] AuthToken Expired no OAUTH2

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi,

Just to confirm, are you using the PHP 
libraryhttps://code.google.com/p/google-api-adwords-php/ with 
ClientLogin (authenticate with the pair of the email and the password)?
If you are using OAuth2, you can follow this 
stephttps://code.google.com/p/google-api-adwords-php/wiki/OAuth2
.

Best,
- Takeshi, AdWords API Team

On Monday, December 2, 2013 8:40:02 PM UTC+9, Aleksander Dębski wrote:

  
  Hello, 
  
 Today when I tried to develop my application I got Authentication Error: 
 GOOGLE_ACCOUNT_COOKIE_INVALID with is probably related to AuthToken 
 expiration. Before it all was fine. I`m using Google libs. I`ve tried 
 generating(success) and passing new token(failure - still invalid cookie). 
 I have problem finding solution since I`m not using OAUTH2. 
 Best Regards


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Re: AuthenticationError.OAUTH_TOKEN_INVALID

2013-12-03 Thread Takeshi Hagikura (AdWords API Team)
Hi Peter,

Did you update your 
auth.inihttps://code.google.com/p/google-api-adwords-php/source/browse/src/Google/Api/Ads/AdWords/auth.ini#19
 with 
your clientID, ClientSecret and the refresh token?

Best,
- Takeshi, AdWords API Team

On Tuesday, December 3, 2013 12:58:01 AM UTC+9, Peter Woollven wrote:

 Hello 

 I was previously using the PHP client library v201209 and everything 
 worked as expected.

 This morning I updated to v201309 and now I get an authentication error:

 ReportDownloadException: Report download failed. Underlying errors are 
 Type = 'AuthenticationError.OAUTH_TOKEN_INVALID', Trigger = 'null', 
 FieldPath = ''. in

 I tried running the GetRefreshToken.php example from the PHP client 
 library. I run through the steps and am given a refresh token which I've 
 added to php.ini. However, I get the same error.

 I've double-checked the client id, client secret, access token and refresh 
 token are all correct.

 Thanks


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


percentServed field from Ad Performance report

2013-12-03 Thread assaf
Hi,

I can't find this field in the report.

What was once in the AdStats  :  
double percentServed = (stats.getPercentServed()).doubleValue();

How in v201309 can I fetch this field?

Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.