Re: Video Perfomance Report

2015-10-20 Thread Emiliano Martinez
Hi, Umesh:

That is exactly what I'm doing, but i dont get that enum value. Here is my 
code:

ReportDefinition reportDefinition = new ReportDefinition();
reportDefinition.setReportName("Campaign performance report #" + startDate + 
"-" + endDate);
reportDefinition.setDateRangeType(ReportDefinitionDateRangeType.CUSTOM_DATE);
reportDefinition.setReportType(ReportDefinitionReportType.VIDEO_PERFORMANCE_REPORT);
reportDefinition.setDownloadFormat(DownloadFormat.XML);


I downloaded the sources of the class and here is what i get:


package com.google.api.ads.adwords.lib.jaxb.v201509;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;


/**
 * Java class for ReportDefinition.ReportType.
 * 
 * The following schema fragment specifies the expected content contained 
within this class.
 * 
 * 
 * simpleType name="ReportDefinition.ReportType"
 *   restriction base="{http://www.w3.org/2001/XMLSchema}string";
 * enumeration value="KEYWORDS_PERFORMANCE_REPORT"/
 * enumeration value="AD_PERFORMANCE_REPORT"/
 * enumeration value="URL_PERFORMANCE_REPORT"/
 * enumeration value="ADGROUP_PERFORMANCE_REPORT"/
 * enumeration value="CAMPAIGN_PERFORMANCE_REPORT"/
 * enumeration value="ACCOUNT_PERFORMANCE_REPORT"/
 * enumeration value="GEO_PERFORMANCE_REPORT"/
 * enumeration value="SEARCH_QUERY_PERFORMANCE_REPORT"/
 * enumeration value="AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT"/
 * enumeration 
value="CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT"/
 * enumeration 
value="CAMPAIGN_NEGATIVE_PLACEMENTS_PERFORMANCE_REPORT"/
 * enumeration value="DESTINATION_URL_REPORT"/
 * enumeration value="SHARED_SET_REPORT"/
 * enumeration value="CAMPAIGN_SHARED_SET_REPORT"/
 * enumeration value="SHARED_SET_CRITERIA_REPORT"/
 * enumeration value="CREATIVE_CONVERSION_REPORT"/
 * enumeration value="CALL_METRICS_CALL_DETAILS_REPORT"/
 * enumeration value="KEYWORDLESS_QUERY_REPORT"/
 * enumeration value="KEYWORDLESS_CATEGORY_REPORT"/
 * enumeration value="CRITERIA_PERFORMANCE_REPORT"/
 * enumeration value="CLICK_PERFORMANCE_REPORT"/
 * enumeration value="BUDGET_PERFORMANCE_REPORT"/
 * enumeration value="BID_GOAL_PERFORMANCE_REPORT"/
 * enumeration value="DISPLAY_KEYWORD_PERFORMANCE_REPORT"/
 * enumeration value="PLACEHOLDER_FEED_ITEM_REPORT"/
 * enumeration value="PLACEMENT_PERFORMANCE_REPORT"/
 * enumeration value="CAMPAIGN_NEGATIVE_LOCATIONS_REPORT"/
 * enumeration value="GENDER_PERFORMANCE_REPORT"/
 * enumeration value="AGE_RANGE_PERFORMANCE_REPORT"/
 * enumeration value="CAMPAIGN_LOCATION_TARGET_REPORT"/
 * enumeration value="CAMPAIGN_AD_SCHEDULE_TARGET_REPORT"/
 * enumeration value="CAMPAIGN_PLATFORM_TARGET_REPORT"/
 * enumeration value="PAID_ORGANIC_QUERY_REPORT"/
 * enumeration value="AUDIENCE_PERFORMANCE_REPORT"/
 * enumeration value="DISPLAY_TOPICS_PERFORMANCE_REPORT"/
 * enumeration value="USER_AD_DISTANCE_REPORT"/
 * enumeration value="SHOPPING_PERFORMANCE_REPORT"/
 * enumeration value="PRODUCT_PARTITION_REPORT"/
 * enumeration value="PLACEHOLDER_REPORT"/
 * enumeration value="AD_CUSTOMIZERS_FEED_ITEM_REPORT"/
 * enumeration value="LABEL_REPORT"/
 * enumeration value="FINAL_URL_REPORT"/
 * enumeration value="UNKNOWN"/
 *   /restriction
 * /simpleType
 * 
 * 
 */
@XmlType(name = "ReportDefinition.ReportType")
@XmlEnum
public enum ReportDefinitionReportType {

KEYWORDS_PERFORMANCE_REPORT,
AD_PERFORMANCE_REPORT,
URL_PERFORMANCE_REPORT,
ADGROUP_PERFORMANCE_REPORT,
CAMPAIGN_PERFORMANCE_REPORT,
ACCOUNT_PERFORMANCE_REPORT,
GEO_PERFORMANCE_REPORT,
SEARCH_QUERY_PERFORMANCE_REPORT,
AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT,
CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT,
CAMPAIGN_NEGATIVE_PLACEMENTS_PERFORMANCE_REPORT,
DESTINATION_URL_REPORT,
SHARED_SET_REPORT,
CAMPAIGN_SHARED_SET_REPORT,
SHARED_SET_CRITERIA_REPORT,
CREATIVE_CONVERSION_REPORT,
CALL_METRICS_CALL_DETAILS_REPORT,
KEYWORDLESS_QUERY_REPORT,
KEYWORDLESS_CATEGORY_REPORT,
CRITERIA_PERFORMANCE_REPORT,
CLICK_PERFORMANCE_REPORT,
BUDGET_PERFORMANCE_REPORT,
BID_GOAL_PERFORMANCE_REPORT,
DISPLAY_KEYWORD_PERFORMANCE_REPORT,
PLACEHOLDER_FEED_ITEM_REPORT,
PLACEMENT_PERFORMANCE_REPORT,
CAMPAIGN_NEGATIVE_LOCATIONS_REPORT,
GENDER_PERFORMANCE_REPORT,
AGE_RANGE_PERFORMANCE_REPORT,
CAMPAIGN_LOCATION_TARGET_REPORT,
CAMPAIGN_AD_SCHEDULE_TARGET_REPORT,
CAMPAIGN_PLATFORM_TARGET_REPORT,
PAID_ORGANIC_QUERY_REPORT,
AUDIENCE_PERFORMANCE_REPORT,
DISPLAY_TOPICS_PERFORMANCE_REPORT,
USER_AD_DISTANCE_REPORT,
SHOPPING_PERFORMANCE_REPORT,
PRODUCT_PARTITION_REPORT,
PLACEHOLDER_REPORT,
AD_CUSTOMIZERS_FEED_ITEM_REPORT,
LABEL_REPORT,
FINAL_URL_REPORT,
UNKNOWN;

public String value() {
return name();
}

public static 

Video Perfomance Report

2015-10-19 Thread Emiliano Martinez
Hi, everyone!

I want to download the new Video Performance Report, in the usual way we 
use to download all the other reports.
For that, I use the ReportDownloader class, that needs a ReportDefinition.
In the ReportDefinition, you must set the ReportType using the enum 
ReportDefinitionReportType.
The problem is that this enum does not have the VIDEO_PERFORMANCE_REPORT 
type :(
I cannot download the report then.
Im using v201509 of the API

Any solution is very welcome!
Thanks and regards
Emiliano 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8f6fac83-ac4d-4118-8c94-5062e7148a71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error creating accounts in sub manager accounts

2015-06-03 Thread Emiliano Martinez
Hi, Forum:

Im having problems creating accounts in sub manager accounts.
If i create an account with an MCC account all works perfectly, here is the 
request:

?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:mustUnderstand=0 
xmlns:ns1=https://adwords.google.com/api/adwords/mcm/v201409;
ns2:clientCustomerId 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201409;1893844881/ns2:clientCustomerId
ns3:developerToken 
xmlns:ns3=https://adwords.google.com/api/adwords/cm/v201409;XX/ns3:developerToken
ns4:userAgent 
xmlns:ns4=https://adwords.google.com/api/adwords/cm/v201409;XX 
(AwApi-Java, AdWords-Axis/1.37.0, Common-Java/1.37.0, Axis/1.4, 
Java/1.7.0_17, maven)/ns4:userAgent
ns5:validateOnly 
xmlns:ns5=https://adwords.google.com/api/adwords/cm/v201409;false/ns5:validateOnly
ns6:partialFailure 
xmlns:ns6=https://adwords.google.com/api/adwords/cm/v201409;false/ns6:partialFailure
/ns1:RequestHeader
/soapenv:Header
soapenv:Body
mutate xmlns=https://adwords.google.com/api/adwords/mcm/v201409;
operations
ns7:operator 
xmlns:ns7=https://adwords.google.com/api/adwords/cm/v201409;ADD/ns7:operator
operand
nameTest account from MCC/name
currencyCodeUSD/currencyCode
dateTimeZoneAmerica/Chicago/dateTimeZone
/operand
/operations
/mutate
/soapenv:Body
/soapenv:Envelope

And the response:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ns2:ResponseHeader 
xmlns:ns2=https://adwords.google.com/api/adwords/mcm/v201409; 
xmlns=https://adwords.google.com/api/adwords/cm/v201409;
requestId0005179e8655fc580ac4f6e99b00cd0b/requestId
serviceNameManagedCustomerService/serviceName
methodNamemutate/methodName
operations0/operations
responseTime698/responseTime
/ns2:ResponseHeader
/soap:Header
soap:Body
ns2:mutateResponse 
xmlns=https://adwords.google.com/api/adwords/cm/v201409; 
xmlns:ns2=https://adwords.google.com/api/adwords/mcm/v201409;
ns2:rval
ns2:value
ns2:nameTest account from MCC/ns2:name
ns2:customerId4117105163/ns2:customerId
ns2:canManageClientsfalse/ns2:canManageClients
ns2:currencyCodeUSD/ns2:currencyCode
ns2:dateTimeZoneAmerica/Chicago/ns2:dateTimeZone
/ns2:value
/ns2:rval
/ns2:mutateResponse
/soap:Body
/soap:Envelope

But if i use the sub mcc account, sending this:

?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:mustUnderstand=0 
xmlns:ns1=https://adwords.google.com/api/adwords/mcm/v201409;
ns2:clientCustomerId 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201409;5435475134/ns2:clientCustomerId
ns3:developerToken 
xmlns:ns3=https://adwords.google.com/api/adwords/cm/v201409;/ns3:developerToken
ns4:userAgent 
xmlns:ns4=https://adwords.google.com/api/adwords/cm/v201409;X 
(AwApi-Java, AdWords-Axis/1.37.0, Common-Java/1.37.0, Axis/1.4, 
Java/1.7.0_17, maven)/ns4:userAgent
ns5:validateOnly 
xmlns:ns5=https://adwords.google.com/api/adwords/cm/v201409;false/ns5:validateOnly
ns6:partialFailure 
xmlns:ns6=https://adwords.google.com/api/adwords/cm/v201409;false/ns6:partialFailure
/ns1:RequestHeader
/soapenv:Header
soapenv:Body
mutate xmlns=https://adwords.google.com/api/adwords/mcm/v201409;
operations
ns7:operator 
xmlns:ns7=https://adwords.google.com/api/adwords/cm/v201409;ADD/ns7:operator
operand
nameTest account from Sub MCC/name
currencyCodeUSD/currencyCode
dateTimeZoneAmerica/Chicago/dateTimeZone
/operand
/operations
/mutate
/soapenv:Body
/soapenv:Envelope

I get the following error:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ns2:ResponseHeader 
xmlns:ns2=https://adwords.google.com/api/adwords/mcm/v201409; 
xmlns=https://adwords.google.com/api/adwords/cm/v201409;
requestId0005179ea5cfa6110ac44509070071d7/requestId
serviceNameManagedCustomerService/serviceName
methodNamemutate/methodName
operations0/operations
responseTime51/responseTime
/ns2:ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
faultstring[AuthorizationError.USER_PERMISSION_DENIED @ ; 
trigger:'lt;nullgt;']/faultstring
detail
ns2:ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/cm/v201409; 
xmlns:ns2=https://adwords.google.com/api/adwords/mcm/v201409;
message[AuthorizationError.USER_PERMISSION_DENIED @ ; 
trigger:'lt;nullgt;']/message
ApplicationException.TypeApiException/ApplicationException.Type
errors xsi:type=AuthorizationError 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
fieldPath/
triggerlt;nullgt;/trigger
errorStringAuthorizationError.USER_PERMISSION_DENIED/errorString
ApiError.TypeAuthorizationError/ApiError.Type
reasonUSER_PERMISSION_DENIED/reason
/errors
/ns2:ApiExceptionFault
/detail

Re: Error creating accounts in sub manager accounts

2015-06-03 Thread Emiliano Martinez
Danial,

Thank you very much! We were mixing ids from production and test!
Next time im going to be checking everything before posting :(

Regards
Emiliano

2015-06-03 12:53 GMT-03:00 Danial Klimkin 
adwordsapiadvisor+dan...@google.com:

 Hello Emiliano,


 The account 5435475134 is not a sub-account of account 1893844881, so if
 you are using the same credentials, the request is expected to fail.

 Please make sure the login you are authorized with has administrative
 access to the MCC you specify in clientCustomerId field.


 -Danial, AdWords API Team.


 On Wednesday, June 3, 2015 at 5:31:36 PM UTC+2, Emiliano Martinez wrote:

 Hi, Forum:

 Im having problems creating accounts in sub manager accounts.
 If i create an account with an MCC account all works perfectly, here is
 the request:

 ?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:mustUnderstand=0 xmlns:ns1=
 https://adwords.google.com/api/adwords/mcm/v201409;
 ns2:clientCustomerId xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201409
 1893844881/ns2:clientCustomerId
 ns3:developerToken xmlns:ns3=
 https://adwords.google.com/api/adwords/cm/v201409
 XX/ns3:developerToken
 ns4:userAgent xmlns:ns4=
 https://adwords.google.com/api/adwords/cm/v201409;XX (AwApi-Java,
 AdWords-Axis/1.37.0, Common-Java/1.37.0, Axis/1.4, Java/1.7.0_17,
 maven)/ns4:userAgent
 ns5:validateOnly xmlns:ns5=
 https://adwords.google.com/api/adwords/cm/v201409
 false/ns5:validateOnly
 ns6:partialFailure xmlns:ns6=
 https://adwords.google.com/api/adwords/cm/v201409
 false/ns6:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/mcm/v201409;
 operations
 ns7:operator xmlns:ns7=
 https://adwords.google.com/api/adwords/cm/v201409;ADD/ns7:operator
 operand
 nameTest account from MCC/name
 currencyCodeUSD/currencyCode
 dateTimeZoneAmerica/Chicago/dateTimeZone
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope

 And the response:

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 soap:Header
 ns2:ResponseHeader xmlns:ns2=
 https://adwords.google.com/api/adwords/mcm/v201409; xmlns=
 https://adwords.google.com/api/adwords/cm/v201409;
 requestId0005179e8655fc580ac4f6e99b00cd0b/requestId
 serviceNameManagedCustomerService/serviceName
 methodNamemutate/methodName
 operations0/operations
 responseTime698/responseTime
 /ns2:ResponseHeader
 /soap:Header
 soap:Body
 ns2:mutateResponse xmlns=
 https://adwords.google.com/api/adwords/cm/v201409; xmlns:ns2=
 https://adwords.google.com/api/adwords/mcm/v201409;
 ns2:rval
 ns2:value
 ns2:nameTest account from MCC/ns2:name
 ns2:customerId4117105163/ns2:customerId
 ns2:canManageClientsfalse/ns2:canManageClients
 ns2:currencyCodeUSD/ns2:currencyCode
 ns2:dateTimeZoneAmerica/Chicago/ns2:dateTimeZone
 /ns2:value
 /ns2:rval
 /ns2:mutateResponse
 /soap:Body
 /soap:Envelope

 But if i use the sub mcc account, sending this:

 ?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:mustUnderstand=0 xmlns:ns1=
 https://adwords.google.com/api/adwords/mcm/v201409;
 ns2:clientCustomerId xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201409
 5435475134/ns2:clientCustomerId
 ns3:developerToken xmlns:ns3=
 https://adwords.google.com/api/adwords/cm/v201409
 /ns3:developerToken
 ns4:userAgent xmlns:ns4=
 https://adwords.google.com/api/adwords/cm/v201409;X
 (AwApi-Java, AdWords-Axis/1.37.0, Common-Java/1.37.0, Axis/1.4,
 Java/1.7.0_17, maven)/ns4:userAgent
 ns5:validateOnly xmlns:ns5=
 https://adwords.google.com/api/adwords/cm/v201409
 false/ns5:validateOnly
 ns6:partialFailure xmlns:ns6=
 https://adwords.google.com/api/adwords/cm/v201409
 false/ns6:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/mcm/v201409;
 operations
 ns7:operator xmlns:ns7=
 https://adwords.google.com/api/adwords/cm/v201409;ADD/ns7:operator
 operand
 nameTest account from Sub MCC/name
 currencyCodeUSD/currencyCode
 dateTimeZoneAmerica/Chicago/dateTimeZone
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope

 I get the following error:

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 soap:Header
 ns2:ResponseHeader xmlns:ns2=
 https://adwords.google.com/api/adwords/mcm/v201409; xmlns=
 https://adwords.google.com/api/adwords/cm/v201409;
 requestId0005179ea5cfa6110ac44509070071d7/requestId
 serviceNameManagedCustomerService/serviceName
 methodNamemutate/methodName
 operations0/operations
 responseTime51/responseTime
 /ns2:ResponseHeader

Re: Internal Api Error in Add Campaign

2012-10-31 Thread Emiliano Martinez
Hi Paul,

I tried with my personal account, using emilianomartinez++USD as developer 
token, and it doesn't works either, and get the same error.

Something else I could try?

Thanks in advance,
Emiliano


El miércoles, 31 de octubre de 2012 11:36:33 UTC-2, Paul Matthews escribió:

 Hi Emiliano,

 I believe your issues start with how you're querying the Sandbox. For 
 instance, your developer token is incorrectly formatted. Please read the 
 following link for information on using the sandbox:
 https://developers.google.com/adwords/api/docs/sandbox?hl=en

 Cheers,

 -Paul, AdWords API Team.

 On Monday, 29 October 2012 16:39:48 UTC, Emiliano Martinez wrote:

 Hello, I'm having some issues when I'm trying to create a campaign (with 
 an associated budget) in the sandbox, I'll post the request and the 
 response, any help would be very welcome!

 ***
 2012-10-29 14:32:37,216  WARN AdsServiceLoggers: 
 ***
 SOAP Request:
 ?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 xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201209; 
 soapenv:mustUnderstand=0
 
 ns1:authTokenDQAAAMInLem2oq4qaFBg34PeWJP-1qVlfDA_2nP-tzCYi0BzU50v-awE2WNQeXnnLTktuHRKPWesCjG6-wg1OU7owW1BvfTe6QCJLSizRadPlkAmlo6u_izwCkUDqO84ipA5Pw5XlQDxCDbfFXPpOvtP4yA9Jk6ZfxSTizWw1HOEQPWS7mNnJpBdW6m4RUS8qCGyRBntIlVx8XKkmc-EFUqveg6keOFMSwEdBlHPSFy4aocjCHhkhDA6qTaZ2Sn8KZ7g4wY8fpZxoMlIY8XZrs5bp8um/ns1:authToken
 ns1:clientCustomerId1825066002/ns1:clientCustomerId
 
 ns1:developerTokenX4glgfA7zjlwzeL3jNQjkw/ns1:developerToken
 ns1:userAgenttestGeneXusUSA (AwApi-Java, 
 AdWords-Axis/1.10.1, Common-Java/1.10.1, Axis/1.4, Java/1.6.0_37, 
 maven)/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201209
 
 operations
 operatorADD/operator
 operand
 namecampaign 4/name
 statusACTIVE/status
 servingStatusENDED/servingStatus
 startDate20121031/startDate
 endDate20121125/endDate
 budget
 budgetId379971/budgetId
 nameBudget Definitivo/name
 periodDAILY/period
 amount
 microAmount1/microAmount
 /amount
 deliveryMethodACCELERATED/deliveryMethod
 statusACTIVE/status
 /budget
 biddingStrategy xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201209; 
 xsi:type=ns2:UnknownBiddingStrategy/
 
 adServingOptimizationStatusCONVERSION_OPTIMIZE/adServingOptimizationStatus
 frequencyCap
 impressions2/impressions
 timeUnitDAY/timeUnit
 levelADGROUP/level
 /frequencyCap
 settings xmlns:ns3=
 https://adwords.google.com/api/adwords/cm/v201209; 
 xsi:type=ns3:GeoTargetTypeSetting
 
 ns3:positiveGeoTargetTypeAREA_OF_INTEREST/ns3:positiveGeoTargetType
 
 ns3:negativeGeoTargetTypeDONT_CARE/ns3:negativeGeoTargetType
 /settings
 settings xmlns:ns4=
 https://adwords.google.com/api/adwords/cm/v201209; 
 xsi:type=ns4:KeywordMatchSetting
 ns4:optIntrue/ns4:optIn
 /settings
 settings xmlns:ns5=
 https://adwords.google.com/api/adwords/cm/v201209; 
 xsi:type=ns5:RealTimeBiddingSetting
 ns5:optIntrue/ns5:optIn
 /settings
 settings xmlns:ns6=
 https://adwords.google.com/api/adwords/cm/v201209; 
 xsi:type=ns6:TargetRestrictSetting
 ns6:useAdGrouptrue/ns6:useAdGroup
 /settings
 networkSetting
 targetGoogleSearchtrue/targetGoogleSearch
 targetSearchNetworkfalse/targetSearchNetwork
 targetContentNetworkfalse/targetContentNetwork
 
 targetPartnerSearchNetworkfalse/targetPartnerSearchNetwork
 /networkSetting
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope

 ***
 2012-10-29 14:32:37,223  WARN AdsServiceLoggers: 
 ***
 SOAP Response:
 ?xml version=1.0 encoding=UTF-8?
 soap:Envelope xmlns:soap=http

Re: Internal Api Error in Add Campaign

2012-10-31 Thread Emiliano Martinez
Sorry, I mean I tried with emilianomarti...@gmail.com++USD

Regards,
Emiliano

El miércoles, 31 de octubre de 2012 14:19:38 UTC-2, Emiliano Martinez 
escribió:

 Hi Paul,

 I tried with my personal account, using emilianomartinez++USD as developer 
 token, and it doesn't works either, and get the same error.

 Something else I could try?

 Thanks in advance,
 Emiliano


 El miércoles, 31 de octubre de 2012 11:36:33 UTC-2, Paul Matthews escribió:

 Hi Emiliano,

 I believe your issues start with how you're querying the Sandbox. For 
 instance, your developer token is incorrectly formatted. Please read the 
 following link for information on using the sandbox:
 https://developers.google.com/adwords/api/docs/sandbox?hl=en

 Cheers,

 -Paul, AdWords API Team.

 On Monday, 29 October 2012 16:39:48 UTC, Emiliano Martinez wrote:

 Hello, I'm having some issues when I'm trying to create a campaign (with 
 an associated budget) in the sandbox, I'll post the request and the 
 response, any help would be very welcome!

 ***
 2012-10-29 14:32:37,216  WARN AdsServiceLoggers: 
 ***
 SOAP Request:
 ?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 xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201209; 
 soapenv:mustUnderstand=0
 
 ns1:authTokenDQAAAMInLem2oq4qaFBg34PeWJP-1qVlfDA_2nP-tzCYi0BzU50v-awE2WNQeXnnLTktuHRKPWesCjG6-wg1OU7owW1BvfTe6QCJLSizRadPlkAmlo6u_izwCkUDqO84ipA5Pw5XlQDxCDbfFXPpOvtP4yA9Jk6ZfxSTizWw1HOEQPWS7mNnJpBdW6m4RUS8qCGyRBntIlVx8XKkmc-EFUqveg6keOFMSwEdBlHPSFy4aocjCHhkhDA6qTaZ2Sn8KZ7g4wY8fpZxoMlIY8XZrs5bp8um/ns1:authToken
 ns1:clientCustomerId1825066002/ns1:clientCustomerId
 
 ns1:developerTokenX4glgfA7zjlwzeL3jNQjkw/ns1:developerToken
 ns1:userAgenttestGeneXusUSA (AwApi-Java, 
 AdWords-Axis/1.10.1, Common-Java/1.10.1, Axis/1.4, Java/1.6.0_37, 
 maven)/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201209
 
 operations
 operatorADD/operator
 operand
 namecampaign 4/name
 statusACTIVE/status
 servingStatusENDED/servingStatus
 startDate20121031/startDate
 endDate20121125/endDate
 budget
 budgetId379971/budgetId
 nameBudget Definitivo/name
 periodDAILY/period
 amount
 microAmount1/microAmount
 /amount
 deliveryMethodACCELERATED/deliveryMethod
 statusACTIVE/status
 /budget
 biddingStrategy xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201209; 
 xsi:type=ns2:UnknownBiddingStrategy/
 
 adServingOptimizationStatusCONVERSION_OPTIMIZE/adServingOptimizationStatus
 frequencyCap
 impressions2/impressions
 timeUnitDAY/timeUnit
 levelADGROUP/level
 /frequencyCap
 settings xmlns:ns3=
 https://adwords.google.com/api/adwords/cm/v201209; 
 xsi:type=ns3:GeoTargetTypeSetting
 
 ns3:positiveGeoTargetTypeAREA_OF_INTEREST/ns3:positiveGeoTargetType
 
 ns3:negativeGeoTargetTypeDONT_CARE/ns3:negativeGeoTargetType
 /settings
 settings xmlns:ns4=
 https://adwords.google.com/api/adwords/cm/v201209; 
 xsi:type=ns4:KeywordMatchSetting
 ns4:optIntrue/ns4:optIn
 /settings
 settings xmlns:ns5=
 https://adwords.google.com/api/adwords/cm/v201209; 
 xsi:type=ns5:RealTimeBiddingSetting
 ns5:optIntrue/ns5:optIn
 /settings
 settings xmlns:ns6=
 https://adwords.google.com/api/adwords/cm/v201209; 
 xsi:type=ns6:TargetRestrictSetting
 ns6:useAdGrouptrue/ns6:useAdGroup
 /settings
 networkSetting
 targetGoogleSearchtrue/targetGoogleSearch
 targetSearchNetworkfalse/targetSearchNetwork
 
 targetContentNetworkfalse/targetContentNetwork
 
 targetPartnerSearchNetworkfalse/targetPartnerSearchNetwork
 /networkSetting
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope

Internal Api Error in Add Campaign

2012-10-29 Thread Emiliano Martinez
Hello, I'm having some issues when I'm trying to create a campaign (with an 
associated budget) in the sandbox, I'll post the request and the response, 
any help would be very welcome!

***
2012-10-29 14:32:37,216  WARN AdsServiceLoggers: 
***
SOAP Request:
?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 
xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201209; 
soapenv:mustUnderstand=0

ns1:authTokenDQAAAMInLem2oq4qaFBg34PeWJP-1qVlfDA_2nP-tzCYi0BzU50v-awE2WNQeXnnLTktuHRKPWesCjG6-wg1OU7owW1BvfTe6QCJLSizRadPlkAmlo6u_izwCkUDqO84ipA5Pw5XlQDxCDbfFXPpOvtP4yA9Jk6ZfxSTizWw1HOEQPWS7mNnJpBdW6m4RUS8qCGyRBntIlVx8XKkmc-EFUqveg6keOFMSwEdBlHPSFy4aocjCHhkhDA6qTaZ2Sn8KZ7g4wY8fpZxoMlIY8XZrs5bp8um/ns1:authToken
ns1:clientCustomerId1825066002/ns1:clientCustomerId
ns1:developerTokenX4glgfA7zjlwzeL3jNQjkw/ns1:developerToken
ns1:userAgenttestGeneXusUSA (AwApi-Java, AdWords-Axis/1.10.1, 
Common-Java/1.10.1, Axis/1.4, Java/1.6.0_37, maven)/ns1:userAgent
ns1:validateOnlyfalse/ns1:validateOnly
ns1:partialFailurefalse/ns1:partialFailure
/ns1:RequestHeader
/soapenv:Header
soapenv:Body
mutate xmlns=https://adwords.google.com/api/adwords/cm/v201209;
operations
operatorADD/operator
operand
namecampaign 4/name
statusACTIVE/status
servingStatusENDED/servingStatus
startDate20121031/startDate
endDate20121125/endDate
budget
budgetId379971/budgetId
nameBudget Definitivo/name
periodDAILY/period
amount
microAmount1/microAmount
/amount
deliveryMethodACCELERATED/deliveryMethod
statusACTIVE/status
/budget
biddingStrategy 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201209; 
xsi:type=ns2:UnknownBiddingStrategy/

adServingOptimizationStatusCONVERSION_OPTIMIZE/adServingOptimizationStatus
frequencyCap
impressions2/impressions
timeUnitDAY/timeUnit
levelADGROUP/level
/frequencyCap
settings 
xmlns:ns3=https://adwords.google.com/api/adwords/cm/v201209; 
xsi:type=ns3:GeoTargetTypeSetting

ns3:positiveGeoTargetTypeAREA_OF_INTEREST/ns3:positiveGeoTargetType

ns3:negativeGeoTargetTypeDONT_CARE/ns3:negativeGeoTargetType
/settings
settings 
xmlns:ns4=https://adwords.google.com/api/adwords/cm/v201209; 
xsi:type=ns4:KeywordMatchSetting
ns4:optIntrue/ns4:optIn
/settings
settings 
xmlns:ns5=https://adwords.google.com/api/adwords/cm/v201209; 
xsi:type=ns5:RealTimeBiddingSetting
ns5:optIntrue/ns5:optIn
/settings
settings 
xmlns:ns6=https://adwords.google.com/api/adwords/cm/v201209; 
xsi:type=ns6:TargetRestrictSetting
ns6:useAdGrouptrue/ns6:useAdGroup
/settings
networkSetting
targetGoogleSearchtrue/targetGoogleSearch
targetSearchNetworkfalse/targetSearchNetwork
targetContentNetworkfalse/targetContentNetwork

targetPartnerSearchNetworkfalse/targetPartnerSearchNetwork
/networkSetting
/operand
/operations
/mutate
/soapenv:Body
/soapenv:Envelope

***
2012-10-29 14:32:37,223  WARN AdsServiceLoggers: 
***
SOAP Response:
?xml version=1.0 encoding=UTF-8?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/v201209;
requestId0004cd35375faf080aede9c97f2b/requestId
serviceNameCampaignService/serviceName
methodNamemutate/methodName
operations1/operations
responseTime2159/responseTime
units1/units
/ResponseHeader
/soap:Header
soap:Body
soap:Fault
faultcodesoap:Server/faultcode
faultstring[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.lt;initgt;(InternalApiErro]/faultstring
detail
ApiExceptionFault