Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR Adwords API v201302
So this error : InternalApiError.UNEXPECTED_INTERNAL_API_ERROR is misleading because it suggests that there is a temporary error on Google's side. But in fact the reason the my API call failed is because my request had an empty soap tag. I think the error should reflect that the Soap request was not properly formed and should display a more appropriate reason for the failure, so that developers are not confused. I am still trying to figure out why instantiating a BiddingStrategyConfiguration object and setting all fields in the constructor does not properly create the object. Instead I was forced to create an empty BiddingStrategyConfiguration object with the empty constructor, and then set the fields later. Is there any update on this? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR Adwords API v201302
Hey Anash, Are you required to set the bids field when instantiating the BiddingStrategyConfiguration object ? https://developers.google.com/adwords/api/docs/reference/v201302/CampaignService.BiddingStrategyConfiguration The documentation says that bids cannot be set at the campaign level. I tried setting it with an empty array but that did not work : my (@bids) = (); my $biddingStrategyConfiguration2 = Google::Ads::AdWords::v201302::BiddingStrategyConfiguration->new( biddingStrategyType => "MANUAL_CPC", biddingScheme => Google::Ads::AdWords::v201302::ManualCpcBiddingScheme->new({ enhancedCpcEnabled => 0, }), bids => \@bids ); Can you provide any insight? -Etienne -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR Adwords API v201302
Hey Anash, Of the two different ways to instantiate the BiddingStrategyConfiguration object : Method 1) my $biddingStrategyConfiguration = Google::Ads::AdWords::v201302::BiddingStrategyConfiguration->new(); $biddingStrategyConfiguration->set_biddingStrategyType("MANUAL_CPC"); $biddingStrategyConfiguration->set_biddingScheme( Google::Ads::AdWords::v201302::ManualCpcBiddingScheme->new({ enhancedCpcEnabled => 0, })); Method 2) my $biddingStrategyConfiguration2 = Google::Ads::AdWords::v201302::BiddingStrategyConfiguration->new( biddingStrategyType => "MANUAL_CPC", biddingScheme => Google::Ads::AdWords::v201302::ManualCpcBiddingScheme->new({ enhancedCpcEnabled => 0, }) ); Only method 1) worked. For some reason method 2) did not work even though it is essentially doing the same thing. -Etienne -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR Adwords API v201302
Hey Anash, This doesnt make a whole lot of sense but apparently creating an empty object and setting the fields, sets up the BiddingStrategyConfiguration object correctly my $biddingStrategyConfiguration = Google::Ads::AdWords::v201302::BiddingStrategyConfiguration->new(); $biddingStrategyConfiguration->set_biddingStrategyType("MANUAL_CPC"); $biddingStrategyConfiguration->set_biddingScheme( Google::Ads::AdWords::v201302::ManualCpcBiddingScheme->new({ enhancedCpcEnabled => 0, })); But if you try to set the field while simultaneously instantiating the BiddingStrategyConfiguration object, then the BiddingStrategyConfiguration object is undefined my $biddingStrategyConfiguration2 = Google::Ads::AdWords::v201302::BiddingStrategyConfiguration->new( biddingStrategyType => "MANUAL_CPC", biddingScheme => Google::Ads::AdWords::v201302::ManualCpcBiddingScheme->new({ enhancedCpcEnabled => 0, }) ); What is going on here? -Etienne -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR Adwords API v201302
Hey Anash, I tried creating a BiddingStrategyConfiguration object two different ways : my $biddingStrategyConfiguration = Google::Ads::AdWords::v201302::BiddingStrategyConfiguration->new( #biddingStrategyType => "MANUAL_CPC", biddingScheme => Google::Ads::AdWords::v201302::ManualCpcBiddingScheme->new({ enhancedCpcEnabled => 0, }) ); and my $biddingStrategyConfiguration = Google::Ads::AdWords::v201302::BiddingStrategyConfiguration->new( biddingStrategyType => "MANUAL_CPC", #biddingScheme => Google::Ads::AdWords::v201302::ManualCpcBiddingScheme->new({ # enhancedCpcEnabled => 0, # }) ); and both returned nothing. -Etienne -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR Adwords API v201302
Hey Anash, I tried to isolate the issue, and it looks like I am not able to create a biddingStrategyConfiguration object : my $biddingStrategyConfiguration = Google::Ads::AdWords::v201302::BiddingStrategyConfiguration->new( biddingStrategyType => "MANUAL_CPC", biddingScheme => Google::Ads::AdWords::v201302::ManualCpcBiddingScheme->new({ enhancedCpcEnabled => 0, }) ); this object '$biddingStrategyConfiguration' is undefined. -Etienne -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR Adwords API v201302
Hey Anash, I noticed that in my request the campaign object had an empty biddingStrategyConfiguration field : API Upgrade Test Campaign - 1366653343ACTIVE20130422147548118DONT_CAREDONT_CARE xsi:type="KeywordMatchSetting" >falsetruetruefalsefalse However, I followed this example : https://code.google.com/p/google-api-adwords-perl/source/browse/tags/current/examples/v201302/basic_operations/add_campaigns.pl and set the biddingStrategyConfiguration field like this : # Bidding strategy (required). biddingStrategyConfiguration => Google::Ads::AdWords::v201302::BiddingStrategyConfiguration->new({ biddingStrategyType => "MANUAL_CPC", # You can optionally provide a bidding scheme in place of the type. biddingScheme => Google::Ads::AdWords::v201302::ManualCpcBiddingScheme->new({ enhancedCpcEnabled => 0, }) }), Is the documented example incorrect? -Etienne -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR Adwords API v201302
Hey Anash, Thanks for looking into this. I'm really curious why this issue has been happening as I have not encountered this error in previous API migrations. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR Adwords API v201302
Hi Etienne, This looks like an issue at our end. I've pulled the relevant logs, I'll ask the team to investigate this further. Cheers, Anash P. Oommen, AdWords API Advisor. On Friday, April 19, 2013 3:51:39 AM UTC+5:30, Etienne Lawlor wrote: > > I am seeing this error InternalApiError.UNEXPECTED_INTERNAL_API_ERROR. > This is happening when i try to make an add_campaign API call in v201302. > > Here is the SOAP response I am seeing : > > 2013/04/15 14:56:03 INFO > (Google::Ads::AdWords::Deserializer::deserialize:38) - Incoming response: > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";> > xmlns="https://adwords.google.com/api/adwords/cm/v201302";>0004da6d51a569800a42670929f0CampaignServicemutate03490soap:Server[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR > @ > com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro] > xmlns="https://adwords.google.com/api/adwords/cm/v201302";>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR > @ > com.google.ads.api.services.common.error.InternalApiError. (InternalApiErro]ApiException xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:type="InternalApiError">InternalApiError.UNEXPECTED_INTERNAL_API_ERRORInternalApiErrorUNEXPECTED_INTERNAL_API_ERROR > 2013/04/15 14:56:03 INFO > (Google::Ads::AdWords::Deserializer::deserialize:80) - > auth=clientlogin...@pricegrabber.com client_id=6453545429 > service=CampaignService method=mutate response_time=349 > request_id=0004da6d51a569800a42670929f0 operations= units= is_fault=yes > > I have received this same error for a few days now so it does not seem to be > temporary. > > Is there a reason why this error keeps happening? > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
InternalApiError.UNEXPECTED_INTERNAL_API_ERROR Adwords API v201302
I am seeing this error InternalApiError.UNEXPECTED_INTERNAL_API_ERROR. This is happening when i try to make an add_campaign API call in v201302. Here is the SOAP response I am seeing : 2013/04/15 14:56:03 INFO (Google::Ads::AdWords::Deserializer::deserialize:38) - Incoming response: http://schemas.xmlsoap.org/soap/envelope/";>https://adwords.google.com/api/adwords/cm/v201302";>0004da6d51a569800a42670929f0CampaignServicemutate03490soap:Server[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]https://adwords.google.com/api/adwords/cm/v201302";>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError. (InternalApiErro]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance"; xsi:type="InternalApiError">InternalApiError.UNEXPECTED_INTERNAL_API_ERRORInternalApiErrorUNEXPECTED_INTERNAL_API_ERROR 2013/04/15 14:56:03 INFO (Google::Ads::AdWords::Deserializer::deserialize:80) - auth=ClientLogin:gus+man...@pricegrabber.com client_id=6453545429 service=CampaignService method=mutate response_time=349 request_id=0004da6d51a569800a42670929f0 operations= units= is_fault=yes I have received this same error for a few days now so it does not seem to be temporary. Is there a reason why this error keeps happening? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.