Re: RejectedError.UNKNOWN_VALUE

2017-09-26 Thread ca
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)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9f712486-3ac4-4f6a-9987-2c0241e9bb67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RejectedError.UNKNOWN_VALUE

2017-08-25 Thread ca
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(



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

Re: Exception: ManagedCustomerServiceError.MAC_ERROR

2017-08-03 Thread ca
Same problem, can anyone give a error description and solution? Not found 
this error at docs

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8530aae5-d2b3-42c8-90be-16f2e99ac5db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ImageAd's adToCopyImageFrom

2017-07-13 Thread ca
Hi. Im trying to create ImageAd from existing ImageAd and using 
field adToCopyImageFrom. But when I try to mutate this ad using `ADD` 
operator and `adToCopyImageFrom` set to the existing ImageAd ID, I get the 
following error: AdError.IMAGE_ERROR
Can u help me? What im doing wrong?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/998281b2-bfbf-4c53-a332-634e6fff85f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.