Hi,
I am getting a UNEXPECTED_INTERNAL_API_ERROR error when mutating a campaign
set operation. I caught and logged the soap fault via the var_export php
function as posted below. Any clues please as to what might be causing this?
Many Thanks!
SoapFault::__set_state(array(
'message' => '[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]',
'string' => '',
'code' => 0,
'file' =>
'localhost/googleads-php-lib-5.2.1/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php',
'line' => 216,
'trace' =>
array (
0 =>
array (
'file' =>
'localhost/googleads-php-lib-5.2.1/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php',
'line' => 216,
'function' => '__soapCall',
'class' => 'SoapClient',
'type' => '->',
'args' =>
array (
0 => 'mutate',
1 =>
array (
0 =>
CampaignServiceMutate::__set_state(array(
'operations' =>
array (
0 =>
CampaignOperation::__set_state(array(
'operand' =>
Campaign::__set_state(array(
'id' => '162859344',
'name' => '***',
'status' => 'ACTIVE',
'servingStatus' => NULL,
'startDate' => NULL,
'endDate' => NULL,
'budget' =>
Budget::__set_state(array(
'budgetId' => '236399064',
'name' => NULL,
'period' => NULL,
'amount' => NULL,
'deliveryMethod' => NULL,
'referenceCount' => NULL,
'isExplicitlyShared' => NULL,
'status' => NULL,
)),
'conversionOptimizerEligibility' => NULL,
'adServingOptimizationStatus' => 'CONVERSION_OPTIMIZE',
'frequencyCap' => NULL,
'settings' =>
array (
0 =>
KeywordMatchSetting::__set_state(array(
'optIn' => true,
'SettingType' => NULL,
'_parameterMap' =>
array (
'Setting.Type' => 'SettingType',
),
)),
1 =>
GeoTargetTypeSetting::__set_state(array(
'positiveGeoTargetType' => 'DONT_CARE',
'negativeGeoTargetType' => 'DONT_CARE',
'SettingType' => NULL,
'_parameterMap' =>
array (
'Setting.Type' => 'SettingType',
),
)),
),
'advertisingChannelType' => 'SEARCH',
'networkSetting' =>
NetworkSetting::__set_state(array(
'targetGoogleSearch' => true,
'targetSearchNetwork' => false,
'targetContentNetwork' => false,
'targetPartnerSearchNetwork' => NULL,
)),
'biddingStrategyConfiguration' =>
BiddingStrategyConfiguration::__set_state(array(
'biddingStrategyId' => NULL,
'biddingStrategyName' => NULL,
'biddingStrategyType' => 'MANUAL_CPC',
'biddingStrategySource' => NULL,
'biddingScheme' => NULL,
'bids' => NULL,
)),
'forwardCompatibilityMap' => NULL,
'displaySelect' => NULL,
)),
'operator' => 'SET',
'OperationType' => NULL,
'_parameterMap' =>
array (
'Operation.Type' => 'OperationType',
),
)),
),
)),
),
2 => NULL,
3 =>
array (
0 =>
SoapHeader::__set_state(array(
'namespace' =>
'https://adwords.google.com/api/adwords/cm/v201402',
'name' => 'RequestHeader',
'data' =>
SoapRequestHeader::__set_state(array(
'clientCustomerId' => '***',
'developerToken' => '***',
'userAgent' => '*** (AwApi-PHP/5.2.1, Common-PHP/5.2.1,
PHP/5.4.26)',
'validateOnly' => NULL,
'partialFailure' => NULL,
)),
'mustUnderstand' => false,
)),
),
4 =>
array (
),
),
),
1 =>
array (
'file' =>
'localhost/googleads-php-lib-5.2.1/src/Google/Api/Ads/AdWords/v201402/CampaignService.php',
'line' => 7059,
'function' => '__soapCall',
'class' => 'AdsSoapClient',
'type' => '->',
'args' =>
array (
0 => 'mutate',
1 =>
array (
0 =>
CampaignServiceMutate::__set_state(array(
'operations' =>
array (
0 =>
CampaignOperation::__set_state(array(
'operand' =>
Campaign::__set_state(array(
'id' => '162859344',
'name' => '***',
'status' => 'ACTIVE',
'servingStatus' => NULL,
'startDate' => NULL,
'endDate' => NULL,
'budget' =>
Budget::__set_state(array(
'budgetId' => '236399064',
'name' => NULL,
'period' => NULL,
'amount' => NULL,
'deliveryMethod' => NULL,
'referenceCount' => NULL,
'isExplicitlyShared' => NULL,
'status' => NULL,
)),
'conversionOptimizerEligibility' => NULL,
'adServingOptimizationStatus' => 'CONVERSION_OPTIMIZE',
'frequencyCap' => NULL,
'settings' =>
array (
0 =>
KeywordMatchSetting::__set_state(array(
'optIn' => true,
'SettingType' => NULL,
'_parameterMap' =>
array (
'Setting.Type' => 'SettingType',
),
)),
1 =>
GeoTargetTypeSetting::__set_state(array(
'positiveGeoTargetType' => 'DONT_CARE',
'negativeGeoTargetType' => 'DONT_CARE',
'SettingType' => NULL,
'_parameterMap' =>
array (
'Setting.Type' => 'SettingType',
),
)),
),
'advertisingChannelType' => 'SEARCH',
'networkSetting' =>
NetworkSetting::__set_state(array(
'targetGoogleSearch' => true,
'targetSearchNetwork' => false,
'targetContentNetwork' => false,
'targetPartnerSearchNetwork' => NULL,
)),
'biddingStrategyConfiguration' =>
BiddingStrategyConfiguration::__set_state(array(
'biddingStrategyId' => NULL,
'biddingStrategyName' => NULL,
'biddingStrategyType' => 'MANUAL_CPC',
'biddingStrategySource' => NULL,
'biddingScheme' => NULL,
'bids' => NULL,
)),
'forwardCompatibilityMap' => NULL,
'displaySelect' => NULL,
)),
'operator' => 'SET',
'OperationType' => NULL,
'_parameterMap' =>
array (
'Operation.Type' => 'OperationType',
),
)),
),
)),
),
),
),
2 =>
array (
'file' => 'localhost/cron.adwords.load-production-campaigns.php',
'line' => 152,
'function' => 'mutate',
'class' => 'CampaignService',
'type' => '->',
'args' =>
array (
0 =>
array (
0 =>
CampaignOperation::__set_state(array(
'operand' =>
Campaign::__set_state(array(
'id' => '162859344',
'name' => '***',
'status' => 'ACTIVE',
'servingStatus' => NULL,
'startDate' => NULL,
'endDate' => NULL,
'budget' =>
Budget::__set_state(array(
'budgetId' => '236399064',
'name' => NULL,
'period' => NULL,
'amount' => NULL,
'deliveryMethod' => NULL,
'referenceCount' => NULL,
'isExplicitlyShared' => NULL,
'status' => NULL,
)),
'conversionOptimizerEligibility' => NULL,
'adServingOptimizationStatus' => 'CONVERSION_OPTIMIZE',
'frequencyCap' => NULL,
'settings' =>
array (
0 =>
KeywordMatchSetting::__set_state(array(
'optIn' => true,
'SettingType' => NULL,
'_parameterMap' =>
array (
'Setting.Type' => 'SettingType',
),
)),
1 =>
GeoTargetTypeSetting::__set_state(array(
'positiveGeoTargetType' => 'DONT_CARE',
'negativeGeoTargetType' => 'DONT_CARE',
'SettingType' => NULL,
'_parameterMap' =>
array (
'Setting.Type' => 'SettingType',
),
)),
),
'advertisingChannelType' => 'SEARCH',
'networkSetting' =>
NetworkSetting::__set_state(array(
'targetGoogleSearch' => true,
'targetSearchNetwork' => false,
'targetContentNetwork' => false,
'targetPartnerSearchNetwork' => NULL,
)),
'biddingStrategyConfiguration' =>
BiddingStrategyConfiguration::__set_state(array(
'biddingStrategyId' => NULL,
'biddingStrategyName' => NULL,
'biddingStrategyType' => 'MANUAL_CPC',
'biddingStrategySource' => NULL,
'biddingScheme' => NULL,
'bids' => NULL,
)),
'forwardCompatibilityMap' => NULL,
'displaySelect' => NULL,
)),
'operator' => 'SET',
'OperationType' => NULL,
'_parameterMap' =>
array (
'Operation.Type' => 'OperationType',
),
)),
),
),
),
3 =>
array (
'file' => 'localhost/cron.adwords.php',
'line' => 69,
'args' =>
array (
0 => 'localhost/cron.adwords.load-production-campaigns.php',
),
'function' => 'require_once',
),
4 =>
array (
'file' => 'localhost/cron.php',
'line' => 9,
'args' =>
array (
0 => 'localhost/cron.adwords.php',
),
'function' => 'require_once',
),
5 =>
array (
'file' => 'localhost/cron.init.php',
'line' => 10,
'args' =>
array (
0 => 'localhost/cron.php',
),
'function' => 'require_once',
),
6 =>
array (
'file' => 'localhost/cron.php',
'line' => 3,
'args' =>
array (
0 => 'localhost/cron.init.php',
),
'function' => 'require_once',
),
),
'previous' => NULL,
'faultstring' => '[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]',
'faultcode' => 'soap:Server',
'detail' =>
stdClass::__set_state(array(
'ApiExceptionFault' =>
stdClass::__set_state(array(
'message' => '[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]',
'ApplicationException.Type' => 'ApiException',
'errors' =>
SoapVar::__set_state(array(
'enc_type' => 0,
'enc_value' =>
InternalApiError::__set_state(array(
'reason' => 'UNEXPECTED_INTERNAL_API_ERROR',
'fieldPath' => '',
'trigger' => '',
'errorString' =>
'InternalApiError.UNEXPECTED_INTERNAL_API_ERROR',
'ApiErrorType' => 'InternalApiError',
'_parameterMap' =>
array (
'ApiError.Type' => 'ApiErrorType',
),
)),
'enc_stype' => 'InternalApiError',
'enc_ns' => 'https://adwords.google.com/api/adwords/cm/v201402',
)),
)),
)),
))
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.