RE: Campaign metrics adjustments

2023-03-29 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Vitalii,

Thank you for reaching out to Google Ads API Forum.

I want to know if there are any header or something like that, which will show 
me that resource was\was not changed?
>> Moving forward with your concern, there is no flag that functions like this 
>> in Google Ads API. For your reference, you may refer below guides regarding 
>> API call structure.

Resource Metadata
API Call Structure


Let us know if you have further questions related to Google Ads API.

Regards,

Google Ads API Team
ref:_00D1U1174p._5004Q2kCx5R: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/Hu7GL0RSAYA600FR_L0LuyTuKMqxSOSibc1w%40sfdc.net.


Campaign metrics adjustments

2023-03-29 Thread Vitalii Mamontov
Hi!

I am working on retrieving information about campaign metrics (cpc, ctr, 
clicks...) and I want to know if there are any header or something like 
that, which will show me that resource was\was not changed?

I send this request:
https://googleads.googleapis.com/v12/customers/7864943450/googleAds:searchStream
 

With body:

{
"query": "SELECT segments.date, campaign.start_date, campaign.end_date, 
customer.id,  
campaign.name, customer.currency_code, campaign.id, 
campaign.advertising_channel_type,  
campaign.status, metrics.average_cpc, metrics.average_cost,  
campaign.manual_cpm, metrics.impressions, metrics.clicks, 
campaign_budget.amount_micros  
FROM campaign WHERE campaign.name = 'kryladnepr.dp.ua' AND  
segments.date >= '2017-02-14' AND segments.date <= '2022-02-13'"
} If there are any flags or headers in Google Ads API, which will say that. 
if I send this request again that the data was\was not changed. In Facebook 
Graph API we use ETag, like *If-None-Match* to perform this operation. 
Best regards,
Vitalii Mamontov
Developer @ Creatio

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8e8fba61-1085-4750-8c1e-9eb70fb16475n%40googlegroups.com.