Hello!


I'm trying to create a PMax campaign with Asset Group Signals.

I've found how we can build Audience Signals for User Interests:

   1. 
   
   Retrieve User Interests via API
   2. 
   
   Use the resource name of the User Interest to create an Audience with 
   dimension like:
   
audience_proto = google_ads_client.init_resource( Audience, 
resource_name=google_ads_client.google_ads_service.audience_path( 
self.customer_id, mutate_session.next_temp_id() ), 
scope=AudienceScopeEnum.AudienceScope.ASSET_GROUP, 
asset_group=asset_group_resource, ) 
audience_dimension=google_ads_client.init_resource( AudienceDimension, ) 
audience_dimension_user_interests.audience_segments.segments = [ 
{"user_interest": {"user_interest_category": 
"customers/5244804050/userInterests/92901"}}, # shoppers {"user_interest": 
{"user_interest_category": "customers/5244804050/userInterests/80001"}}, # 
Autos & Vehicles ] 
audience_proto.dimensions.append(audience_dimension_user_interests)


Then, we can use this Audience with the needed Asset Group via the Asset 
Group Signal, and it seems it works with User Interests.

But when I try to add detailed demographics to the dimension when creating 
an Audience:
audience_dimension_user_interests=google_ads_client.init_resource( 
AudienceDimension, ) 
audience_dimension_user_interests.audience_segments.segments = [ 
{"user_interest": {"user_interest_category": 
"customers/5244804050/userInterests/92901"}}, # shoppers {"user_interest": 
{"user_interest_category": "customers/5244804050/userInterests/80001"}}, # 
Autos & Vehicles {"detailed_demographic": {"detailed_demographic": 
"customers/5244804050/detailedDemographics/30015"}}, # Homeownership Status 
] audience_proto.dimensions.append(audience_dimension_user_interests) 

I receive such an error:

“Message: A dimension within the audience definition is not valid. || 
Location: mutate_operations [41] -> audience_operation [0] -> create [0] -> 
dimensions [0] -> audience_segments [0] -> segments [2] -> 
detailed_demographic [0] -> detailed_demographic [0]”



I’ve tried to create 2 dimensions - one for User Interests and one for 
Detailed Demographics and use them both within one Audience, but in this 
case, I received an error:

“Message: Audience can't have multiple dimensions of same type. || 
Location: mutate_operations [41] -> audience_operation [0] -> create [0] -> 
dimensions [1]”



Then, I’ve tried to create an Audience with the Detailed Demographics only 
(without User Interests) and received the same error as with mix of 
Detailed Demographics and User Interests:

Message: A dimension within the audience definition is not valid. || 
Location: mutate_operations [41] -> audience_operation [0] -> create [0] -> 
dimensions [0] -> audience_segments [0] -> segments [0] -> 
detailed_demographic [0] -> detailed_demographic [0]

Could you please suggest how we can create an Audience with Detailed 
Demographics specified so we can use this Audience with our PMax Asset 
Group Signal?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/1361f6e1-8b7e-4b96-a958-5ff0b2186f6dn%40googlegroups.com.
  • PM... Danil Antonov
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to