Hello Team,
Just to add more insights, I have created a Video action campaign ->
adGroup -> ad via UI. Now tried to add one more Video Responsive Ad via API
and faced same error with trigger as Video. So, video action campaigns also
treated as Video campaigns? attached completed request and response log.
Is there a Whitelisting for Video campaigns since the error says* not
permitted for the client*? Our publisher only wants to advertise his
Youtube videos via Google Ads API.
One last question, If Google Ads API has no solution to advertise YouTube
Videos, our client wants to explore the other options like Scripts.
On Thursday, July 1, 2021 at 9:40:40 AM UTC-4 teja makani wrote:
> Hello Google Ads API Team,
>
> According to the AdTypes published in the Google Ads API documentation(
> https://developers.google.com/google-ads/api/docs/ads/ad-types) we should
> be able to Mutate the VideoResponsiveAds to the Display network via API,
> but when I try to create those Ads and map to the Display campaign I am
> facing an error OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE. So, my question
> to what kind of campaign I should be able to add VideoResponsiveAds? In the
> above URL it said VideoActionCampaign, How to create it via Google Ads API?
> What AdvertizingChannelType and SubType I have to choose?
>
> When I try to add it to the Video campaign I a
> getting MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT error, which is expected as
> VIDEO campaigns are not mutable. Is there a Whitelisting for Video
> campaigns since the error says* not permitted for the client*? Our
> publisher only wants to advertise his Youtube videos via API.
>
> Both the request and responses logs are attached for reference.
>
> Regards,
> Sai Teja Makani
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/f667fd95-f886-4a3c-abb8-f0909623fce1n%40googlegroups.com.
2021-07-07 09:51:17,055 WARN [Gax-1] logging.RequestLogger
(RequestLogger.java:159) - FAILURE REQUEST SUMMARY. Method:
google.ads.googleads.v8.services.AdGroupAdService/MutateAdGroupAds, Endpoint:
googleads.googleapis.com:443, CustomerID: 8760527478, RequestID:
FAwNLsabbMuXAoa_SaWhag, ResponseCode: INVALID_ARGUMENT, Fault: Request contains
an invalid argument..
2021-07-07 09:51:17,286 INFO [Gax-1] logging.RequestLogger
(RequestLogger.java:157) - FAILURE REQUEST DETAIL.
Request
-------
MethodName: google.ads.googleads.v8.services.AdGroupAdService/MutateAdGroupAds
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=1898404517,
x-goog-api-client=gl-java/16.0.1 gapic/ gax/1.65.1 grpc/1.37.0}
Body: customer_id: "8760527478"
operations {
create {
ad {
type: VIDEO_RESPONSIVE_AD
video_responsive_ad {
headlines {
text: "Youtube Healine Exp 0"
}
headlines {
text: "Youtube Healine Exp 1"
}
headlines {
text: "Youtube Healine Exp 2"
}
headlines {
text: "Youtube Healine Exp 3"
}
headlines {
text: "Youtube Healine Exp 4"
}
long_headlines {
text: "Youtube long headline Exp 0"
}
descriptions {
text: "Youtube exp 0"
}
descriptions {
text: "Youtube exp 1"
}
descriptions {
text: "Youtube exp 2"
}
descriptions {
text: "Youtube exp 3"
}
descriptions {
text: "Youtube exp 4"
}
call_to_actions {
text: "Youtube Call to action Exp 0"
}
videos {
asset: "customers/8760527478/assets/13936522335"
}
videos {
asset: "customers/8760527478/assets/279427667"
}
videos {
asset: "customers/8760527478/assets/13936522332"
}
videos {
asset: "customers/8760527478/assets/6586174348"
}
videos {
asset: "customers/8760527478/assets/6586174348"
}
}
}
ad_group: "customers/8760527478/adGroups/123783273759"
}
}
Response
--------
Headers:
Metadata(content-type=application/grpc,request-id=FAwNLsabbMuXAoa_SaWhag,date=Wed,
07 Jul 2021 13:51:16 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443";
ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443";
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443";
ma=2592000; v="46,43")
Body: null
Failure message: errors {
error_code {
operation_access_denied_error: MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
}
message: "A mutate action is not allowed on this campaign, from this client."
trigger {
string_value: "VIDEO"
}
location {
field_path_elements {
field_name: "operations"
index: 0
}
}
}
request_id: "FAwNLsabbMuXAoa_SaWhag"
Status: Status{code=INVALID_ARGUMENT, description=Request contains an invalid
argument., cause=null}.
Request ID FAwNLsabbMuXAoa_SaWhag failed due to GoogleAdsException. Underlying
errors:
Error 0: error_code {
operation_access_denied_error: MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
}
message: "A mutate action is not allowed on this campaign, from this client."
trigger {
string_value: "VIDEO"
}
location {
field_path_elements {
field_name: "operations"
index: 0
}
}