Custom Audience setup using API

104 views
Skip to first unread message

denma test

unread,
Sep 29, 2020, 9:17:13 AM9/29/20
to AdWords API and Google Ads API Forum
Hi
May i know the way to create custom audience as like in the screen shot using Adwords PHP API v201809. Need to create for Custom Affinity and In-Market Audiences along with Weekly estimates. Please fine the screenshot for the requirement,
custom_audience.png

Google Ads API Forum Advisor Prod

unread,
Sep 29, 2020, 3:51:31 PM9/29/20
to denm...@gmail.com, adwor...@googlegroups.com
Hello,

You can use the AdGroupCriterionService and add a criterion of type CriterionUserInterest with the Ids here.

Regards,
Anthony
Google Ads API Team

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q25XiHH:ref

denma test

unread,
Sep 30, 2020, 1:21:07 AM9/30/20
to AdWords API and Google Ads API Forum
Hi
Sorry actually did mistake in last query,of course i done using referred services. But am actually wanted to create Custom Audience to list inAdGroup Audience target as like in screenshot. So i want service details to create, manage custom audiences.
Screenshot_2020-09-30 denma client - Google Ads.png

Sinea Calin

unread,
Sep 30, 2020, 8:05:45 AM9/30/20
to AdWords API and Google Ads API Forum
Thats CustomAffinityService to create a custom affinity then you can add CustomAffinityTokens(books, novels , etc) to that CustomAffinity then you assign that CustomAffinity To an AddGroup of your choosing using AdGroupCriterionService as the advisor said

denma test

unread,
Oct 1, 2020, 6:43:19 AM10/1/20
to AdWords API and Google Ads API Forum
Ok, thanks.

denma test

unread,
Oct 8, 2020, 3:59:52 AM10/8/20
to AdWords API and Google Ads API Forum
Hi
Have created Custom Audiences using CustomAffinityService, please let me know the services to setup interests and other things mentioned in screenshots. let me know the possible types to create, possible share example links in PHP with sample code.

Thanks in Advance.

On Wednesday, September 30, 2020 at 5:35:45 PM UTC+5:30 Sinea Calin wrote:
Screenshot_2020-10-08 denma client - Google Ads.png

Google Ads API Forum Advisor Prod

unread,
Oct 8, 2020, 2:54:29 PM10/8/20
to denm...@gmail.com, adwor...@googlegroups.com
Hello,

Unfortunately, the settings shown from the screenshot you recently shared is not available in the API.


Regards,
Anthony
Google Ads API Team

Google Logo
Anthony Madrigal
Google Ads API Team
 


ref:_00D1U1174p._5004Q25XiHH:ref

denma test

unread,
Oct 9, 2020, 6:36:20 AM10/9/20
to AdWords API and Google Ads API Forum
Hi
Okay, but i can see setTokens method in CustomAffinity class and setTokenType method in CustomAffinityToken class. and CustomAffinityTokenTokenType class has below constants

class CustomAffinityTokenTokenType
{
    const UNKNOWN = 'UNKNOWN';
    const KEYWORD = 'KEYWORD';
    const URL = 'URL';


}

Can you provide sample to create tokens.

denma test

unread,
Oct 9, 2020, 7:57:49 AM10/9/20
to AdWords API and Google Ads API Forum
Hi
How can get Audience insights details via API for custom audience. Attached screenshot for reference.

On Friday, October 9, 2020 at 12:24:29 AM UTC+5:30 adsapiforumadvisor wrote:
Screenshot_2020-10-09 denma client - Google Ads.png

Google Ads API Forum Advisor Prod

unread,
Oct 9, 2020, 1:57:52 PM10/9/20
to denm...@gmail.com, adwor...@googlegroups.com
Hello,

Audience insights are not currently available in the API. Unfortunately, we do not have samples to create these tokens. The only code examples we have are the ones from the client libraries.
Reply all
Reply to author
Forward
0 new messages