Hello,

I am using V6 ads api.

I am trying to download change history data using change status and change 
event request.

I have attached log file of my request and also you will be able to see my 
customerID.

I have removed one adgroup but api response showing as a CHANGE status only 
not removed.

As per this link 
: 
https://developers.google.com/google-ads/api/reference/rpc/v6/ChangeStatusOperationEnum.ChangeStatusOperation

Change status should come as REMOVED.

Could you please check attached log file and let me know that it will come 
as REMOVED or Not?

If you have any solution to identify REMOVED status for adgroup then please 
suggest.

For Keyword I am already getting REMOVED in change history but not for 
adgroup.. any specific reason? please help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d35966a1-7384-4ea2-85f4-8a2f75eadaf8n%40googlegroups.com.
[2021-01-24T10:45:49.136781+00:00] google-ads.INFO: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v6.services.GoogleAdsService/Search", CustomerId: 
1255040287, RequestId: "HcQolT-GYN5q9fpTH1X2nw", IsFault: 0, FaultMessage: 
"None"  
[2021-01-24T10:45:49.147579+00:00] google-ads.DEBUG: Request
-------
Method Name: /google.ads.googleads.v6.services.GoogleAdsService/Search
Host: googleads.googleapis.com
Headers: {
    "x-goog-api-client": "gl-php\/7.3.21 gapic\/ gax\/1.7.0 grpc\/1.34.0",
    "x-goog-request-params": "customer_id=1255040287",
    "developer-token": "REDACTED"
}
Request: 
{"customerId":"1255040287","query":"SELECT change_status.resource_name, 
change_status.last_change_date_time, change_status.resource_status, 
change_status.resource_type, change_status.ad_group, change_status.ad_group_ad, 
change_status.ad_group_bid_modifier, change_status.ad_group_criterion, 
change_status.ad_group_feed, change_status.campaign, 
change_status.campaign_criterion, change_status.campaign_feed, 
change_status.feed, change_status.feed_item FROM change_status WHERE 
change_status.last_change_date_time >= \"2021-01-24 10:21:05\" AND 
change_status.last_change_date_time < \"2021-01-24 10:22:06\" ORDER BY 
change_status.last_change_date_time LIMIT 10000","pageSize":1000}

Response
-------
Headers: {
    "content-disposition": "attachment",
    "request-id": "HcQolT-GYN5q9fpTH1X2nw",
    "date": "Sun, 24 Jan 2021 10:45:49 GMT",
    "alt-svc": "h3-29=\":443\"; ma=2592000,h3-T051=\":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\""
}
Response: 
{"results":[{"changeStatus":{"resourceName":"customers\/1255040287\/changeStatus\/1611463925504031-2-1357690316-54661562856","lastChangeDateTime":"2021-01-24
 
10:22:05.504031","resourceType":"AD_GROUP","campaign":"customers\/1255040287\/campaigns\/1357690316","adGroup":"customers\/1255040287\/adGroups\/54661562856","resourceStatus":"CHANGED"}}],"fieldMask":"changeStatus.resourceName,changeStatus.lastChangeDateTime,changeStatus.resourceStatus,changeStatus.resourceType,changeStatus.adGroup,changeStatus.adGroupAd,changeStatus.adGroupBidModifier,changeStatus.adGroupCriterion,changeStatus.adGroupFeed,changeStatus.campaign,changeStatus.campaignCriterion,changeStatus.campaignFeed,changeStatus.feed,changeStatus.feedItem"}
  

Reply via email to