I've an ImageAd that is retrieved using `AdGroupAdService`. Here is how the 
object looks (some fields are masked).

AdGroupAd Object
(
    [adGroupId] => 341****442
    [ad] => ImageAd Object
        (
            [image] => Image Object
                (
                    [data] => 
                    [mediaId] => 
                    [type] => IMAGE
                    [referenceId] => 5167****1872
                    [dimensions] => Array
                        (
                            [0] => Media_Size_DimensionsMapEntry Object
                                (
                                    [key] => FULL
                                    [value] => Dimensions Object
                                        (
                                            [width] => 728
                                            [height] => 90
                                        )


                                )


                            [1] => Media_Size_DimensionsMapEntry Object
                                (
                                    [key] => PREVIEW
                                    [value] => Dimensions Object
                                        (
                                            [width] => 180
                                            [height] => 22
                                        )

                                )

                        )


                    [urls] => Array
                        (
                            [0] => Media_Size_StringMapEntry Object
                                (
                                    [key] => FULL
                                    [value] => https:
//tpc.googlesyndication.com/simgad/177****160
                                )


                            [1] => Media_Size_StringMapEntry Object
                                (
                                    [key] => PREVIEW
                                    [value] => https:
//tpc.googlesyndication.com/simgad/904****366
                                )


                        )


                    [mimeType] => IMAGE_JPEG
                    [sourceUrl] => 
                    [name] => 
                    [fileSize] => 0
                    [creationTime] => 
                    [MediaType] => Image
                    [_parameterMap:Media:private] => Array
                        (
                            [Media.Type] => MediaType
                        )


                )


            [name] => LeaderBoard_***_NewYork_2
            [adToCopyImageFrom] => 
            [id] => 117661352642
            [url] => 
            [displayUrl] => thesite.com/NewYork
            [finalUrls] => Array
                (
                    [0] => https://thesite.com/
                )


            [finalMobileUrls] => 
            [finalAppUrls] => 
            [trackingUrlTemplate] => 
            [urlCustomParameters] => 
            [type] => IMAGE_AD
            [devicePreference] => 
            [AdType] => ImageAd
            [_parameterMap:Ad:private] => Array
                (
                    [Ad.Type] => AdType
                )


        )


    [status] => ENABLED
    [approvalStatus] => FAMILY_SAFE
    [trademarks] => 
    [disapprovalReasons] => 
    [trademarkDisapproved] => 
    [labels] => 
    [baseCampaignId] => 643***438
    [baseAdGroupId] => 
    [forwardCompatibilityMap] => 
)

Now, when I try to mutate this ad using `ADD` operator and 
`adToCopyImageFrom` set to the id from above. I get the following error:

[AdError.IMAGE_ERROR @ operations[0].operand.ad]


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/f9f30b26-8ab1-41db-9727-3e7710aeb19b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to