Regarding Adding Image in Responsive Search Ads

35 views
Skip to first unread message

Pranav Kumar

unread,
Jan 15, 2024, 7:36:48 PM1/15/24
to Google Ads API and AdWords API Forum
Hi,
I am try to add Image using this as the reference  but facing the issue. Here are the request, requestid, header and response.

Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "2790970472",
  "x-goog-api-client": "gl-python/3.11.6 grpc/1.57.0 gax/2.11.1 gccl/22.1.0 pb/4.24.2",
  "x-goog-request-params": "customer_id=8065644350"
}
Request: customer_id: "8065644350"
operations {
  create {
    image_feed_item {
      image_asset: "customers/8065644350/assets/99208405132"
    }
  }
}
Response
-------
Headers: {
  "google.ads.googleads.v15.errors.googleadsfailure-bin": "\nx\n\u0003\u0003\u0006\u0012BA mutate action is not allowed on this resource, from this client.\u001a\u001b*\u0019ADVERTISER_PROVIDED_IMAGE\"\u0010\u0012\u000e\n\noperations\u0018\u0000\u0012\u0016YglHkQi4NMwpZHiUE4_pqw",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid argument.\u001a\u0001\nDtype.googleapis.com/google.ads.googleads.v15.errors.GoogleAdsFailure\u0012\u0001\nx\n\u0003\u0003\u0006\u0012BA mutate action is not allowed on this resource, from this client.\u001a\u001b*\u0019ADVERTISER_PROVIDED_IMAGE\"\u0010\u0012\u000e\n\noperations\u0018\u0000\u0012\u0016YglHkQi4NMwpZHiUE4_pqw",
  "request-id": "YglHkQi4NMwpZHiUE4_pqw"
}
Fault: errors {
  error_code {
    operation_access_denied_error: MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
  }
  message: "A mutate action is not allowed on this resource, from this client."
  trigger {
    string_value: "ADVERTISER_PROVIDED_IMAGE"
  }
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
  }
}
request_id: "YglHkQi4NMwpZHiUE4_pqw"

Google Ads API Forum Advisor

unread,
Jan 16, 2024, 9:35:35 AM1/16/24
to panik...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

After reviewing your concern, I understand that you are encountering an error "MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT" with error message "A mutate action is not allowed on this resource, from this client." while binding the image asset.

On July 6, 2023 we announced the auto-migration of image and location extensions to assets. Once the auto-migration starts on August 2, 2023, new accounts will only be able to create image and location assets and not extensions. New accounts will be treated as accounts that have been migrated. Accounts that have been migrated will reject mutate calls for feed-based entities. You may refer to this blog-post for more information.

I hope this helps. Kindly get back to us if you have any further queries.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rWlcX:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages