I have Image Assets that are used for Campaign extensions.

I successfully migrated all my Feed-based extensions to Asset-based 
extensions, except for my Campaign Image extensions.

It seems to be not possible to create a CampaignAsset to link and Image 
Asset to a Campaign. In other words, the following PHP code can not work:

$campaignAsset = new CampaignAsset([
                'asset' => <resourceName>,
                'field_type' => AssetFieldType::IMAGE,
                'campaign' => ResourceNames::forCampaign($customerId, 
$campaignId)
        ]);

because AssetFieldType::IMAGE does not exist.

It still works if I use an image_feed_item to create Campaign Image 
extensions. But your documentation says that Feed services will soon be 
deprecated.

What should I do?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/82468aa8-bb3d-464b-b5f0-42f42b300b32n%40googlegroups.com.
  • As... SeriousJ
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
      • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to