Error: advertising channel type not available for account type

79 views
Skip to first unread message

ben...@gmail.com

unread,
Apr 30, 2019, 4:49:27 PM4/30/19
to AdWords API and Google Ads API Forum
I am trying to create new hotel ad campaigns under some new accounts but am getting the following error:

com.google.ads.googleads.v1.errors.GoogleAdsException: errors {

  error_code {

    campaign_error: ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE

  }

  message: "The requested channel type is not available according to the customer\'s account setting."

  trigger {

    string_value: ""

  }

  location {

    field_path_elements {

      field_name: "operations"

      index {

      }

    }

    field_path_elements {

      field_name: "create"

    }

    field_path_elements {

      field_name: "advertising_channel_type"

    }

  }

}


I have set my campaign advertising_channel_type to 'AdvertisingChannelType.HOTEL'

as demonstrated in this example: https://developers.google.com/google-ads/api/docs/samples/add-hotel-ad


Is there some value I need to set when creating a new customer through the API to allow for the account to contain campaigns of AdvertisingChannelType.HOTEL?



googleadsapi...@google.com

unread,
May 1, 2019, 11:10:29 AM5/1/19
to ben...@gmail.com, AdWords API and Google Ads API Forum
Hello,

You need to be whitelisted in order to use this feature. To get whitelisted, you will need to contact your Google representative. 

Regards,
Anthony
Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/7fcd79da-492d-491c-aaa7-56c9a2f5a40c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages