Re: Problems with event API & marketing API

2022-11-24 Thread keji dianfei

Thank you for your prompt reply!
I tried this method before asking the question, but the data pulled by this 
method did not match the data I saw in google ads.

How do I pull the total spending at the ad level? In fact, if I see the 
total expenditure of the ad level, I can calculate the ad series on my own
在2022年11月24日星期四 UTC+8 18:48:43 写道:

> Hi Keji,
>
> Thank you for getting back to us. I hope that you are doing well today.
>
> To get the total spend of your campaigns and ad_groups, you may use the 
> campaign 
>  report 
> and ad_group 
>  report. 
> And you may include the metrics.cost_micros 
> 
>  to 
> get the total spend of your campaigns and ad_group. You may check this 
> guide 
>  on 
> how to execute a report. You may try the query below to get the total spend 
> of the campaigns: 
>
>- {query: "SELECT campaign.id, campaign.name, campaign.resource_name, 
>metrics.cost_micros FROM campaign", 
>"summaryRowSetting":"SUMMARY_ROW_WITH_RESULTS"} 
>
> Please let us know if this works for you, and if not, please provide us 
> the full screenshot of the UI, where you can see the actual report that you 
> want to fetch using the API. You can provide it via Reply privately to the 
> author option. If this option is not available, then send it instead on 
> this email address *googleadsa...@google.com*.
>
>
> Kind regards, 
> [image: Google Logo] 
> Sherwin Vincent 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2gQJyU: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/b83c0457-14e1-460c-a7d4-63ff20a4ead2n%40googlegroups.com.


Re: Problems with event API & marketing API

2022-11-24 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Keji,

Thank you for getting back to us. I hope that you are doing well today.

To get the total spend of your campaigns and ad_groups, you may use the 
campaign report and ad_group report. And you may include the 
metrics.cost_micros to get the total spend of your campaigns and ad_group. You 
may check this guide on how to execute a report. You may try the query below to 
get the total spend of the campaigns:

{query: "SELECT campaign.id, campaign.name, campaign.resource_name, 
metrics.cost_micros FROM campaign", 
"summaryRowSetting":"SUMMARY_ROW_WITH_RESULTS"}

Please let us know if this works for you, and if not, please provide us the 
full screenshot of the UI, where you can see the actual report that you want to 
fetch using the API. You can provide it via Reply privately to the author 
option. If this option is not available, then send it instead on this email 
address googleadsapi-supp...@google.com.

Kind regards,

Sherwin Vincent
Google Ads API Team
ref:_00D1U1174p._5004Q2gQJyU: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/uR00G0RLUM0M00CfrQZ0f2QiyXb0V4WEVffw%40sfdc.net.


Re: Problems with event API & marketing API

2022-11-24 Thread keji dianfei
Excuse me again, I want to get the total spend of all campaigns and ad 
groups under my ad account, but I need help finding the corresponding 
parameters in the parameter list.
在2022年11月22日星期二 UTC+8 18:36:54 写道:

> Hi Keji,
>
> Thank you for getting back to us. I am Sherwin from Google Ads API and I 
> work with Peter. I hope that you are doing well today.
>
> Moving forward to your concerns, to answer your questions in general, you 
> may use the BatchJobService 
> 
>  which executes 
> all operations in a job with partial failure enabled. You may also use the 
> AdOperation 
>  
> to 
> update the template 
> .
>  
> For the ad review, behavior would be the same if updating via Ads UI. In 
> addition you may able to update the tracking templates at the account level 
> as well.
>
> Kind regards, 
> [image: Google Logo] 
> Sherwin Vincent 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2gQJyU: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/b7956c50-f3a2-42f5-8e7d-9177d4900e6cn%40googlegroups.com.


Re: Problems with event API & marketing API

2022-11-22 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Keji,

Thank you for getting back to us. I am Sherwin from Google Ads API and I work 
with Peter. I hope that you are doing well today.

Moving forward to your concerns, to answer your questions in general, you may 
use the BatchJobService which executes all operations in a job with partial 
failure enabled. You may also use the AdOperation to update the template. For 
the ad review, behavior would be the same if updating via Ads UI. In addition 
you may able to update the tracking templates at the account level as well.

Kind regards,

Sherwin Vincent
Google Ads API Team
ref:_00D1U1174p._5004Q2gQJyU: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/bIboq0RLQW51002ngeHnUoStypZ_miQkNWng%40sfdc.net.


Re: Problems with event API & marketing API

2022-11-22 Thread keji dianfei
Thanks. I want to ask if I modify the tracking template of my ads in bulk 
through the API during ad placement, will it trigger the ad review? Will it 
have an impact on the effectiveness of my ad placement?
What if I modify the tracking templates at the account level?

在2022年11月18日星期五 UTC+8 23:27:58 写道:

> Hi,
>
> Thank you for reaching out to our API support team.
>
> Uploading conversions (ex. with GCLID data 
> )
>  
> will need to be performed using production accounts. Uploading to test 
> accounts is unfortunately not supported.
>
> As for account level tracking templates, this guide 
> 
>  
> states that using tracking templates at the customer level is supported. 
> That said, you may use the CustomerService's
> create 
> 
>  
> method and indicate in the Customer 
>  
> resource the template value in the tracking_url_template 
> 
>  
> attribute.
>
> If the customer already exists, you can use the mutate 
> 
>  
> method instead and the update 
> 
>  
> operation to update the above mentioned attribute. I hope this helps.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2gQJyU: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/d8c7cfb4-5107-46a0-99a2-927ca13efef4n%40googlegroups.com.


Problems with event API & marketing API

2022-11-18 Thread keji dianfei
Hi, I have two questions about the API.
The first one is about the event API, and I want to implement the data 
upload back by way of event API for my standalone site.
When testing, I found that no valid Gclid could not achieve the test. Is 
there any official test method I can use to test if the API is successful?
(I have read GA's documentation and didn't find a good way)
If not, I can only test the data by real ad placement.
Also, is there an official marketing API interface that can modify the 
account-level tracking template? If so, can you provide a link to the 
documentation? Thank you very much!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/17ab8fb1-d359-4139-bc9e-97db194ddcc2n%40googlegroups.com.