Errors when processing shared sets

40 views
Skip to first unread message

Andrii Dobrovolskyi

unread,
Oct 26, 2018, 7:14:38 PM10/26/18
to AdWords API and Google Ads API Forum

Hello,

 

I'm trying to create Shared Set with negative placements for about 400 accounts under the same MCC account.

API v201809 is used.

 

This operation is successful for most accounts.

 

For 29 accounts I get the following error on creating a Shared Set:

    "OperationAccessDenied.ACTION_NOT_PERMITTED @ class com.google.ads.api.serviceimpls.campaignmgmt.sharedset.MutateAction":

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
      <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201802">
         <requestId>000578f87c236fe80a375205ee0847e4</requestId>
         <serviceName>SharedSetService</serviceName>
         <methodName>mutate</methodName>
         <operations>1</operations>
         <responseTime>100</responseTime>
      </ResponseHeader>
   </soap:Header>
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Client</faultcode>
         <faultstring>[OperationAccessDenied.ACTION_NOT_PERMITTED @ class com.google.ads.api.serviceimpls.campaignmgmt.sharedset.MutateAction]</faultstring>
         <detail>
            <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201802">
               <message>[OperationAccessDenied.ACTION_NOT_PERMITTED @ class com.google.ads.api.serviceimpls.campaignmgmt.sharedset.MutateAction]</message>
               <ApplicationException.Type>ApiException</ApplicationException.Type>
               <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="OperationAccessDenied">
                  <fieldPath/>
                  <trigger/>
                  <errorString>OperationAccessDenied.ACTION_NOT_PERMITTED</errorString>
                  <ApiError.Type>OperationAccessDenied</ApiError.Type>
                  <reason>ACTION_NOT_PERMITTED</reason>
               </errors>
            </ApiExceptionFault>
         </detail>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>



For 4 accounts I get another error on adding negative placements to a just created Shared Set:

    "OperationAccessDenied.ACTION_NOT_PERMITTED @ class com.google.ads.api.serviceimpls.campaignmgmt.criterion.sharedcriterion.Mut"

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
      <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201802">
         <requestId>000578f87b9408f80a37de035d03fe2c</requestId>
         <serviceName>SharedCriterionService</serviceName>
         <methodName>mutate</methodName>
         <operations>500</operations>
         <responseTime>210</responseTime>
      </ResponseHeader>
   </soap:Header>
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Client</faultcode>
         <faultstring>[OperationAccessDenied.ACTION_NOT_PERMITTED @ class com.google.ads.api.serviceimpls.campaignmgmt.criterion.sharedcriterion.Mut]</faultstring>
         <detail>
            <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201802">
               <message>[OperationAccessDenied.ACTION_NOT_PERMITTED @ class com.google.ads.api.serviceimpls.campaignmgmt.criterion.sharedcriterion.Mut]</message>
               <ApplicationException.Type>ApiException</ApplicationException.Type>
               <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="OperationAccessDenied">
                  <fieldPath/>
                  <trigger/>
                  <errorString>OperationAccessDenied.ACTION_NOT_PERMITTED</errorString>
                  <ApiError.Type>OperationAccessDenied</ApiError.Type>
                  <reason>ACTION_NOT_PERMITTED</reason>
               </errors>
            </ApiExceptionFault>
         </detail>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>
...


 


Please advise what could be the reason for this?


Thanks a lot!

Peter Oliquino (AdWords API Team)

unread,
Oct 29, 2018, 3:15:38 AM10/29/18
to AdWords API and Google Ads API Forum
Hi Andrii,

Could you provide to me the complete SOAP request and response logs? It appears that the one you attached is lacking some of the details such as the clientCustomerId and the Operator you used in the request. Additionally, could you provide to me the list of all the client accounts which encountered the said issue? You may also note that as mentioned here, SharedSets for negative placements are not supported at the MCC or manager level. So in your hierarchy, it may be possible that some of the accounts under your MCC are also MCCs or sub MCCs and that may have caused the error.

However, so I can further look into this, kindly send the requested information. You may reply to me via the Reply privately to author option.

Thanks and regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages