Campaignstats not available in v201309

2013-12-05 Thread F.Per
Hi guys,

sorry to bother you but i do not find anything in the google migration 
guide releases or documentation about how to handle this.
In my old code ive set the campaignstats like following:
[code]
...
  plaCampaign.setBudget(budget);

NetworkSetting networkSetting = new NetworkSetting();
networkSetting.setTargetSearchNetwork(true);
plaCampaign.setNetworkSetting(networkSetting);

// FIXME not available in api v201309
// CampaignStats campaignStats = new CampaignStats();
// campaignStats.setNetwork(StatsNetwork.GOOGLE_SEARCH);
// plaCampaign.setCampaignStats(campaignStats);

BiddingStrategyConfiguration biddingStrategyConfiguration = new 
BiddingStrategyConfiguration();

biddingStrategyConfiguration.setBiddingStrategyType(BiddingStrategyType.MANUAL_CPC);

plaCampaign.setBiddingStrategyConfiguration(biddingStrategyConfiguration);
[/code]

How do i have to handle this now in v201309? The Migration guide does not 
say how to modify the network setting.

Thanks for the 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: Problem api adword

2013-12-05 Thread KAMOUN Ilyess
 Hi,
I copied the same script as AddTextAds.php
but i ve alaways the same error
[AdError.INVALID_AD_TYPE @ operations[0].operand.ad]
help please.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Get the Campaign name By Creative ID

2013-12-05 Thread Zweitze
Use the AD_PERFORMANCE_REPORT and add a predicate on Id, equalling your 
creative id. Ask for the field Campaign and other fields if you need that 
too.

Note: Creative Ids are only unique within their ad groups. So be prepared 
to deal with multiple results.

Hope this helps.


On Friday, November 29, 2013 3:01:24 PM UTC+1, Alexis Gruet wrote:

 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.


Re: is adwords down right now? getting 502 server error

2013-12-05 Thread Zweitze
We got it again today... The good news is that we now log the headers. This 
was the request:

Request POST to /api/adwords/reportdownload/v201306:

?xml version=1.0? 
reportDefinition 
  selector xmlns=https://adwords.google.com/api/adwords/cm/v201306; 
fieldsAccountDescriptiveName/fields 
fieldsAccountCurrencyCode/fields 
fieldsAccountTimeZoneId/fields 
fieldsImpressions/fields 
fieldsAccountId/fields 
  /selector 
  reportName 
xmlns=https://adwords.google.com/api/adwords/cm/v201306;AdwordsReportAccountInfo_All_Time/reportName
 

  reportType 
xmlns=https://adwords.google.com/api/adwords/cm/v201306;ACCOUNT_PERFORMANCE_REPORT/reportType
 

  dateRangeType 
xmlns=https://adwords.google.com/api/adwords/cm/v201306;ALL_TIME/dateRangeType
 

  downloadFormat 
xmlns=https://adwords.google.com/api/adwords/cm/v201306;GZIPPED_XML/downloadFormat
 

  includeZeroImpressions 
xmlns=https://adwords.google.com/api/adwords/cm/v201306;true/includeZeroImpressions
 

/reportDefinition

Note: the contents were actually URL encoded.

Request headers:
 Content-Type
 application/x-www-form-urlencoded
 Authorization
 GoogleLogin auth=DQAAr8eQ
 clientCustomerId
 8090813184
 developerToken
 kNkf...qg_g
 returnMoneyInMicros
 True
 User-Agent
 Adwords API by Maxlead
 Host
 adwords.google.com
 Content-Length
 1097
 Accept-Encoding
 gzip, deflate

Response HTTP 502, Bad Gateway.

Unfortunately the content of the response was lost. Here are the response 
headers:
 Content-Length
 983
 Content-Type
 text/html; charset=UTF-8
 Date
 Thu, 05 Dec 2013 05:30:50 GMT
 Server
 GFE/2.0


The developer token is the developer token issued to MCC 437-819-4458.
The request was fired four times with 30 seconds in between, the data above 
is from the last attempt.


Regards



On Thursday, November 21, 2013 6:04:39 AM UTC+1, Takeshi Hagikura (AdWords 
API Team) wrote:

 Hi Zwelzte,

 Thanks for the input. 

 Can you please send me your following?
 - developer token
 - (If possible) full request and response logs including HTTP headers

 A developer token is very sensitive info, please make sure you send only 
 me using Reply to author from the top right corner.

 Best,
 - Takeshi, AdWords API Team

 On Wednesday, November 20, 2013 9:22:47 PM UTC+9, Zweitze wrote:

 Unfortunately my response headers were lost.
 But I looked a bit further back, I found similar errors on Oct 25 (on 
 three accounts), Nov 7 (two accounts), Nov 9 (1 account), Nov 18 (1 
 account), Nov 19 (1 account).

 But: these errors ALWAYS occured at 06:32h CEST!
 Mind you, we get hundreds to thousands of reports each day, but we only 
 get HTTP 502 at 06:32h.

 I should mention a 502 qualifies for retries in our software: in all 
 cases the fourth attempt failed. Between the attempts the software waits 30 
 seconds.

 Hope this helps.

 On Wednesday, November 20, 2013 7:43:38 AM UTC+1, Takeshi Hagikura 
 (AdWords API Team) wrote:

 Thanks everyone, 

 I'm not able to reproduce it though, it may happen in a specific time or 
 sporadically. 
 To look into this further, can you please share the following?

 - Do you always see the same error when you get 502?
 - Can you please share the error response in more detail including HTTP 
 response headers?

 Best,
 - Takeshi, AdWords API Team

 On Tuesday, November 19, 2013 10:50:22 PM UTC+9, Zweitze wrote:

 I had this on Nov 18 and 19, both at the same time, 06:32h CEST.
 Report request:

 reportDefinition 
 selector xmlns=https://adwords.google.com/api/adwords/cm/v201306; 
 fieldsAccountDescriptiveName/fields 
 fieldsAccountCurrencyCode/fields 
 fieldsAccountTimeZoneId/fields 
 fieldsImpressions/fields 
 fieldsAccountId/fields 
 /selector 
 reportName 
 xmlns=https://adwords.google.com/api/adwords/cm/v201306;AdwordsReportAccountInfo_All_Time/reportName
  

 reportType 
 xmlns=https://adwords.google.com/api/adwords/cm/v201306;ACCOUNT_PERFORMANCE_REPORT/reportType
  

 dateRangeType 
 xmlns=https://adwords.google.com/api/adwords/cm/v201306;ALL_TIME/dateRangeType
  

 downloadFormat xmlns=
 https://adwords.google.com/api/adwords/cm/v201306;GZIPPED_XML/downloadFormat
  

 includeZeroImpressions xmlns=
 https://adwords.google.com/api/adwords/cm/v201306;true/includeZeroImpressions
  

 /reportDefinition

 This report was tried four times with 30 seconds between the attempts - 
 all attempts failed.
 Note that in a lot of instances everything goes well, for hundreds of 
 reports it was OK (allthough I don't know how many retries were needed for 
 those...)

 Note that we run the most reports between 04:30h and 05:30h CEST, 
 without problems. But at 06:32h we do get problems...

 Hope this helps.



 On Thursday, November 14, 2013 11:40:01 AM UTC+1, Takeshi Hagikura 
 (AdWords API Team) wrote:

 Hi,

 I'm not able to reproduce it. 
 If it's still reproducible, please share detailed steps. 

 Best,
 - Takeshi, 

 On Wednesday, November 13, 2013 11:16:55 AM UTC+9, 
 mobile...@gmail.comwrote:

 is adwords down right now? 

Fwd: Where is my mistake? Please help.[AdError.INVALID_AD_TYPE @ operations[0].operand.ad

2013-12-05 Thread KAMOUN Ilyess
Hi, i like add new keywords , i try to do this way :

soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:v20=https://adwords.google.com/api/adwords/cm/v201309;
   soapenv:Header
  v20:RequestHeader

 v20:authTokenDQA*/v20:authToken

 v20:clientCustomerId/v20:clientCustomerId
  
 v20:developerToken*/v20:developerToken
   
 v20:userAgent/v20:userAgent

 v20:validateOnlyfalse/v20:validateOnly

 v20:partialFailurefalse/v20:partialFailure
  /v20:RequestHeader
   /soapenv:Header
   soapenv:Body
  v20:mutate
 
 v20:operations
  
v20:operatorADD/v20:operator

v20:Operation.TypeAdGroupAd/v20:Operation.Type

v20:operand
 
   v20:adGroupId8424820921/v20:adGroupId
  
   v20:ad
   
  v20:id1/v20:id

  v20:url
http://www.example.com/epson-xp-205-c-2879_20194.html/v20:url
 
  v20:displayUrlhttp://www.example.com//v20:displayUrl
   
  v20:Ad.TypeTextAd/v20:Ad.Type
   /v20:ad
 
   v20:experimentData

   v20:experimentId2/v20:experimentId
  
  
v20:experimentDeltaStatusEXPERIMENT_ONLY/v20:experimentDeltaStatus

  
v20:experimentDataStatusACTIVE/v20:experimentDataStatus
   /v20:experimentData
   
   v20:statusPAUSED/v20:status
 
   v20:approvalStatusUNCHECKED/v20:approvalStatus
 
   
   v20:forwardCompatibilityMap
   
  v20:key/v20:key
 
  v20:value/v20:value
   /v20:forwardCompatibilityMap
/v20:operand
   
v20:exemptionRequests

   v20:key
  
  v20:policyName/v20:policyName
  !--Optional:--
  v20:violatingText/v20:violatingText
   /v20:key
/v20:exemptionRequests
 /v20:operations
  /v20:mutate
   /soapenv:Body
/soapenv:Envelope



after that i've got the next error  
[AdError.INVALID_AD_TYPE @ operations[0].operand.adWhere is my mistake. 
Please help.

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
  ResponseHeader xmlns=
https://adwords.google.com/api/adwords/cm/v201309;
 requestId0004ecbb5c7439f80ae05f0372b5/requestId
 serviceNameAdGroupAdService/serviceName
 methodNamemutate/methodName
 operations1/operations
 responseTime286/responseTime
  /ResponseHeader
   /soap:Header
   soap:Body
  soap:Fault
 faultcodesoap:Server/faultcode
 faultstring[AdError.INVALID_AD_TYPE @ operations[0].operand.ad
]/faultstring
 detail
ApiExceptionFault xmlns=
https://adwords.google.com/api/adwords/cm/v201309;
   message[AdError.INVALID_AD_TYPE @ operations[0].operand.ad
]/message
   
ApplicationException.TypeApiException/ApplicationException.Type
   errors xsi:type=AdError xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance;
  fieldPathoperations[0].operand.ad/fieldPath
  trigger/
  errorStringAdError.INVALID_AD_TYPE/errorString
  ApiError.TypeAdError/ApiError.Type
  reasonINVALID_AD_TYPE/reason
   /errors
/ApiExceptionFault
 /detail
  /soap:Fault
   /soap:Body
/soap:Envelope

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


Difference between AccountDescriptiveName and CustomerDescriptiveName

2013-12-05 Thread Arthur Gerigk
what is the difference between the two fields?

usually they coincide but it isn't always the case.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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-05 Thread Josh Radcliff (AdWords API Team)
Hi Maxim,

When you manually log into AdWords using an account for which you received 
this error do you see any alerts explaining why the account was disabled?

Thanks,
Josh, AdWords API Team

On Tuesday, December 3, 2013 5:33:27 PM UTC-5, Maxim Kurapatkin wrote:

 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

 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.com
 To unsubscribe from this group, send email to
 adwords-api...@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...@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.


Re: Google places under location extension

2013-12-05 Thread Josh Radcliff (AdWords API Team)
Hi,

LocationSyncExtensionhttps://developers.google.com/adwords/api/docs/reference/v201309/CampaignAdExtensionService.LocationSyncExtensionis
 indeed the object that corresponds to a Location Extension that is tied 
to your Google Places (LBC) account.  A few things to check are:

1. Have you linked your AdWords account with your Google Places account?
2. Are there any locations defined in your Google Places account?
3. Are your location extensions at the account, campaign, or ad group level?

It would be helpful if you could elaborate a bit on what you are trying to 
achieve and what you've tried so far.  For example, do you already see 
Location Extensions tied to Google Places in the AdWords UI but you aren't 
getting those extensions back from the API?

Cheers,
Josh, AdWords API Team

On Monday, December 2, 2013 2:25:11 AM UTC-5, techpoi...@gmail.com wrote:

 Hi,

 Through CampaignAdExtensionService we are not able to get location 
 extension where Google places have been set. Is it possible to fetch and 
 apply such kind of settings through API?

 Does LocationSync Extension support such functionality? We have tried with 
 this but no results? 

 For e.g. Location Extension : Places : te...@test.com javascript:

 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: Get transactions on MCF Report

2013-12-05 Thread Josh Radcliff (AdWords API Team)
Hi Pierre,

Unfortunately this forum is just for questions related to the AdWords 
APIhttps://developers.google.com/adwords/api/. 
 The link you sent over has a companion Libraries 
Pagehttps://developers.google.com/analytics/devguides/reporting/mcf/v3/mcfLibraries,
 
however, and if you click on the language/library you're using the next 
page should have support information, including where you can post 
questions.

Regards,
Josh, AdWords API Team

On Thursday, November 28, 2013 12:05:23 PM UTC-5, Pierre Grimaud wrote:

 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.


Re: Your client does not have permission to get URL

2013-12-05 Thread Modix Germany
It's working again but I don't know why and what to do to prevent this from 
happening again. If someone has experienced the same, feel free to share.. 

Am Dienstag, 3. Dezember 2013 17:51:17 UTC+1 schrieb 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.


Re: API v201309 CampaignService selector fields SelectorError.INVALID_FIELD_NAME

2013-12-05 Thread Josh Radcliff (AdWords API Team)
Hi,

As far as I can tell those fields should be selectable.  I'm investigating 
and will provide an update once I have more information.

Cheers,
Josh, AdWords API Team

On Monday, December 2, 2013 11:56:00 AM UTC-5, Leny wrote:

 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: MultiplierError.BID_LESS_THAN_MIN_ALLOWED_BID_WITH _MULTIPLIER

2013-12-05 Thread Josh Radcliff (AdWords API Team)
Hi,

Thank you for providing the sample request and response.  We're working on 
resolving this and I will post an update once I have more information.

Cheers,
Josh, AdWords API Team

On Tuesday, November 26, 2013 8:10:26 PM UTC-5, Devesh Parekh wrote:

 Fixing a typo to reduce confusion:

 On Tuesday, November 26, 2013 5:09:25 PM UTC-8, Devesh Parekh wrote:

 I've recently started getting an error when I send bid multipliers with 
 low bids. I've pasted a sample request and response *below* where the 
 bid multiplier is small enough to cause a difference of at least one cent. 
 There are a few problems with this:

1. This was working fine until very recently.
2. This still works fine if I set the multiplier in the AdWords UI.
3. If I use MutateJobService instead of AdGroupCriterionService, I 
get a response with placeholders but no errors. Silent failures like 
 these 
cause these problems to go unnoticed for longer than they otherwise would.


 Request:
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201306
 
 operations
 operatorSET/operator
 operand xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v2
 01306 xsi:type=ns2:BiddableAdGroupCriterion
 ns2:adGroupId8101610621/ns2:adGroupId
 ns2:criterion
 ns2:id12623861/ns2:id
 /ns2:criterion
 ns2:experimentData
 ns2:experimentId801941/ns2:experimentId
 
 ns2:experimentDeltaStatusMODIFIED/ns2:experimentDelta
 Status
 
 ns2:experimentDataStatusACTIVE/ns2:experimentDataStat
 us
 ns2:experimentBidMultiplier 
 xsi:type=ns2:ManualCPCAdGr
 oupCriterionExperimentBidMultiplier
 ns2:maxCpcMultiplier
 
 ns2:multiplier0.8571428571428571/ns2:multipli
 er
 /ns2:maxCpcMultiplier
 /ns2:experimentBidMultiplier
 /ns2:experimentData
 ns2:biddingStrategyConfiguration
 ns2:bids xsi:type=ns2:CpcBid
 ns2:bid
 ns2:microAmount7/ns2:microAmount
 /ns2:bid
 /ns2:bids
 /ns2:biddingStrategyConfiguration
 /operand
 /operations
 /mutate

 Response:
 soap:Fault
 faultcodesoap:Server/faultcode
 
 faultstring[MultiplierError.BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MUL
 TIPLIER @ 
 operations[0].operand.experimentData.experimentBidMultiplier.maxCpcMul
 tiplier.multiplier; trigger:'8571']/faultstring
 detail
 ApiExceptionFault xmlns=
 https://adwords.google.com/api/adwords
 /cm/v201306
 
 message[MultiplierError.BID_LESS_THAN_MIN_ALLOWED_BID_WITH
 _MULTIPLIER @ 
 operations[0].operand.experimentData.experimentBidMultiplier.maxCp
 cMultiplier.multiplier; trigger:'8571']/message
 
 ApplicationException.TypeApiException/ApplicationExceptio
 n.Type
 /ApiExceptionFault
 /detail
 /soap:Fault



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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-05 Thread Anders Hansen
Hi Takeshi,

Thanks for your feedback. Based on this I will continue my AdWords API
learing on App Engine, but I think I will prefer Java over Python for
several reasons, one of which is that I don't have to learn a new
programming language, another is my concern for performance.

Is there any roadmap for the Java AdWords API on appengine, including when
it will no longer be experimental?

Thanks,
Anders



2013/12/5 Takeshi Hagikura (AdWords API Team) 
adwordsapiadvisor+take...@google.com

 Hi Andres,

 I'd use appengine (aside from I'm working at Google). I don't have to set
 up my own server and there is a starter 
 packhttps://cloud.google.com/developers/starterpack/option (I'm not the 
 contact person for it though)
 The Java library should work on appengine (as mentioned in the blog 
 posthttp://googleadsdeveloper.blogspot.jp/2012/05/announcing-from-scratch-rewrite-of-java.html,
 it's still experimental though).
 Basically it should work as the similar way as axis does.

 As for this part,
// Axis example
 Selector selector = new Selector();
 selector.setFields(new String[]{Login, CustomerId,  Name});

 You need to write it like this using jax-ws. The Selector in jax-ws
 doens't have setFields method.
 Selector selector = new Selector();

 selector.getFields().addAll(Lists.newArrayList(
 Login,
 CustomerId,
 Name));

 Also, if you are not stick to Java, you have a python option that has a
 demo app as you know.
 Best,
 - Takeshi, AdWords API Team

 On Wednesday, December 4, 2013 10:30:13 PM UTC+9, Anders H wrote:

 Hi Takeshi,

 I am quite new to both AdWords API and axis / jaxws, but as I understand
 it jaxws has a subset of the functionality of axis. Will this give me any
 problems with the functionality of the AdWords API compared to using axis
 and can I still use the adwords-axis-examples from the Java Client Library
 as a starting point for my learning in this area?

 One problem I have found so far after having experimented  with the
 GetAccountHierarchy example (using jaxws instead of axis) is that there
 is no setFields method in the jaxws Selector class, so hopefully there is
 another way to select fields:

 // Axis example
 Selector selector = new Selector();
 selector.setFields(new String[]{Login, CustomerId,  Name});

 I would really like to use Google App Engine for my project to get the
 advantages of low maintenance and scalability, but as there is so little
 information to find on the Internet about using AdWords API on App Engine,
 I am quite uncertain whether the integration of the two products have
 reached a maturity level suitable for production or if it is safer to go
 with setting up my own server. Can you please help me with your opinion
 about which way to go?

 Thanks,
 Anders


 2013/12/4 Takeshi Hagikura (AdWords API Team) adwordsapiad...@google.com
 

 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