How to determine a Campaigns type?

261 views
Skip to first unread message

Omer Can Yucel

unread,
May 18, 2023, 5:56:24 AM5/18/23
to Google Ads API and AdWords API Forum
Hello,

How to understand a campaign's type through API programmatically?
For example, performance max, display, etc.

Thanks.

Omer Can Yucel

unread,
May 18, 2023, 5:56:46 AM5/18/23
to Google Ads API and AdWords API Forum
There is no property for Campaign called type.

Richard Cutting

unread,
May 18, 2023, 7:17:11 AM5/18/23
to Google Ads API and AdWords API Forum
Hi,

Look at the advertising_channel_type on the campaign. This gives you the type.

Regards,

Richard.

Google Ads API Forum Advisor

unread,
May 19, 2023, 2:36:03 AM5/19/23
to omer....@earnado.com, adwor...@googlegroups.com

Hi,

Thank you for reaching out to Google Ads API Forum.

Moving forward with your concern, a Campaign’s campaign type is defined by the advertising_channel_type field. You may see the AdvertisingChannelType enum for the available campaign types in Google Ads API. For an overview in Campaign Management, you may refer to the Campaigns overview guide. Additionally if it helps, you may also check the Display Expansion on Search campaigns code example, for your reference.

Let us know if you have further questions.

Reference links included in this email:

Regards,

Google Logo Google Ads API Team


ref:_00D1U1174p._5004Q2lJC1b:ref
Reply all
Reply to author
Forward
0 new messages