I cannot create  AdGroup for VIDEO_TRUE_VIEW_IN_STREAM.
I can create  AdGroup for DISPLAY_STANDARD.

How to create  AdGroup for VIDEO_TRUE_VIEW_IN_STREAM?

error message for VIDEO_TRUE_VIEW_IN_STREAM. ------------------
Error with message: A mutate action is not allowed on this campaign, from 
this client.
        On field: operations
        Type: operation_access_denied_error
        Code: MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT

source (ruby)------------------

  client = Google::Ads::GoogleAds::GoogleAdsClient.new(xxxxxxxxxxxxxxxx)

  ad_group = client.resource.ad_group do |ag|
    ag.name = name
    ag.status = :PAUSED
    ag.campaign = client.path.campaign(customer_id, campaign_id)
    ag.type = :VIDEO_TRUE_VIEW_IN_STREAM
    ag.cpv_bid_micros = bid.to_i
  end

  ad_group_operation = client.operation.create_resource.ad_group(ad_group)

  response = client.service.ad_group.mutate_ad_groups(
    customer_id: customer_id,
    operations: [ad_group_operation],
  )
------------------------------------------

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d014c654-0791-4ca6-bfad-03d9392fd486n%40googlegroups.com.

Reply via email to