As an addendum:

Query to get criterion related to campaign:
{
  "query" : "SELECT campaign_criterion.resource_name, 
campaign_criterion.type FROM campaign_criterion WHERE 
campaign_criterion.campaign= 'customers/2017233623/campaigns/9129481874'"
}

Response:
{
    "results": [
        {
            "campaignCriterion": {
                "resourceName": 
"customers/2017233623/campaignCriteria/9129481874~30000",
                "type": "DEVICE"
            }
        },
        {
            "campaignCriterion": {
                "resourceName": 
"customers/2017233623/campaignCriteria/9129481874~30001",
                "type": "DEVICE"
            }
        },
        {
            "campaignCriterion": {
                "resourceName": 
"customers/2017233623/campaignCriteria/9129481874~30002",
                "type": "DEVICE"
            }
        },
        {
            "campaignCriterion": {
                "resourceName": 
"customers/2017233623/campaignCriteria/9129481874~30004",
                "type": "DEVICE"
            }
        }
    ],
    "totalResultsCount": "4",
    "fieldMask": "campaignCriterion.resourceName,campaignCriterion.type"
}


We also created an AdGroup and getting the related criterion:
{
  "query" : "SELECT ad_group_criterion.resource_name, 
ad_group_criterion.type FROM ad_group_criterion WHERE 
ad_group_criterion.ad_group= 'customers/2017233623/adGroups/91125827463'"
}
RESPONSE:
{
    "fieldMask": "adGroupCriterion.resourceName,adGroupCriterion.type"
}

So, no AGE_RANGE criterion are created by default.

Regards,
Pierpaolo


On Tuesday, 28 January 2020 21:09:42 UTC+1, adsapiforumadvisor wrote:
>
> Hi Pierpaolo,
>
> After you create a campaign and/or ad group, you will see that they 
> already target all the age ranges. If you only want to target one specific 
> range, you will need to exclude the other ranges. Let me know if you still 
> see issues.
>
> Regards,
> Anthony
> Google Ads API Team
>
> ref:_00D1U1174p._5001USwxO0:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/96dea5a1-0d6a-4297-a168-6ac20a40439e%40googlegroups.com.

Reply via email to