Audience Targeting Setting

798 views
Skip to first unread message

cv

unread,
Aug 13, 2020, 9:21:59 AM8/13/20
to AdWords API and Google Ads API Forum
Hi,

How I can get Audience Targeting Setting using Google Ads API Beta?

I need to get the value as Observation Or Targetting as defined in UI?

Thanks,

cv

unread,
Aug 13, 2020, 10:53:37 AM8/13/20
to AdWords API and Google Ads API Forum
Hi,

I am able to get Targeting Settings using this guide
1) Is this correct method to get Audience Targetting Settings?
2) I can see that account where Audience not setup yet but still I can get the response as bid_only to true.? Why? I have not set any Audiences yet.
But according to doc It is default to false, why this behaviour?

the Data I got 

[0] => Array
(
[adgroup_id] => 1030833051XX
[bid_only] => 1
[targeting_dimensions] => AUDIENCE
)

[1] => Array
(
[adgroup_id] => 1031491981XX
[bid_only] => 1
[targeting_dimensions] => AUDIENCE
)

[2] => Array
(
[adgroup_id] => 1032019208XX
[bid_only] => 1
[targeting_dimensions] => AUDIENCE
)

[3] => Array
(
[adgroup_id] => 1038347065XX
[bid_only] => 1
[targeting_dimensions] => AUDIENCE
)

[4] => Array
(
[adgroup_id] => 1038838655XX
[bid_only] => 1
[targeting_dimensions] => AUDIENCE
)

[5] => Array
(
[adgroup_id] => 1045773292XX
[bid_only] => 1
[targeting_dimensions] => AUDIENCE
)

[6] => Array
(
[adgroup_id] => 1049147927XX
[bid_only] => 1
[targeting_dimensions] => AUDIENCE
)

[7] => Array
(
[adgroup_id] => 1072954614XX
[bid_only] => 1
[targeting_dimensions] => AUDIENCE
)

[8] => Array
(
[adgroup_id] => 1091017900XX
[bid_only] => 1
[targeting_dimensions] => AUDIENCE
)

[9] => Array
(
[adgroup_id] => 1120267439XX
[bid_only] => 1
[targeting_dimensions] => AUDIENCE
)


Thanks

Google Ads API Forum Advisor Prod

unread,
Aug 13, 2020, 4:21:58 PM8/13/20
to chirag....@gmail.com, adwor...@googlegroups.com
Hello,

Thanks for reaching out! Please find my responses to your questions below:

1) Is this correct method to get Audience Targeting Settings?
Yes, as mentioned in the documentation, you can check the targeting_setting on ad groups or campaigns by requesting the ad_group.targeting_setting.target_restrictions field from the ad_group resource in a search query. Additionally, this thread may provide some insight on your concern.


2) I can see that account where Audience not setup yet but still I can get the response as bid_only to true.? Why? I have not set any Audiences yet. But according to doc It is default to false, why this behaviour?
Can you please provide the complete detailed logs of the request and the response in order for me to further investigate this behavior? You can enable logging by following this guide. Kindly do so via the Reply privately to author option. If this is not available to you, you can reach out to us directly at our support alias googleadsa...@google.com

Regards,
Danica, Google Ads API Team


Regards,
Danica, Google Ads API Team

ref:_00D1U1174p._5004Q23Jume:ref

cv

unread,
Aug 14, 2020, 3:28:23 AM8/14/20
to AdWords API and Google Ads API Forum
Hi Danica,

I have provided the required details by email.

Thanks,

Google Ads API Forum Advisor Prod

unread,
Aug 17, 2020, 12:22:42 PM8/17/20
to chirag....@gmail.com, adwor...@googlegroups.com
Hello,

I have received your logs privately and am checking on this further internally within the team. We will reach out to you again once we have an update on why this is occurring. 

Google Ads API Forum Advisor Prod

unread,
Aug 18, 2020, 8:14:58 AM8/18/20
to chirag....@gmail.com, adwor...@googlegroups.com
Hello,

It is possible to set up these "bid only" settings even in the absence of any actual criteria of that type. If you have no audiences set up, then the existence of this setting shouldn't affect anything about how your campaign serves. If you add a criterion of the corresponding type to the campaign at a later time, the existing settings will then be in effect. You can always update the "bid only" setting before attaching any audiences to the campaign if the current state is not what you want.

Regards,
Mike, Google Ads API Team

ref:_00D1U1174p._5004Q23Jume:ref

cv

unread,
Aug 24, 2020, 8:06:04 AM8/24/20
to AdWords API and Google Ads API Forum
Hi Mike,

I can see that bid_only " Indicates whether to restrict your ads to show only for the criteria you have selected for this targeting_dimension, or to target all values for this targeting_dimension and show ads based on your targeting in other TargetingDimensions."

But i cannot get the target all as dimension. How I can assume that the dimension is target all?

Thanks,

Google Ads API Forum Advisor Prod

unread,
Aug 24, 2020, 4:39:52 PM8/24/20
to chirag....@gmail.com, adwor...@googlegroups.com
Hi,

The bid_only is always associated to a targeting_dimension when setting a target restriction. Multiple target restrictions can be used in case there are multiple targeting dimensions.

Thanks,
Pierrick - Google Ads API Team

ref:_00D1U1174p._5004Q23Jume:ref

cv

unread,
Aug 26, 2020, 2:26:26 PM8/26/20
to AdWords API and Google Ads API Forum
Hi,

Is there any value as target all?
I mean in Adwords API there is Target All value which can indicate it is Targeted to all.

How I can identify using Google Ads API that the targetting_dimasion is for Target ALL


Thanks,

Google Ads API Forum Advisor Prod

unread,
Aug 27, 2020, 9:19:04 AM8/27/20
to chirag....@gmail.com, adwor...@googlegroups.com
Hi,

The field targetAll of TargetingSettingDetail (AdWords API) is equivalent to the field bid_only of TargetRestriction (Google Ads API).

It is possible to specify the same behavior using AdWords API and Google Ads API, I clarify the related types and fields here: More details are covered in our AdWords API and Google Ads API guides if you need to learn more about this or access code examples.

Chirag eReportz

unread,
Aug 27, 2020, 9:31:59 AM8/27/20
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Thank you for the clarification. 

cv

unread,
Dec 18, 2020, 7:50:00 AM12/18/20
to AdWords API and Google Ads API Forum
Hello Mike,

Sorry to get back to you over here again.
You said: 
It is possible to set up these "bid only" settings even in the absence of any actual criteria of that type. If you have no audiences set up, then the existence of this setting shouldn't affect anything about how your campaign serves. If you add a criterion of the corresponding type to the campaign at a later time, the existing settings will then be in effect.

-> Now I am in question that how I can find that that criteria is set or not? I need to see same for AdGroup as well Campaign level.
Can you please help.

Thanks,




On Tuesday, 18 August 2020 at 17:44:58 UTC+5:30 adsapiforumadvisor wrote:

Google Ads API Forum Advisor Prod

unread,
Dec 25, 2020, 4:05:52 PM12/25/20
to chirag....@gmail.com, adwor...@googlegroups.com
Hi,

Sorry for the late reply. Are you looking for a way to list the criteria of a given type at ad group and campaign levels? Or may be you are looking for a way to check how "bid only" settings are set for a given type at ad group and campaign levels?

Thanks,
Pierrick, Google Ads API Team

ref:_00D1U1174p._5004Q23Jume:ref

cv

unread,
Dec 27, 2020, 12:52:01 AM12/27/20
to AdWords API and Google Ads API Forum
Hi Pierrick,

I am actually looking at criteria of a given type at ad group and campaign levels.

For example I have a campaign /  Adgroup which is not having any audience but bid_only is returning true, but account do not have any audiences setup.
So I need to check If Audience is there then only check for that criteria.

Thanks,

Google Ads API Forum Advisor Prod

unread,
Jan 5, 2021, 1:28:22 PM1/5/21
to chirag....@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for confirming. All the criteria associated to campaigns and ad groups can be retrieved with the Google Ads API by querying the resources campaign_criterion and ad_group_criterion.

Both of these resources have many fields that you can filter on including "type" (CriterionType) that should be especially helpful in your case. Note: the targeting dimension AUDIENCE includes multiple types of criterion (user list, user interest, custom affinity, and custom in market).

Reply all
Reply to author
Forward
0 new messages