We are attempting to migrate our code from the AdWords API to the Google Ads API.
When fetching campaigns from certain accounts, the start/end dates are off by one day. (ex: AdWords: 2018-02-27, Google Ads: 2018-02-28). Is there a known issue? Is this an expected behavior in certain scenarios? AdWords API Soap Request: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <ns1:RequestHeader soapenv:mustUnderstand="0" xmlns:ns1= "https://adwords.google.com/api/adwords/cm/v201809"> <ns1:clientCustomerId>9435072956</ns1:clientCustomerId> ... </ns1:RequestHeader> </soapenv:Header> <soapenv:Body> <get xmlns="https://adwords.google.com/api/adwords/cm/v201809"> <serviceSelector> <fields>Id</fields> ... <fields>StartDate</fields> <fields>EndDate</fields> ... <predicates> <field>Id</field> <operator>EQUALS</operator> <values>1071031592</values> </predicates> ... </serviceSelector> </get> </soapenv:Body> </soapenv:Envelope> Soap Response: <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809"> <requestId>00059581d5c21d7e0a37dc01f400a7d1</requestId> <serviceName>CampaignService</serviceName> <methodName>get</methodName> <operations>1</operations> <responseTime>221</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201809"> <rval> <totalNumEntries>1</totalNumEntries> <Page.Type>CampaignPage</Page.Type> <entries> <id>1071031592</id> ... <startDate>20180227</startDate> <endDate>20371230</endDate> ... <advertisingChannelType>SEARCH</advertisingChannelType> ... </entries> </rval> </getResponse> </soap:Body> </soap:Envelope> Google Ads API SUCCESS REQUEST DETAIL. Request ------- MethodName: google.ads.googleads.v2.services.GoogleAdsService/Search Endpoint: googleads.googleapis.com:443 Headers: {developer-token=REDACTED, login-customer-id=8229981276, x-goog-api -client=gl-java/1.8.0_181 gapic/ gax/1.45.0 grpc/1.21.0} Body: customer_id: "9435072956" query: "SELECT campaign.advertising_channel_sub_type,campaign.advertising_channel_type,campaign.end_date,campaign.final_url_suffix,campaign.id,campaign.name,campaign.serving_status,campaign.start_date,campaign.status,campaign.tracking_url_template,campaign.url_custom_parameters,campaign.manual_cpc.enhanced_cpc_enabled,campaign.target_cpa.target_cpa_micros,campaign.target_spend.cpc_bid_ceiling_micros,campaign.target_roas.target_roas,campaign.geo_target_type_setting.negative_geo_target_type,campaign.geo_target_type_setting.positive_geo_target_type,campaign.real_time_bidding_setting.opt_in,campaign.dynamic_search_ads_setting.domain_name,campaign.dynamic_search_ads_setting.language_code,campaign.tracking_setting.tracking_url,campaign.shopping_setting.merchant_id,campaign.shopping_setting.sales_country,campaign.shopping_setting.campaign_priority,campaign.shopping_setting.enable_local,campaign.bidding_strategy,campaign.bidding_strategy_type,campaign.frequency_caps,campaign_budget.id,campaign_budget.name,campaign_budget.amount_micros,campaign_budget.delivery_method,campaign_budget.reference_count,campaign_budget.explicitly_shared,campaign_budget.status,campaign.network_settings.target_google_search,campaign.network_settings.target_search_network,campaign.network_settings.target_content_network,campaign.network_settings.target_partner_search_network,campaign.experiment_type FROM campaign WHERE campaign.id IN (1071031592) AND campaign.status IN (ENABLED,PAUSED,REMOVED) AND campaign.advertising_channel_type IN (DISPLAY,SEARCH,SHOPPING) AND campaign.experiment_type IN (BASE)" page_size: 10000 Response -------- Headers: Metadata(content-disposition=attachment,content-type=application/ grpc,request-id=fl2mFQ_-FB6yrQP4mAPJEw,date=Tue, 22 Oct 2019 15:56:14 GMT, alt-svc=quic=":443"; ma=2592000; v="46,43",h3-Q048=":443"; ma=2592000,h3- Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000) Body: results { campaign { resource_name: "customers/9435072956/campaigns/1071031592" id { value: 1071031592 } ... advertising_channel_type: SEARCH ... start_date { value: "2018-02-28" } end_date { value: "2037-12-30" } ... } ... } total_results_count: 1 field_mask { paths: "campaign.advertising_channel_sub_type" paths: "campaign.advertising_channel_type" paths: "campaign.end_date" paths: "campaign.final_url_suffix" paths: "campaign.id" paths: "campaign.name" paths: "campaign.serving_status" paths: "campaign.start_date" paths: "campaign.status" paths: "campaign.tracking_url_template" paths: "campaign.url_custom_parameters" paths: "campaign.manual_cpc.enhanced_cpc_enabled" paths: "campaign.target_cpa.target_cpa_micros" paths: "campaign.target_spend.cpc_bid_ceiling_micros" paths: "campaign.target_roas.target_roas" paths: "campaign.geo_target_type_setting.negative_geo_target_type" paths: "campaign.geo_target_type_setting.positive_geo_target_type" paths: "campaign.real_time_bidding_setting.opt_in" paths: "campaign.dynamic_search_ads_setting.domain_name" paths: "campaign.dynamic_search_ads_setting.language_code" paths: "campaign.tracking_setting.tracking_url" paths: "campaign.shopping_setting.merchant_id" paths: "campaign.shopping_setting.sales_country" paths: "campaign.shopping_setting.campaign_priority" paths: "campaign.shopping_setting.enable_local" paths: "campaign.bidding_strategy" paths: "campaign.bidding_strategy_type" paths: "campaign.frequency_caps" paths: "campaign_budget.id" paths: "campaign_budget.name" paths: "campaign_budget.amount_micros" paths: "campaign_budget.delivery_method" paths: "campaign_budget.reference_count" paths: "campaign_budget.explicitly_shared" paths: "campaign_budget.status" paths: "campaign.network_settings.target_google_search" paths: "campaign.network_settings.target_search_network" paths: "campaign.network_settings.target_content_network" paths: "campaign.network_settings.target_partner_search_network" paths: "campaign.experiment_type" } Failure message: null Status: Status{code=OK, description=null, cause=null}. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/fc2ab245-0bcb-4c57-ac9b-28a3d7dfe5a2%40googlegroups.com.