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

58 views
Skip to first unread message

rau...@adext.com

unread,
Jun 5, 2018, 5:40:49 AM6/5/18
to AdWords API and Google Ads API Forum
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": 1260000,
            "comparableValueType": "Money"
          },
          "bidsType": "CpcBid",
          "cpcBidSource": "ADGROUP"
        },
        {
          "bid": {
            "microAmount": 10000,
            "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

Bharani Cherukuri (AdWords API Team)

unread,
Jun 5, 2018, 11:23:17 AM6/5/18
to 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
Reply all
Reply to author
Forward
0 new messages