Re: I'm not able to create an EXPANDED_DYNAMIC_SEARCH_AD in v201802 (PHP)

2018-06-05 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Raul, 

You can only create Dynamic Search Ads 
 in 
ad groups with adGroupType 

 as 
SEARCH_DYNAMIC_ADS. If you try to create a ExpandedDynamicSearchAd 

 in 
an adGroup with adGroupType 

 as 
SEARCH_STANDARD, you'll get the OperationAccessDenied.
OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE error. Please find the attached 
SOAP logs as a reference. If you continue to have an issue with this, can 
you share the complete SOAP request and response logs, so I can take a 
closer look? Please check this guide 
 on how to enable 
logging for PHP client library. You can reply back via *Reply privately to 
author* option. 

Regards,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/1fb821fe-1b7f-47c7-ba66-e8e440943dbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


I'm not able to create an EXPANDED_DYNAMIC_SEARCH_AD in v201802 (PHP)

2018-06-05 Thread raul . p
Hi, 

I'm trying to create an expanded dynamic search ad, but I got this error : 
"[OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE @ 
operations[0].operand.ad; trigger:'SEARCH_STANDARD']"

I'm checking the configuration and I think is compelte and correct I put 
the configuration for my campaign, adgroup and the ad so you can check it:

{
  "campaign": {
"name": "Anuncios Dinamicos - Embellé",
"status": "ENABLED",
"startDate": "20180530",
"endDate": "20371230",
"settings": [
  {
"settingType": "GeoTargetTypeSetting",
"negativeGeoTargetType": "DONT_CARE",
"positiveGeoTargetType": "DONT_CARE"
  },
  {
"pageFeed": null,
"domainName": "embelle.com.mx",
"settingType": "DynamicSearchAdsSetting",
"languageCode": "es",
"useSuppliedUrlsOnly": null
  }
],
"advertisingChannelType": "SEARCH",
"adServingOptimizationStatus": "OPTIMIZE",
"biddingStrategyConfiguration": {
  "biddingStrategyType": "TARGET_SPEND"
},
"conversionOptimizerEligibility": {
  "eligible": false,
  "rejectionReasons": [
"NOT_ENOUGH_CONVERSIONS"
  ]
}
  },
  "adGroup": {
"id": 57300418273,
"name": "Dynamic Ad Search",
"labels": null,
"status": "ENABLED",
"settings": null,
"criterion": [
  {
"labels": null,
"adGroupId": 57300418273,
"criterion": {
  "id": 365632056845,
  "type": "WEBPAGE",
  "parameter": {
"conditions": [
  {
"operand": "CATEGORY",
"argument": "labios"
  }
],
"criterionName": "Categoría==labios",
"criterionParameterType": "WebpageParameter"
  },
  "criterionType": "Webpage",
  "criteriaSamples": [

"https://embelle.com.mx/products/2-tratamientos-de-4-parches-de-colageno-para-labios;,

"https://embelle.com.mx/products/3-tratamientos-de-4-parches-de-colageno-para-labios-1;,

"https://embelle.com.mx/products/tratamiento-4-parches-de-colageno-para-labios;
  ],
  "criteriaCoverage": 0.023715415019762844
},
"userStatus": "ENABLED",
"criterionUse": "BIDDABLE",
"baseAdGroupId": 57300418273,
"baseCampaignId": 1419326865,
"adGroupCriterionType": "BiddableAdGroupCriterion"
  }
],
"campaignId": 1419326865,
"adGroupType": "SEARCH_DYNAMIC_ADS",
"campaignName": "Anuncios Dinamicos - Embellé",
"adGroupAdRotationMode": {
  "adRotationMode": null
},
"biddingStrategyConfiguration": {
  "bids": [
{
  "bid": {
"microAmount": 126,
"comparableValueType": "Money"
  },
  "bidsType": "CpcBid",
  "cpcBidSource": "ADGROUP"
},
{
  "bid": {
"microAmount": 1,
"comparableValueType": "Money"
  },
  "bidsType": "CpmBid",
  "cpmBidSource": "ADGROUP"
}
  ],
  "biddingStrategyType": "TARGET_SPEND",
  "biddingStrategySource": "CAMPAIGN"
},
"contentBidCriterionTypeGroup": null
  },
  "ads": [
{
  "ad": {
"id": 272901525550,
"url": null,
"type": "EXPANDED_DYNAMIC_SEARCH_AD",
"adType": "ExpandedDynamicSearchAd",
"urlData": null,
"automated": false,
"finalUrls": null,
"displayUrl": null,
"description": "¡Obtén un 50% de descuento en toda la tienda al 
comprar ONLINE! Embelle Paris",
"finalAppUrls": null,
"finalUrlSuffix": null,
"finalMobileUrls": null,
"devicePreference": null,
"trackingUrlTemplate": null,
"urlCustomParameters": null,
"systemManagedEntitySource": null
  },
  "status": "ENABLED",
  "supported": true
}
  ]
}

I don't know what I'm doing wrong, iI'm kind desperate.

Thnks a lot. 

Raul

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit