Close httplib2 connections.
get(merchantId, x__xgafv=None)
Retrieves the status and review eligibility for the Shopping Ads program.
requestreview(merchantId, body=None, x__xgafv=None)
Requests a review for Shopping Ads program in the provided country.
close()
Close httplib2 connections.
get(merchantId, x__xgafv=None)
Retrieves the status and review eligibility for the Shopping Ads program. Args: merchantId: string, Required. The ID of the account. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for GetShoppingAdsProgramStatus. "globalState": "A String", # State of the program, It is set to enabled if there are offers for at least one region. "regionStatuses": [ # Status of the program in each region. Regions with the same status and review eligibility are grouped together in `regionCodes`. { # Status of program and region. "disapprovalDate": "A String", # Date by which `eligibility_status` will go from `WARNING` to `DISAPPROVED`. It will be present when `eligibility_status` is `WARNING`. Date will be provided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: YYYY-MM-DD "eligibilityStatus": "A String", # Eligibility status of the Shopping Ads program. "onboardingIssues": [ # These issues must be fixed to become eligible for the review. "A String", ], "regionCodes": [ # The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) codes for all the regions with the same `eligibilityStatus` and `reviewEligibility`. "A String", ], "reviewEligibilityStatus": "A String", # If a program in a given country is eligible for review. It will be present only if eligibility status is `DISAPPROVED`. "reviewIneligibilityReason": "A String", # Review ineligibility reason if account is not eligible for review. "reviewIneligibilityReasonDescription": "A String", # Reason if a program in a given country is not eligible for review. Populated only if `review_eligibility_status` is `INELIGIBLE`. "reviewIneligibilityReasonDetails": { # Additional details for review ineligibility reasons. # This contains additional information specific to review ineligibility reasons. If review is ineligible because of `IN_COOLDOWN_PERIOD`, it will contain timestamp for cooldown period. "cooldownTime": "A String", # This timestamp represents end of cooldown period for review ineligbility reason `IN_COOLDOWN_PERIOD`. }, "reviewIssues": [ # These issues will be evaluated in review process. Fix all the issues before requesting the review. "A String", ], }, ], }
requestreview(merchantId, body=None, x__xgafv=None)
Requests a review for Shopping Ads program in the provided country. Args: merchantId: string, Required. The ID of the account. (required) body: object, The request body. The object takes the form of: { # Request message for the RequestReviewShoppingAds program method. "regionCode": "A String", # The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which review is to be requested. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format