Estimation for Performance Max campaigns

2024-03-26 Thread lezhne...@gmail.com
I can't figure out how to estimate performance max campaigns that do not 
have ad groups nor keywords. What service/API shoudl I use for that purpose?
I see that this is possible as mentioned 
here: https://support.google.com/google-ads/answer/11593425?hl=en

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/93712218-2bf3-4685-bcde-87183d9ef10en%40googlegroups.com.


Generate Forecast Metrics For Performance Max?

2024-02-28 Thread lezhne...@gmail.com
Is it possible to build a forecast for a proposed gpm campaign? I see it 
expects us to provide keywords which are not available for PerfMax 
campaigns. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7fb3fbf8-53f5-49e2-8e3f-69b88fc9d8ccn%40googlegroups.com.


SHORT_DESCRIPTION_REQUIRED when creating a new asset group.

2023-11-21 Thread lezhne...@gmail.com
I see this new error recently. According to the release notes, this error 
name appeared in  API v13. What does it mean? My request provides enough 
descriptions according to the limits described here 
. 
Does it have to do anything with the length of individual descriptions?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/44269161-a7be-4088-b620-62973b40fc44n%40googlegroups.com.


Re: Unable to create Asset Group Signal via. API call

2023-10-11 Thread lezhne...@gmail.com
The problem re-surfaced. I emailed google over email but wanted to ping 
here too in case others experience the same issue.

On Tuesday, 6 June 2023 at 18:29:38 UTC+2 Google Ads API Forum Advisor 
wrote:

> Hello Dmitriy,
>
> Thank you for responding back to us and confirming that the issue appears 
> to be resolved on your end. Do not hesitate to come back to us should you 
> encounter any API related concerns in the future and we will be glad to 
> assist you.
>  
> This message is in relation to case "ref:_00D1U1174p._5004Q2bCvlU:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2c62f566-6aa8-4b2f-abb5-c303fe841a44n%40googlegroups.com.


Re: Unable to create Asset Group Signal via. API call

2023-06-01 Thread lezhne...@gmail.com
Let me clarify the problem. We are ABLE to create pmax campaigns. But later 
when we want to create an asset group it fails. It used to work just weeks 
ago as we have this code in production. 

Steps to reproduce:
1. create assets - WORKS
2. Create a pmax campaign - WORKS
3. create asset group in a pmax campaign - FAILS
4. link assets to an asset group - 

The above flow used to work, so that is where all the confusion comes from.

On Wednesday, 31 May 2023 at 10:50:29 UTC+2 Meri Sahakyan wrote:

> Hi all, I have the same issue with asset group creation. I'm creating 
> assets with minimum required types, and then it again fails to create asset 
> group by API for PMAX campaign.
> Can you guys from Google share some working solution instead of repeating 
> same answers again and again?
>
> On Monday, May 29, 2023 at 10:14:58 PM UTC+4 san...@knorex.com wrote:
>
>> Hi,
>>
>> I created one Pmax campaign in the Adwords console, having *one valid 
>> asset group with minimum assets* in it.
>> I cannot create a *new asset group* in *that campaign*. That's an 
>> insanely sudden API error.
>>
>> Martin
>>
>> On Tuesday, May 30, 2023 at 1:09:35 AM UTC+7 san...@knorex.com wrote:
>>
>>> Hi,
>>>
>>> In your guide (
>>> https://developers.google.com/google-ads/api/docs/performance-max/assets?hl=en#ensure_minimum_asset_requirements_are_met
>>> )
>>>
>>> 1) How to assign created assets to a campaign? 
>>> 2) How a campaign knows whether it has minimum assets or not? 
>>>
>>> Note that in my *account*, there are many Pmax campaigns & many assets. 
>>> I till cannot create *new asset group* in *new campaign*.
>>>
>>> Martin
>>>
>>> On Monday, May 29, 2023 at 11:02:38 PM UTC+7 Google Ads API Forum 
>>> Advisor wrote:
>>>
 Hi everyone,

 Thank you for reaching out to us.

 1.) *Does the above mean that asset group creation must follow asset 
 creation in order to succeed?*
 >>> Yes. Kindly note that each Performance Max campaign requires an 
 initial minimum set of assets. These may be existing assets used in other 
 campaigns or new assets specifically for a Performance Max campaign. You 
 may check this *guide* (
 https://developers.google.com/google-ads/api/docs/performance-max/assets?hl=en#ensure_minimum_asset_requirements_are_met)
  
 for more information.

 2.) *When was the minimum requirement for assets rolled out? How can 
 we do that?*
 >>> Are you referring to linking assets to asset groups? If so, then I 
 would suggest referring to the below guides as these will walk you through 
 the steps on how you can do this on your end. In addition, if you need the 
 asset group data like id and resource name, you may use this 
 *asset_group* (
 https://developers.google.com/google-ads/api/fields/v13/asset_group?hl=en) 
 report on your end. 

- 

 https://developers.google.com/google-ads/api/docs/performance-max/asset-groups?hl=en#linking_asset_groups_to_assets
  
- 

 https://developers.google.com/google-ads/api/interactive-guides/performance-max?url=%2Fpmax%2FfullExample%2FassetGroupAssets
  


 Let us know if you have further specific questions about this.
   
 This message is in relation to case "ref:_00D1U1174p._5004Q2bCvlU:ref"

 Thanks,
   
 [image: Google Logo] Google Ads API Team 




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bb0da62b-fb79-4ede-a641-4e478a167758n%40googlegroups.com.


Re: Unable to create Asset Group Signal via. API call

2023-05-25 Thread lezhne...@gmail.com
I just encountered the same problem (funny, exactly one year later). Does 
the above mean that asset group creation must follow asset creation in 
order to succeed?

On Wednesday, 25 May 2022 at 04:23:54 UTC+2 Google Ads API Forum Advisor 
wrote:

> Hi,
>  
>
> Thanks for reaching out to the Google Ads API Support team.
>
>
> To answer your concerns and questions in general. Yes, the step you 
> followed to create the asset group is correct but I noticed that the error 
> that you encountered is because you haven’t met the minimum asset 
> requirements. However, to resolve this error you need to ensure minimum 
> asset requirements are met. You may refer to this guide 
> 
>  as 
> the Performance Max campaign requires an initial minimum set of assets. 
> These may be existing assets used in other campaigns or new assets 
> specifically for a Performance Max campaign.
>  
>
> Regards,
> [image: Google Logo] 
> Darwin 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bCvlU: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/8ae23a5d-d249-4af4-a1ae-bf80f1568c99n%40googlegroups.com.


Re: Account Link

2022-05-26 Thread lezhne...@gmail.com
Hello! I found this conversation as I am working on shopping campaigns. 
Is it possible to link an existing merchant account to google ads account 
over API (as of now)?

On Monday, 5 April 2021 at 07:39:12 UTC+5 Google Ads API Forum Advisor Prod 
wrote:

> Hello Adrian and Caner,
>
> We apologize for this delay.
> As of v6, reporting for *account_link* doesn't support Google Merchant 
> Center and Google Analytics yet.
> You can see the supported account link type here 
> 
> .
>
> Best,
> Thanet, Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q278FHs: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/0d813eea-fd85-4b3e-b755-e6aee1c053b6n%40googlegroups.com.


Re: How to add images to a search ad group?

2022-05-10 Thread lezhne...@gmail.com
request id: xaUKOsYsF9-tkFeomyp4-w

On Wednesday, 11 May 2022 at 06:37:47 UTC+5 adsapi wrote:

> Hi Dmitriy,
>
> Thank you for posting your concern.
>
> To further check the issue, could you provide the complete request 
> 
>  and response 
> 
>  logs 
> with request ID 
> 
>  and request header 
> 
>  generated 
> on your end without redacted fields?
>
> You can provide it via *Reply privately to author* option. If this option 
> is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
> Regards, 
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2aqzGG: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/76820724-ee8f-4170-954d-892f762ab156n%40googlegroups.com.


How to add images to a search ad group?

2022-05-09 Thread lezhne...@gmail.com
According to this document, it is possible to add images to search ad group 
to enrich the 
ads: https://support.google.com/google-ads/answer/9566341?hl=en

Can you show an example of how to use APIs to do so? O could not find a way.

I tried to use "AdGroupAssets" but that failed, see my error log:

Request
---
Method Name: 
/google.ads.googleads.v10.services.AdGroupAssetService/MutateAdGroupAssets
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/8.1.3 gccl\/14.0.0 gapic\/14.0.0 
gax\/1.7.0 grpc\/1.44.0",
"x-goog-request-params": "customer_id=",
"developer-token": "REDACTED"
}
Request: 
{"customerId":"","operations":[{"create":{"adGroup":"customers/
/adGroups/136095741963","asset":"customers/
/assets/12360514046","fieldType":"SQUARE_MARKETING_IMAGE"}},{"create":{"adGroup":"customers/

/adGroups/136095741963","asset":"customers/1926380188/assets/12363615942","fieldType":"SQUARE_MARKETING_IMAGE"}},{"create":{"adGroup":"customers/
/adGroups/136095741963","asset":"customers/
/assets/12363620082","fieldType":"MARKETING_IMAGE"}}]}

Response
---
Headers: {
"request-id": "xaUKOsYsF9-tkFeomyp4-w",
"date": "Mon, 09 May 2022 12:30:03 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; 
ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; 
ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; 
v=\"46,43\""
}

Fault
---
Status code: 3
Details: Request contains an invalid argument.
Failure: 
{"errors":[{"errorCode":{"assetLinkError":"UNSUPPORTED_FIELD_TYPE"},"message":"The
 
given field type is not supported to be added directly via asset 
links.","trigger":{"stringValue":"SQUARE_MARKETING_IMAGE"},"location":{"fieldPathElements":[{"fieldName":"operations","index":0},{"fieldName":"create"},{"fieldName":"field_type"}]}},{"errorCode":{"assetLinkError":"UNSUPPORTED_FIELD_TYPE"},"message":"The
 
given field type is not supported to be added directly via asset 
links.","trigger":{"stringValue":"SQUARE_MARKETING_IMAGE"},"location":{"fieldPathElements":[{"fieldName":"operations","index":1},{"fieldName":"create"},{"fieldName":"field_type"}]}},{"errorCode":{"assetLinkError":"UNSUPPORTED_FIELD_TYPE"},"message":"The
 
given field type is not supported to be added directly via asset 
links.","trigger":{"stringValue":"MARKETING_IMAGE"},"location":{"fieldPathElements":[{"fieldName":"operations","index":2},{"fieldName":"create"},{"fieldName":"field_type"}]}}],"requestId":"xaUKOsYsF9-tkFeomyp4-w"}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/60b05117-e48c-4690-8c3b-b163230cd84cn%40googlegroups.com.


Re: Sharing user lists

2022-03-28 Thread lezhne...@gmail.com
I found there is this data structure AccessReason under UserList data 
structure, but no docs explain how to use it.

On Monday, 28 March 2022 at 15:18:11 UTC+5 lezhne...@gmail.com wrote:

> Hey! 
> Can you help me understand how to share an existing customer list to other 
> ad accounts via API?
>
> Some context:
> 1. Since to upload a list the ad account must be white listed (it must 
> meet certain criterias)
> 2. So what we do is we push lists to our whitelisted MCC and then share it 
> with other ad accounts.
>
> Thanks a lot!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/565a8053-a459-40e7-94eb-68c53afad441n%40googlegroups.com.


Sharing user lists

2022-03-28 Thread lezhne...@gmail.com
Hey! 
Can you help me understand how to share an existing customer list to other 
ad accounts via API?

Some context:
1. Since to upload a list the ad account must be white listed (it must meet 
certain criterias)
2. So what we do is we push lists to our whitelisted MCC and then share it 
with other ad accounts.

Thanks a lot!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f5f98fdf-4cad-44b6-a4b2-151037d71dafn%40googlegroups.com.


How test if account is cancelled (suspended)?

2021-09-17 Thread lezhne...@gmail.com
Hey! Is there a way to test a given account if it is live or cancelled 
(suspended)? 
Say we have a program where we keep ad account ids long term, how do we 
know that some of them were cancelled? As I understand when account gets 
suspended it invalidates any access tokens that used to be good so trying 
to send a request ends up with a generic error like "invalid_grant".
Thanks a lot for guidance in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/115f3f60-d441-4c0b-a542-85339542a9b3n%40googlegroups.com.


Age report missing data

2021-06-21 Thread lezhne...@gmail.com
Hello! 

I am comparing the two reports:
- one the total campaign report
- and the other one that segments data by age groups

Age report contains a small fraction of data compared to campaign report. 
In my case around ~800 impressions in campaign report compared to ~20 in 
age report.
Can you tell why it happens? 

I am providing the GQL that I am using to make reports:

*Campaign report:*
SELECT 

metrics.impressions,
metrics.clicks,
metrics.cost_micros,
metrics.conversions,

segments.date,
customer.currency_code

FROM campaign

WHERE campaign.status IN ('ENABLED','PAUSED','REMOVED')
AND segments.date BETWEEN %s AND %s 
AND campaign.resource_name = '%s'

*Age report:*
SELECT 

metrics.impressions,
metrics.clicks,
metrics.cost_micros,
metrics.conversions,

segments.date,
customer.currency_code,
ad_group_criterion.age_range.type

FROM age_range_view
WHERE 
segments.date BETWEEN %s AND %s AND 
campaign.resource_name IN ('%s')

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dd3175d2-fd09-4d51-b83f-3a5c11b86d71n%40googlegroups.com.


Re: Got FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING when force age range at a campaign level

2021-05-21 Thread lezhne...@gmail.com
Thank you, Xiaoming!

On Thursday, 20 May 2021 at 23:51:27 UTC+5 adsapiforumadvisor wrote:

> Hi Dmitriy,
>
> Thank you for reaching out. Yes, the age ranges could only be applied as 
> negative criteria on the campaign level as you could see from this table 
> 
> .
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>  
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2HCKI9: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/888309f0-d45b-4ff0-bc10-190bda9061f6n%40googlegroups.com.


Got FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING when force age range at a campaign level

2021-05-20 Thread lezhne...@gmail.com
Hi! 
I am putting a CampaignCriterion with a positive age range. However API 
returns `FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING`. Does this mean that 
age ranges are only meant to be excluded (like negative keywords) at a 
campaign level?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dee397b4-327a-4b76-8b0e-e20e04151522n%40googlegroups.com.