Re: Google Ads API: The customer is not in the allow-list for this asset type

2021-12-01 Thread Shirly J
Hi GoogleTeam, Geting Google Ads API: The customer is not in the allow-list for this asset type error. public function createCallForAsset() { $callAsset = new Asset([ 'type' => AssetType::CALL, 'call_asset' => new CallAsset(['country_code' => $this->countryCode, 'phone_number' =>

Re: Error : Google Ads Api Image Extension : A mutate action is not allowed on this resource, from this client.stringValue

2021-11-23 Thread Shirly J
Ok, then how do we implement *imageextension* for adGroup? On Monday, 22 November 2021 at 20:52:51 UTC adsapi wrote: > Hi Shirley, > > I gave an answer on that thread > . > You can use image assets in ads >

Re: asset_link_error when trying to ad image asset to adgroup in google ads api (php)

2021-11-23 Thread Shirly J
Hi Aryeh, Thank you for the information. I have followed the same documentation. But getting the same error 1. Create ImageAsset for ImageExtension // Creates an asset. $asset = new Asset([ 'type' => AssetType::IMAGE, 'image_asset' => new ImageAsset(['data' => $imageContent]) ]); // Creates

Re: asset_link_error when trying to ad image asset to adgroup in google ads api (php)

2021-11-23 Thread Shirly J
tId, [$assetOperation] ); if (!empty($response->getResults())) { $addedImageAsset = $response->getResults()[0]; return $addedImageAsset->getResourceName(); } 2. Add asset to AdGroup Shirly J 22 Nov 2021, 09:42:36 (yesterday) to AdWords API and Google Ads API Forum Hi, I am trying to do t

Re: Error : Google Ads Api Image Extension : A mutate action is not allowed on this resource, from this client.stringValue

2021-11-22 Thread Shirly J
Thanks Kevin for the information. That error is fixed. But getting another error when calling mutateAdGroupAssets (reference : https://groups.google.com/g/adwords-api/c/Wk6AKHi-sPw/m/bgW4IL12AAAJ) Any help would be appreciated. Thanks On Thursday, 28 October 2021 at 06:49:13 UTC+1 adsapi

Re: asset_link_error when trying to ad image asset to adgroup in google ads api (php)

2021-11-22 Thread Shirly J
Hi, I am trying to do the same(adding image extension to adgroup). //adgroupassetOperation $adGroupAssetOperation = new AdGroupAssetOperation([ 'create' => new AdGroupAsset([ 'asset' => $imageAssetResourceName, 'field_type' => AssetFieldType::MARKETING_IMAGE, 'ad_group' =>

Error : Google Ads Api Image Extension : A mutate action is not allowed on this resource, from this client.stringValue

2021-10-27 Thread Shirly J
// Creates an extension feed item using the specified image asset ID. $extensionFeedItem = new ExtensionFeedItem([ 'extension_type' => ExtensionType::IMAGE, 'image_feed_item' => new ImageFeedItem([ 'image_asset' => $this->createImageAsset($imagePath) ]) ]); // Issues a mutate request to add the