Using OR Operator in GAQL Query

2024-08-01 Thread Cantare John


Hello Google Ads API Community,

I am working on a GAQL query and need to include an OR condition in the 
WHERE clause. My query looks like this:

SELECT
  search_term_view.resource_name,
  campaign.id,
  metrics.clicks,
  metrics.conversions,
FROM
  search_term_view
WHERE
  campaign.id IN ('x')
  AND segments.date = '2024-01-01'
  AND (metrics.clicks > 0 OR metrics.conversions > 0)

However, I am receiving an error indicating that the query is not valid. I 
want to confirm if using the OR operator in the WHERE clause is supported 
in GAQL, and if so, what the correct syntax would be.

Is it possible to use the OR operator in a GAQL query? If so, can you 
provide guidance or examples on the correct usage?

Thank you for your assistance!



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/824b6de0-74be-43f5-bdad-ea3a3054adf0n%40googlegroups.com.


GoogleAds Api flag for testing mutate api call?

2024-05-20 Thread Cantare John
Is there any flag that i can specify on payload , to execute mutate actions 
but i want to see only the output not modify the items on Google Ads?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/94983d08-497c-4441-8770-7ab0ea61b869n%40googlegroups.com.


[MAXIMZE_CONVERSION_VALUE] Update Target Roas

2024-04-18 Thread Cantare John
I have a question about update of TargetRoas what payload should i use
"maximizeConversionValue": {
"targetRoas" : targetRoasValue * 1e6
}
*or*
"maximizeConversionValue": {
"targetRoas" : targetRoasValue
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/cf3acffb-70ed-4770-894e-af0808fc0dbfn%40googlegroups.com.


Create YoutubeVIdeo AdGroup Criteria

2024-01-20 Thread Cantare John
Im using this payload but im getting an error 

[
  {
create: {
  type: "YOUTUBE_VIDEO",
  youtubeVideo: {
videoId: "3AjhtNX0wmQ",
  },
  adGroup: "customers/xxx/adGroups/xxx",
  status: "ENABLED",
  negative: true,
},
  },
]

I want to know is a problem with my syntax or that is not allowed in 
googleadsApi
Im getting an error 'OPERATION_NOT_PERMITTED_FOR_CONTEX"T

using
using this 
https://googleads.googleapis.com/v15/customers/x/adGroupCriteria:mutate




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/517b31f4-51ee-4610-ae49-e9b0c4b84c41n%40googlegroups.com.


Need to block placement for Youtube Video

2024-01-19 Thread Cantare John
After checking the docs i think that i only need to add new 
campaignCriterion with placement : youtubeVideoId or placementText
negative: true

Am i right? or need something extra

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/777a705d-2c8b-4ffb-abe2-5042bd3ce703n%40googlegroups.com.


Re: Error on getting Metrics from Asset_group

2023-11-21 Thread Cantare John
Yes i was using v14 . Thanks!
I have another question , what workaround can i use to query with date 
(segment.date is not present in fields to select)


On Tuesday, November 21, 2023 at 10:14:54 AM UTC+1 D. H. wrote:

> Hi, 
>
> Are you using v15 of the API or an earlier version? Looks like metrics for 
> asset groups were added in v15: 
> https://ads-developers.googleblog.com/2023/10/announcing-v15-of-google-ads-api.html
>
> And: https://developers.google.com/google-ads/api/fields/v15/asset_group
>
> I get a similar error running your query against v14 with the Python 
> client:
> [2023-11-21 17:00:00,000 - WARNING] Request made: ClientCustomerId: 
> xx, Host: googleads.googleapis.com, Method: 
> /google.ads.googleads.v14.services.GoogleAdsService/SearchStream, 
> RequestId: XXX_X-, IsFault: True, FaultMessage: Cannot 
> select or filter on the following metrics: 'all_conversions'(could not 
> support requested resources: 'ASSET_GROUP'), 'all_conversions_value'(could 
> not support requested resources: 'ASSET_GROUP'), 'clicks'(could not support 
> requested resources: 'ASSET_GROUP'), 'conversions'(could not support 
> requested resources: 'ASSET_GROUP'), 'cost_micros'(could not support 
> requested resources: 'ASSET_GROUP'), 'impressions'(could not support 
> requested resources: 'ASSET_GROUP'), 'interactions'(could not support 
> requested resources: 'ASSET_GROUP'), 'view_through_conversions'(could not 
> support requested resources: 'ASSET_GROUP'), since metric is incompatible 
> with the resource in the FROM clause or other selected segmenting 
> resources. 
>
> Hope this helps,
>
> D.H.
> On Tuesday, November 21, 2023 at 12:09:43 AM UTC+8 Cantare John wrote:
>
>> In docs, it is noted that ASSET_GROUP is RESOURCE WITH METRICS but when 
>> im trying to get metrics with this query
>> *{*
>> * "query": "SELECT campaign.id <http://campaign.id>, asset_group.id 
>> <http://asset_group.id>, metrics.all_conversions, 
>> metrics.all_conversions_value, metrics.clicks, 
>> metrics.conversions,metrics.cost_micros, metrics.impressions, 
>> metrics.interactions, metrics.view_through_conversions FROM asset_group"*
>> *}*
>> Im getting this error 
>>
>>
>> * "errors": [  {*
>>
>> * "errorCode": {*
>>
>>
>>
>> * "queryError": "PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE" 
>> },"message": "Cannot select or filter on the following 
>> metrics: 'all_conversions'(could not support requested resources: 
>> 'ASSET_GROUP'), 'all_conversions_value'(could not support requested 
>> resources: 'ASSET_GROUP'), 'clicks'(could not support requested resources: 
>> 'ASSET_GROUP'), 'conversions'(could not support requested resources: 
>> 'ASSET_GROUP'), 'cost_micros'(could not support requested resources: 
>> 'ASSET_GROUP'), 'impressions'(could not support requested resources: 
>> 'ASSET_GROUP'), 'interactions'(could not support requested resources: 
>> 'ASSET_GROUP'), 'view_through_conversions'(could not support requested 
>> resources: 'ASSET_GROUP'), since metric is incompatible with the resource 
>> in the FROM clause or other selected segmenting resources."  } ],**RequestId 
>> : *JWMpCN21dJv2UObgdEAfyQ
>>
>>
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/bc844078-9561-46de-9c4a-bb5c7bc8ec19n%40googlegroups.com.


Error on getting Metrics from Asset_group

2023-11-20 Thread Cantare John
In docs, it is noted that ASSET_GROUP is RESOURCE WITH METRICS but when im 
trying to get metrics with this query
*{*
* "query": "SELECT campaign.id, asset_group.id, metrics.all_conversions, 
metrics.all_conversions_value, metrics.clicks, 
metrics.conversions,metrics.cost_micros, metrics.impressions, 
metrics.interactions, metrics.view_through_conversions FROM asset_group"*
*}*
Im getting this error 


* "errors": [  {*

* "errorCode": {*



* "queryError": "PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE"   
  },"message": "Cannot select or filter on the following 
metrics: 'all_conversions'(could not support requested resources: 
'ASSET_GROUP'), 'all_conversions_value'(could not support requested 
resources: 'ASSET_GROUP'), 'clicks'(could not support requested resources: 
'ASSET_GROUP'), 'conversions'(could not support requested resources: 
'ASSET_GROUP'), 'cost_micros'(could not support requested resources: 
'ASSET_GROUP'), 'impressions'(could not support requested resources: 
'ASSET_GROUP'), 'interactions'(could not support requested resources: 
'ASSET_GROUP'), 'view_through_conversions'(could not support requested 
resources: 'ASSET_GROUP'), since metric is incompatible with the resource 
in the FROM clause or other selected segmenting resources."  } ],**RequestId 
: *JWMpCN21dJv2UObgdEAfyQ




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/b4d5f91a-da5c-45af-ae2e-619f26fa413cn%40googlegroups.com.


Track AssetGroup or Asset on Performance Max Campaign.

2023-11-13 Thread Cantare John
I need to track a performance_max campaign , for other campaigns i can 
track  for example contents ( {creative} } , keywords ( {keyword} ) , 
search terms ( { matchtype } ) etc . What params should i use for tracking 
assetGroup ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/1ace9224-2510-4325-856e-790c83c51054n%40googlegroups.com.


Request for Assistance: Seeking Clarification on Placements Data

2023-10-18 Thread Cantare John
I want to have more information about Placements such as status, parent 
status, etc. I am using this request to get all placements:

{
"pageSize": 1,
"query": "SELECT detail_placement_view.display_name, 
detail_placement_view.group_placement_target_url, 
detail_placement_view.placement, detail_placement_view.placement_type, 
detail_placement_view.resource_name, detail_placement_view.target_url FROM 
detail_placement_view"
}

But the status is not there as a field. I tried to search in 
campaign_criterion or ad_group_criterion by setting the type to Placements, 
but I couldn't find an id that links Placements from the first query with 
the response coming from the second query.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/a183d507-54a4-421f-af87-c9dbe70493e7n%40googlegroups.com.


Placements (List and update)

2023-09-11 Thread Cantare John
Is possible to list all placements and update they?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/033a1c53-1ab4-4938-85d7-5166fee45552n%40googlegroups.com.


GoogleAds API Limit

2023-03-02 Thread Cantare John


Hello,

I'm developing an application that uses the Google Ads API, and I'm 
encountering a 429 error code when I exceed the API limits and quotas. I 
would like to better understand how these limits are calculated and whether 
they apply at the application level or the user level. 

Thank you for your assistance

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/203af1b7-1e4c-4f08-8fd9-1f103edf9ef6n%40googlegroups.com.


Is anyone having trouble with googleads api?

2023-01-23 Thread Cantare John
.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/119187a4-49f5-464c-b745-58a17e89edc6n%40googlegroups.com.


tell if asset_group_asset is not doing good

2022-12-29 Thread Cantare John
How can i detect if asset_group_asset elemet is not doing good if i dont 
have metrics for 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 
"Google Ads API and AdWords 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/dab800e5-ee75-43c0-ad3f-522449da8048n%40googlegroups.com.


PERFORMANCE MAX -> ASSET GROUP REPORTS

2022-12-27 Thread Cantare John
Is it possible to get reports from asset group and modify them?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/815acd45-a942-468e-9664-6208e3f1aa00n%40googlegroups.com.


Update Keyword to NegativeKeyword?

2022-10-04 Thread Cantare John
This is the endpoint im using + payload

URL 
https://googleads.googleapis.com/v11/customers/customerID/adGroupCriteria:mutate


{
"operations": [
{
"updateMask": "negative",
"update": {
"resourceName": "customers/6873600921/adGroupCriteria/resourceId",
"negative": true
}
}
],
}
But i get i this error => Field 'negative' cannot be modified by 'UPDATE' 
operation.
What should i do to turn e keyword to negative keyword

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/7ce22dcd-dbb5-4398-b10c-5131a1cc178fn%40googlegroups.com.


Find revenue in Ad Group Ad

2022-09-20 Thread Cantare John
What metrics should i get to find revenue for each ad? I have been using '
conversions_value' but everytime i get reports form api, this value is 0. I 
want to know it is correct using this metric field or i should use another 
one for finding revenue 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/c2dfce87-de08-43b0-8a4a-7e6aad6d8121n%40googlegroups.com.


Create Campaign via GoogleAdsApi with AUDIENCE SEGMENTS

2022-08-02 Thread Cantare John
Is it possible to set Audience Segment from GoogleAds Api when creating a 
new campaign? If there an enum type with all the audience segments?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/073338cb-8903-430d-8d01-72c89394e903n%40googlegroups.com.


Re: Can't update TargetCpmMicros on adGroups:mutate

2022-07-25 Thread Cantare John
REQUEST
curl --location --request POST '
https://googleads.googleapis.com/v11/customers/xx/adGroups:mutate 
' 
\
--header 'Content-Type: application/json' \
--header 'developer-token: x' \
--header 'login-customer-id: xx \
--header 'Authorization: Bearer xx' \
--data-raw '{

  "operations": [
{
  "updateMask": "targetCpmMicros",
  "update": {
"resourceName": "customers/xx/adGroups/xx",
"targetCpmMicros": 350
  }
}
  ]
}'

RESPONSE
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "
type.googleapis.com/google.ads.googleads.v11.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"operationAccessDeniedError": "MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT"
},
"message": "A mutate action is not allowed on this resource, from this 
client.",
"trigger": {
"stringValue": "VIDEO"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
}
]
}
}
],
"requestId": "Z9ZRNoco7Ysu8DumJoDkdA"
}
]
}
}


On Monday, July 25, 2022 at 12:43:02 PM UTC+2 adsapi wrote:

> Hi Cantare,
>
> Thank you for reaching out to our API support team.
>
> To investigate the issue further for 
> *MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT*, could you please provide the 
> complete request 
> 
>  and response 
> 
>  logs, 
> with the request-id 
> ?
>  
> If you haven't yet, logging can be enabled by navigating to the Client 
> libraries > Your client library (ex. Java) > Logging documentation, which 
> you can access from this link 
> .You 
> can provide it via Reply privately to author option. If this option is not 
> available, you may send the details directly to our 
> googleadsa...@google.com alias instead. Let me know if you have any 
> questions.
>
>
> Best,
> [image: Google Logo] 
> Anthony Cyril 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2d122y: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 
"Google Ads API and AdWords 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/7b81d8c5-db0a-4131-9c82-c754de3e24d5n%40googlegroups.com.


Re: Can't update TargetCpmMicros on adGroups:mutate

2022-07-25 Thread Cantare John
REQUEST
curl --location --request POST 
'https://googleads.googleapis.com/v11/customers/6873600921/adGroups:mutate' 
\
--header 'Content-Type: application/json' \
--header 'developer-token: x' \
--header 'login-customer-id: xx \
--header 'Authorization: Bearer xx' \
--data-raw '{
  "operations": [
{
  "updateMask": "targetCpmMicros",
  "update": {
"resourceName": "customers/xx/adGroups/xx",
"targetCpmMicros": 350
  }
}
  ]
}'

RESPONSE
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v11.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"operationAccessDeniedError": "MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT"
},
"message": "A mutate action is not allowed on this resource, from this 
client.",
"trigger": {
"stringValue": "VIDEO"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
}
]
}
}
],
"requestId": "Z9ZRNoco7Ysu8DumJoDkdA"
}
]
}
}




On Monday, July 25, 2022 at 12:43:02 PM UTC+2 adsapi wrote:

> Hi Cantare,
>
> Thank you for reaching out to our API support team.
>
> To investigate the issue further for 
> *MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT*, could you please provide the 
> complete request 
> 
>  and response 
> 
>  logs, 
> with the request-id 
> ?
>  
> If you haven't yet, logging can be enabled by navigating to the Client 
> libraries > Your client library (ex. Java) > Logging documentation, which 
> you can access from this link 
> .You 
> can provide it via Reply privately to author option. If this option is not 
> available, you may send the details directly to our 
> googleadsa...@google.com alias instead. Let me know if you have any 
> questions.
>
>
> Best,
> [image: Google Logo] 
> Anthony Cyril 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2d122y: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 
"Google Ads API and AdWords 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/67be22e5-ca17-43d2-9f6f-8f2876ad0ac8n%40googlegroups.com.


Can't update TargetCpmMicros on adGroups:mutate

2022-07-25 Thread Cantare John
This is the payload i send to googleAdsApi
{
"operations": [
   {
 "updateMask": "targetCpmMicros",
 "update": {
 "resourceName": 
"customers/xx/adGroups/y",
 "targetCpmMicros": 350
   }
 }
   ]
}

This is the error message 
{
"errorCode": {
"operationAccessDeniedError": "MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT"
},
"message": "A mutate action is not allowed on this resource, from this 
client.",
"trigger": {
"stringValue": "VIDEO"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
}
]
}
}


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/295cbaff-d218-4706-9006-9fc9e1cdd233n%40googlegroups.com.


Create Search Terms via GoogleAds API

2022-07-21 Thread Cantare John
Is it possible to create new search terms with googleads api?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/d1d3d073-8761-464b-95e7-3d640adc8c44n%40googlegroups.com.