Re: ManualCPM Configuration

2020-02-13 Thread Pietro Galassi
As you can see from the first example in the thread:
we have create a campaign with rest apis with manual cpm:

{
  "partialFailure": "false",
  "validateOnly": "false",
  "operations": {
"create": {
  "name": "ManualCPMTest",
  "advertising_channel_type": "DISPLAY",
  "status": "ENABLED",*  "manualCpm": {
  },*
  "real_time_bidding_setting": {
"opt_in": "False"
  },
  "campaignBudget": "customers/XX/campaignBudgets/YY",
  "networkSettings": {
"targetGoogleSearch": "False",
"targetSearchNetwork": "False",
"targetContentNetwork": "True",
"targetPartnerSearchNetwork": "False"
  },
  "frequencyCaps": [
{
  "key": {
"level": "AD_GROUP",
"eventType": "IMPRESSION",
"timeUnit": "DAY",
"timeLength": 1
  },
  "cap": 1
}
  ],
  "paymentMode": "CLICKS",
  "startDate": "2020-02-10",
  "endDate": "2020-02-27",
  "geo_target_type_setting": {
"positive_geo_target_type": "PRESENCE_OR_INTEREST",
"negative_geo_target_type": "PRESENCE"
  },
  "experiment_type": "BASE"
}
  }
}


but we observe *Bid Strategy = Viewable CPM *in the Google Ads Console.




On Monday, 10 February 2020 17:06:29 UTC+1, adsapiforumadvisor wrote:
>
> Hi Pietro,
>
> You can use AdWords API to set your bid strategies. Although, we don't 
> have specific examples, you can take a look at the following for some 
> guidance. Here is our guide 
> 
>  
> on bidding. You can take a look at our update campaign example 
> 
>  
> as a reference on how to update campaigns and the create campaign example 
> 
>  
> on how to use BiddingStrategyConfiguration.
>
> Regards,
> Anthony
> Google Ads API Team
>
> ref:_00D1U1174p._5001UV02jq: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c0dc88ec-5225-40ad-807b-e0d32d9e2fcb%40googlegroups.com.


Re: ManualCPM Configuration

2020-02-10 Thread Pietro Galassi
Which api ?
Can you provide an example ?

Regards,
Pietro Galassi



On Friday, 7 February 2020 22:27:03 UTC+1, adsapiforumadvisor wrote:
>
> Hi Pietro,
>
> When using the Google Ads API, the biddingStrategyType 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v2.resources#google.ads.googleads.v2.resources.Campaign>
>  
> is read-only. You will need to change the bid strategy either through the 
> UI or AdWords API.
>
> Regards,
> Anthony
> Google Ads API Team
>
> ref:_00D1U1174p._5001UV02jq: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7d60d7d7-307c-4f1f-99ce-25232d209442%40googlegroups.com.


ManualCPM Configuration

2020-02-05 Thread Pietro Galassi
Hi,

we have create a campaign with rest apis with manual cpm:

{
  "partialFailure": "false",
  "validateOnly": "false",
  "operations": {
"create": {
  "name": "ManualCPMTest",
  "advertising_channel_type": "DISPLAY",
  "status": "ENABLED",*  "manualCpm": {
  },*
  "real_time_bidding_setting": {
"opt_in": "False"
  },
  "campaignBudget": "customers/XX/campaignBudgets/YY",
  "networkSettings": {
"targetGoogleSearch": "False",
"targetSearchNetwork": "False",
"targetContentNetwork": "True",
"targetPartnerSearchNetwork": "False"
  },
  "frequencyCaps": [
{
  "key": {
"level": "AD_GROUP",
"eventType": "IMPRESSION",
"timeUnit": "DAY",
"timeLength": 1
  },
  "cap": 1
}
  ],
  "paymentMode": "CLICKS",
  "startDate": "2020-02-10",
  "endDate": "2020-02-27",
  "geo_target_type_setting": {
"positive_geo_target_type": "PRESENCE_OR_INTEREST",
"negative_geo_target_type": "PRESENCE"
  },
  "experiment_type": "BASE"
}
  }
}


when we do a get with rest apis we get:
{
"resourceName": "customers/XX/campaigns/9235142566",
"id": "9235142566",
"name": "TO - 0001053",
"status": "ENABLED",
"campaignBudget": "customers/XX/campaignBudgets/YY",
"adServingOptimizationStatus": "OPTIMIZE",
"advertisingChannelType": "DISPLAY",
"networkSettings": {
"targetGoogleSearch": false,
"targetSearchNetwork": false,
"targetContentNetwork": true,
"targetPartnerSearchNetwork": false
},
"experimentType": "BASE",
"startDate": "2020-02-10",
"endDate": "2020-02-27",
"servingStatus": "PENDING",
"*biddingStrategyType": "MANUAL_CPM",*
  *  "manualCpm": {},*
"baseCampaign": "customers/XX/campaigns/9235142566",
"realTimeBiddingSetting": {
"optIn": false
},
"frequencyCaps": [
{
"key": {
"level": "AD_GROUP",
"timeUnit": "DAY",
"eventType": "IMPRESSION",
"timeLength": 1
},
"cap": 1
}
],
"geoTargetTypeSetting": {
"positiveGeoTargetType": "PRESENCE_OR_INTEREST",
"negativeGeoTargetType": "PRESENCE"
},
"paymentMode": "CLICKS"
}

but once we do a check over the Google Ads Console Application it shows: *Bid 
Strategy = Viewable CPM*

How is that possible ?
Can you please check ?
What it means ?

Regards,
Pierpaolo

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9e450912-c3b5-4de3-be2f-b8d7a1049033%40googlegroups.com.


Re: Update Campaign to REMOVED status using Api

2020-02-03 Thread Pietro Galassi
Hum,

thanks a lot!

Regards,
Pierpaolo



On Monday, 3 February 2020 20:13:46 UTC+1, adsapiforumadvisor wrote:
>
> Hi Pietro,
>
> I would like to clarify that this example 
>  
> of how to remove a campaign does not physically remove the campaign; it 
> changes the status to REMOVED. I tested this to confirm by creating a test 
> campaign, then used the example code to remove the campaign. I checked back 
> in the UI and used the get campaigns 
>  
> example to check the status of the campaign and it is updated to removed. 
> When you check in the Google Ads UI, make sure the filter is set to “All”, 
> which will show campaigns with the “removed” status. Here is the result I 
> obtained after using the example. 
>
> Body: results {
>   campaign {
> resource_name: "customers/………./campaigns/………."
> id {
>   value: 8399049790
> }
> name {
>   value: "My Test Campaign"
> }
> status: REMOVED
>   }
> }
>
> Please let me know if you have further questions.
>
> Thank you,
> Bryan, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UUzrsb: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/930a1dfb-ddbb-451b-8dff-a96c4a0660a6%40googlegroups.com.


Re: Update Campaign to REMOVED status using Api

2020-02-02 Thread Pietro Galassi
Hi,

a) The example gives you how to remove a campaign. But removing this way it 
NOT set the status to REMOVED but instead it fisically removes it. --> Not 
working as Google Ads Console that put the status to REMOVED.
b) Updating the status to REMOVED with Update operation gives you the error 
i already reported : "message": "Enum value 'REMOVED' cannot be used.". --> 
Not working as Google Ads Console that put the status to REMOVED.

So, how to set status to REMOVED using apis ? Both the examples you 
reported are not working this way.

Regards,
Pietro


On Friday, 31 January 2020 20:43:04 UTC+1, adsapiforumadvisor wrote:
>
> Hi Pietro,
>
> Thank you for reaching out to us. I see that you want to remove a campaign 
> through Google Ads API. Could I confirm with you if you are using our Client 
> Libraries  to 
> remove the campaign? If so,you can see this example 
>  
> of 
> how to remove a campaign in Google Ads API, or this example 
>  
> of 
> how to update a campaign’s status. Please let me know if you have further 
> questions.
>
> Thank you,
> Bryan, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UUzrsb: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/aa909f24-c4f8-4f81-8101-1e91efe547f8%40googlegroups.com.


Update Campaign to REMOVED status using Api

2020-01-31 Thread Pietro Galassi
Hi,

we tried to update a campaign status to REMOVED using apis:
POST 
https://googleads.googleapis.com/v2/customers/2017233623/campaigns:mutate
{
"operations": {
"updateMask": "status",
"update": {
"resource_name": "customers/2017233623/campaigns/9151140201",
"status": "REMOVED"
}
}
}

but we get:
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v2.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"requestError": "INVALID_ENUM_VALUE"
},
"message": "Enum value 'REMOVED' cannot be used.",
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": "0"
},
{
"fieldName": "update"
},
{
"fieldName": "status"
}
]
}
}
]
}
]
}
}

While if we do it from Google Ads Console it works and campaign is returned 
with status 'REMOVED'.

How to do it with api ?

Regards,
Pierpaolo

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00388c77-1b4f-4ef3-ac7b-c35df4b2d75b%40googlegroups.com.


Re: AdGroup Age_Range Criterion

2020-01-30 Thread Pietro Galassi
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~3",
"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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/96dea5a1-0d6a-4297-a168-6ac20a40439e%40googlegroups.com.


Re: AdGroup Age_Range Criterion

2020-01-30 Thread Pietro Galassi
Hi,

this is what is happening from GUI not from API.

When you create a campaign from APIs the only criterion that are 
automatically created are the ones related to device.

How to replicate:
1) create a campagn with api 
2) retrieve all criterion related to campaign:
{
  "query" : "SELECT campaign_criterion.resource_name, 
campaign_criterion.type FROM campaign_criterion WHERE 
campaign_criterion.campaign= 
'customers/X/campaigns/'"
}

You will get ONLY criterion related to DEVICE.

So how it works with apis ?

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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/40b5bd27-1b6c-485c-9793-d3df247111f6%40googlegroups.com.


GEO CONSTANTS wrong values

2020-01-29 Thread Pietro Galassi
Hi all,

it seems that both query on table and downloadable excel reports wrong 
values for the following canonical name. *Please correct them.*

1008080 - "canonicalName": "Bari,Bari,Bari,Apulia,Italy",
1008129 - "canonicalName": "Trivero,Italy",
1008318 - "canonicalName": "Universita degli Studi di Firenze, Polo 
Scientifico e Tecnologico di Sesto Fiorentino,Tuscany,Italy",
1008652 - "canonicalName": "Aviano,Aviano,Friuli-Venezia Giulia,Italy",
9050549 - "canonicalName": "Barletta,Barletta,Apulia,Italy",
9050572 - "canonicalName": "Carbonia,Carbonia,Sardinia,Italy",
9050578 - "canonicalName": "Castellana Grotte,Castellana 
Grotte,Apulia,Italy",
9050589 - "canonicalName": "Cesano Maderno,Cesano Maderno,Lombardy,Italy",
9050609 - "canonicalName": "Fiorano Modenese,Fiorano 
Modenese,Emilia-Romagna,Italy",
9050627 - "canonicalName": "Fiumicino,Fiumicino,Lazio,Italy",
9050653 - "canonicalName": "Montecatini Terme,Montecatini 
Terme,Tuscany,Italy",
9050654 - "canonicalName": "Montecchio Maggiore,Montecchio 
Maggiore,Veneto,Italy",
20593   - "canonicalName": "Reggio Emilia Province",

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/65d1597b-239e-486f-b637-0ad45649ad18%40googlegroups.com.


GENDER Criterion on AdGroup

2020-01-27 Thread Pietro Galassi
Hi,

we are setting a GENDER criterion at AdGroup level:

POST 
https://googleads.googleapis.com/v2/customers//adGroupCriteria:mutate
{ "operations": [{ "create": { "gender": { "type": "MALE" }, "adGroup": 
"customers//adGroups/YYY", "status": "ENABLED", 
"type": "GENDER", "negative": false } } ] } 

criterion is created but when we log in into the GoogleAds console we see 
for all the 3 possible value (MALE, FEMALE, UNDETERMINED) with a "green" 
dot, so it seems that all the GENDER criterion are set.
Running this query:
{
  "query" : "SELECT ad_group_criterion.resource_name, 
ad_group_criterion.type FROM ad_group_criterion WHERE 
ad_group_criterion.ad_group= 
'customers//adGroups/Z'"
}
Response:
{ "results": [ { "adGroupCriterion": { "resourceName": 
"customers/2017233623/adGroupCriteria/94848718794~10", "type": "GENDER" } } 
], "totalResultsCount": "1", "fieldMask": 
"adGroupCriterion.resourceName,adGroupCriterion.type" }

How they works ? 
While the presentation of google ads console is inconstent with the set 
criterion?
Either, what means UNDETERMINED : both male and female or none of them ?


Regards,
Pierpaolo

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0ab87d93-7416-4189-b556-ae19f0dc32ff%40googlegroups.com.


Re: AdGroup Age_Range Criterion

2020-01-27 Thread Pietro Galassi
Hi,

we are setting the criterion at adgroup level as you can see in the request.
But while we set ONLY one AGE_RANGE let's say 18_24 on the google ads 
console we see ALL the age range criterion set (all green).
Can you please tell us how it works ?

Regards,
Pierpaolo

On Friday, January 24, 2020 at 9:14:16 PM UTC+1, adsapiforumadvisor wrote:
>
> Hello Pietro,
>
> Thank you for reaching out. Although, AgeRange and Gender can be used as 
> targeting criteria on an ad group, I would recommend referring to the 
> Criteria 
> Usage Guide 
>  to 
> check if you are allowed to use a particular criteria on your ad group type 
> (search, display etc). A complete list of codes for gender and age range 
> targeting is available on this page 
> . 
> Could you please confirm if you are trying to target the allowed ad group 
> and still observing the same error? If yes, could you please share the 
> complete request and response logs along with the client customer id for me 
> to investigate this further on my end and assist you better?
>
> P.S. Please use *Reply privately to author* option while sharing the 
> details for investigation.
>
> Regards,
> Nikisha Patel, 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8439327f-6d1c-4a3e-b5d0-9fc710a83ff1%40googlegroups.com.


AdGroup Age_Range Criterion

2020-01-24 Thread Pietro Galassi
Hi all,

we have created a new criterion using:

https://googleads.googleapis.com/v2/customers//adGroupCriteria:mutate
{
"operations": [{
"create": {
"ageRange": {
"type": "AGE_RANGE_18_24"
},
"adGroup": "customers//adGroups/YYY",
"status": "ENABLED",
"type": "AGE_RANGE",
"negative": false
}

}
]
}

that criterion is created sucessfully but when we check the google ads 
console we see all the AGE_RANGE active!

Is this a bug ?
How we can set up ONLY one set of AGE_RANGE (example as we did ONLY 18_24) ?

Regards,
Pierpaolo

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/78d3fd17-df06-40e9-83f7-8a0dd4a47d93%40googlegroups.com.


Create DEVICE criterion on Campaign

2020-01-22 Thread Pietro Galassi
How to add a DEVICE criterion to a CAMPAIGN with apis ?


Performing this request:
https://googleads.googleapis.com/v2/customers/Y/campaignCriteria:mutate
{
"operations": {
"create": {
"status": "ENABLED",
"campaign": 
"customers/YYY/campaigns/XX",
"type": "DEVICE",
"device": {
"type":"CONNECTED_TV"
}
}
}
}

gives:

{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v2.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"campaignCriterionError": 
"OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE"
},
"message": "This operator cannot be applied to a 
criterion of this type.",
"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": "0"
},
{
"fieldName": "create"
},
{
"fieldName": "device"
}
]
}
}
]
}
]
}
}


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dd44da83-488e-4dbf-a936-75225605750f%40googlegroups.com.


Re: Get list of Affinity Categories and In-market categories

2020-01-21 Thread Pietro Galassi
Yes! Already did it :) Thanks anyway!

Ho to get list of AGE_RANGE or GENDER from tables ?

Regards,
Pietro

On Tuesday, 21 January 2020 17:16:27 UTC+1, adsapiforumadvisor wrote:
>
> Hello Pietro,
>
> Thank you for clarifying this better. To retrieve the full list of user 
> interest criterion via Google Ads API Beta, you could use the 
> user_interest 
>  
> resource where the field user_interest.taxonomy_type 
> 
>  will 
> give you the taxonomy type of the user interest. You could use 
> GoogleAdsService.search 
> 
>  to 
> retrieve this resource via API. Let us know if you are still having issues.
>
> Regards,
> Nikisha Patel, Google Ads API Team
>
>
> ref:_00D1U1174p._5001USwkIB: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cabbf36f-e0e7-4371-84db-06bde5bec16b%40googlegroups.com.


ConstantDataService.getUserInterestCriterion equivalent for REST

2020-01-20 Thread Pietro Galassi
Hi all,

is there any REST equivalent for ConstantDataService.
getUserInterestCriterion 

  
(
https://developers.google.com/adwords/api/docs/reference/v201809/ConstantDataService#getUserInterestCriterion
)?

On this page it seems that you can retrieve a list of item in this page (
https://developers.google.com/adwords/api/docs/appendix/codes-formats) 
calling it.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/af928e26-1ab4-48cc-90c3-6733d6154229%40googlegroups.com.


Re: Get list of Affinity Categories and In-market categories

2020-01-20 Thread Pietro Galassi
Well,

performing this query using googleAds:search 
{
  "query" : "SELECT custom_interest.id,
custom_interest.name,
custom_interest.description,
custom_interest.type,
custom_interest.status,
custom_interest.resource_name
FROM custom_interest"
}
gives no result.

I need an api to take the same list of the content of those files:

https://storage.googleapis.com/support-kms-prod/v7xt0755lGAidJjaTtfoMCdRXb8U9wekBFza
https://storage.googleapis.com/support-kms-prod/1wD5Amf9JrnXkD20kShy4pSkThkE3jjZ1Lk7

listed in this page:
https://support.google.com/google-ads/answer/2497941?hl=en







On Friday, 17 January 2020 22:16:53 UTC+1, adsapiforumadvisor wrote:
>
> Hello Pietro,
>
> Thank you for reaching out. If you are looking to retrieve the affinity 
> categories, 'CUSTOM_INTENT' and 'CUSTOM_AFFINITY' via Google Ads API Beta, 
> you could use the custom_interest 
>  
> resource to retrieve this data. Let us know if you have any additional 
> concerns.
>
> Regards,
> Nikisha Patel, Google Ads API Team
>
>
> ref:_00D1U1174p._5001USwkIB: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bb516da1-68e7-487a-a17c-91cb0eae4a5e%40googlegroups.com.


Get list of Affinity Categories and In-market categories

2020-01-17 Thread Pietro Galassi
Hi all,

how is possible to get list of Affinity Categories using rest Apis ?

Regads,
Pietro Galassi

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/08bb0f2c-c7f0-470c-96eb-fef9bd0da7e3%40googlegroups.com.