PHP target audience

64 views
Skip to first unread message

Дмитрий Пройдак

unread,
Sep 17, 2018, 4:05:45 PM9/17/18
to AdWords API and Google Ads API Forum
Hello everybody!

At once I apologize for my English.
I've been working with the Adwords API recently.
I can not find how to add an audience to the company.
Prompt through what service it is possible to make it.

Thanks in advance.

Dannison Yao (AdWords API Team)

unread,
Sep 18, 2018, 6:47:53 AM9/18/18
to AdWords API and Google Ads API Forum
Hi,

You don't need to apologize for your English as I understand you well. Could you confirm if what you meant by adding audience to company is adding audience to campaign level? If so, to target your audience list in your campaign via AdWords API, you will need to use the CampaignCriterionService and CriterionUserList to set your user list as a targeting criteria to your campaign. You may check the Add Targeting Criteria To a Campaign sample in PHP for adding a targeting criteria to a campaign.

If I misunderstood your concern, kindly provide more context regarding it so I can further check and provide you the necessary information.


Best regards,
Dannison
AdWords API Team

Дмитрий Пройдак

unread,
Sep 18, 2018, 8:57:40 AM9/18/18
to AdWords API and Google Ads API Forum
Thank you so much. You helped me a lot.
But there was a difficulty. Audiences are added only to a campaign with the type AdvertisingChannelType :: SEARCH
When I try to add a campaign with the type AdvertisingChannelType :: DISPLAY, I get a fatal error OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE
Interactive adwords allows you to add audiences to campaigns with DISPLAY type

Can you help me with this?

вторник, 18 сентября 2018 г., 14:47:53 UTC+4 пользователь Dannison Yao (AdWords API Team) написал:

Дмитрий Пройдак

unread,
Sep 18, 2018, 10:40:13 AM9/18/18
to AdWords API and Google Ads API Forum
Thank you.
Understood.
I added not to the campaign, but to the ad group.
Reply all
Reply to author
Forward
0 new messages