RejectedError.UNKNOWN_VALUE

90 views
Skip to first unread message

c...@roistat.com

unread,
Aug 25, 2017, 10:26:24 AM8/25/17
to AdWords API Forum
Hi. Trying to create ResponsiveDisplayAd but got error 'RejectedError.UNKNOWN_VALUE'. What does it mean? What im doing wrong? Not found this error at page https://developers.google.com/adwords/api/docs/common-errors 

))

   
'OperationType' => NULL,

   
'operator' => 'ADD',

   
'exemptionRequests' => NULL,

 
)),

     
'forwardCompatibilityMap' => NULL,

     
'baseAdGroupId' => NULL,

     
'baseCampaignId' => NULL,

     
'labels' => NULL,

   
)),

       
'combinedApprovalStatus' => 'APPROVED_LIMITED',

       
'denormalizedStatus' => 'APPROVED_LIMITED',

       
'reviewState' => 'REVIEWED',

     
),

       
)),

           
'policyTopicName' => 'Legal requirements',

           
'policyTopicId' => '106',

         
),

           
)),

               
'PolicyTopicConstraint.Type' => 'CountryConstraint',

               
'PolicyTopicConstraintType' => NULL,

               
'constraintType' => 'COUNTRY',

               
'totalTargetedCountries' => 0,

             
),

               
0 => 2643,

              array
(

               
'constrainedCountries' =>

           
Google\AdsApi\AdWords\v201705\cm\CountryConstraint::__set_state(array(

           
0 =>

          array
(

           
'policyTopicConstraints' =>

           
'policyTopicEvidences' => NULL,

           
'policyTopicEntryType' => 'UNKNOWN',

       
Google\AdsApi\AdWords\v201705\cm\PolicyTopicEntry::__set_state(array(

       
0 =>

      array
(

       
'policyTopicEntries' =>

   
Google\AdsApi\AdWords\v201705\cm\AdGroupAdPolicySummary::__set_state(array(

     
'policySummary' =>

     
'status' => 'ENABLED',

   
)),

       
'Ad.Type' => 'ResponsiveDisplayAd',

       
'AdType' => NULL,

       
'devicePreference' => NULL,

       
'type' => 'RESPONSIVE_DISPLAY_AD',

       
'urlData' => NULL,

       
'urlCustomParameters' => NULL,

       
'trackingUrlTemplate' => NULL,

       
'finalAppUrls' => NULL,

       
'finalMobileUrls' => NULL,

     
),

       
0 => 'http://mann52.ru/?utm_source=google&utm_medium=cpc&utm_campaign=cid|{campaignid}|{ifsearch:search}{ifcontent:context}&utm_content=gid|{adgroupid}|aid|{creative}|placement|{placement}&utm_term={keyword}&roistat=google9_{network}_{adgroupid}_{creative}_{keyword}&roistat_referrer={placement}&roistat_pos={adposition}',

      array
(

       
'finalUrls' =>

       
'displayUrl' => NULL,

       
'url' => NULL,

       
'id' => 216849769819,

       
'businessName' => 'Игорь Манн в Н. Новгороде',

       
'description' => '30 сентября. Узнайте, как улучшить маркетинг в компании всего за 3 рабочих недели',

       
'longHeadline' => '30 сентября. Узнайте, как улучшить маркетинг в компании всего за 3 рабочих недели',

       
'shortHeadline' => 'Семинар "Всего 15 дней"',

       
'logoImage' => NULL,

     
)),

         
'Media.Type' => 'Image',

         
'MediaType' => NULL,

         
'creationTime' => NULL,

         
'fileSize' => 57115,

         
'name' => '',

         
'sourceUrl' => 'media://cnext?source=upload.cropped&uuId=ff1cd8e9-47c4-4c78-bbc5-2f8bae004361',

         
'mimeType' => 'IMAGE_JPEG',

       
),

         
)),

             
'value' => 'https://tpc.googlesyndication.com/simgad/3932412393203825811',

             
'key' => 'FULL',

         
Google\AdsApi\AdWords\v201705\cm\Media_Size_StringMapEntry::__set_state(array(

         
0 =>

        array
(

         
'urls' =>

       
),

         
)),

           
)),

               
'height' => 601,

               
'width' => 1147,

           
Google\AdsApi\AdWords\v201705\cm\Dimensions::__set_state(array(

             
'value' =>

             
'key' => 'FULL',

         
Google\AdsApi\AdWords\v201705\cm\Media_Size_DimensionsMapEntry::__set_state(array(

         
0 =>

        array
(

         
'dimensions' =>

         
'referenceId' => 396125188917297152,

         
'type' => 'IMAGE',

         
'mediaId' => 3031359793,

         
'data' => NULL,

     
Google\AdsApi\AdWords\v201705\cm\Image::__set_state(array(

       
'marketingImage' =>

   
Google\AdsApi\AdWords\v201705\cm\ResponsiveDisplayAd::__set_state(array(

     
'ad' =>

     
'adGroupId' => 41176747130,

 
Google\AdsApi\AdWords\v201705\cm\AdGroupAd::__set_state(array(

   
'operand' =>

Failed operation Google\AdsApi\AdWords\v201705\cm\AdGroupAdOperation::__set_state(array(


Shwetha Vastrad (AdWords API Team)

unread,
Aug 25, 2017, 11:43:38 AM8/25/17
to AdWords API Forum
Hi, 

This error occurs when an unknown value is encountered for a field and was rejected due to compatibility issues. I see that a Responsive Display Ad with ID 216849769819 already exists in the AdGroup 41176747130. Could you enable logging and provide the complete SOAP request and response log for this AdGroupAdOperation so I can take a look? Please use Reply privately to author when responding. 

Thanks,
Shwetha, AdWords API Team.

c...@roistat.com

unread,
Sep 26, 2017, 11:06:12 AM9/26/17
to AdWords API Forum
It works If set field PoliceSummary to null. But at docs written that "This field is read only and will be ignored when sent to the API". It seems that doc is wrong)

Shwetha Vastrad (AdWords API Team)

unread,
Sep 26, 2017, 2:43:42 PM9/26/17
to AdWords API Forum
Hi, 

Thanks for pointing this out. I'll check in with the team if this is expected behavior or if the API reference document needs to be updated. For now, continue adding AdGroupAds without setting the PoliceSummary field.

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages